3 Replies Latest reply on Feb 8, 2016 4:23 AM by Andrey2007AMD

    AMD ShadowFX sample is hangs on Intel HD 4000 GPU

    Andrey2007AMD

      Hi all!

       

      Hi all! I'm try to use the ShadowFX from GPUOpen-Effects/ShadowFX - C++ - GitHub

       

      During debug on Visual Studio 2012 the sample is hangs on file

      ShadowFX\amd_shadowfx_sample\src\ShadowFX_Sample.cpp (line 1561):

       

      void CALLBACK OnD3D11DestroyDevice(void* pUserContext)

      {

      ...

          SAFE_RELEASE(g_pShadowMapPS);

      ...

      }

       

      Call Stack:

       

      ShadowFX_Sample_Debug_2012.exe!OnD3D11DestroyDevice(void * pUserContext=0x0000000000000000) Line 1561C++
      >ShadowFX_Sample_Debug_2012.exe!DXUTCleanup3DEnvironment(bool bReleaseSettings=false) Line 3014C++
      ShadowFX_Sample_Debug_2012.exe!DXUTChangeDevice(DXUTDeviceSettings * pNewDeviceSettings=0x0000000003387b30, bool bClipWindowToSingleAdapter=true) Line 1912C++
      ShadowFX_Sample_Debug_2012.exe!DXUTChangeDevice(DXUTDeviceSettings * pNewDeviceSettings=0x0000000000377390, bool bClipWindowToSingleAdapter=true) Line 2151C++
      ShadowFX_Sample_Debug_2012.exe!DXUTCreateDevice(D3D_FEATURE_LEVEL reqFL=D3D_FEATURE_LEVEL_11_0, bool bWindowed=true, int nSuggestedWidth=1920, int nSuggestedHeight=1080) Line 1704C++
      ShadowFX_Sample_Debug_2012.exe!wWinMain(HINSTANCE__ * hInstance=0x000000013f4a0000, HINSTANCE__ * hPrevInstance=0x0000000000000000, wchar_t * lpCmdLine=0x0000000000306684, int nCmdShow=10) Line 375C++

       

      Also it happens on the Release configuration.