Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
22216 Discussions

Crash loading pixel shader with class linkage

San_S_
Beginner
2,221 Views

System Setup Information:
-----------------------------------------

System Used: Telestream Wirecast Gear
CPU SKU: i7 6700K
GPU SKU: HD Graphics 530 (But also happens on HD 4600 and HD 5000)
Processor Line: N/A
System BIOS Version: American Megatrends Inc., F6, 10/26/2015
CMOS settings: N/A
Graphics Driver Version: 21.20.16.6446
GOP/VBIOS Version: 1028.0
Operating System: Windows 10
OS Version: 10.0.14393 Build 14393
API: N/A
Occurs on non-Intel GPUs?: No (Works perfectly fine on AMD Radeon Pro 455 and Nvidia GT 750M and GTX 980Ti)

Steps to Reproduce:
-------------------------------
1. Build and Run attached App
2. You should get the crash immediately

Expected Results:
-------------------------------

Single window opens up with a image that has a Hue shift applied

Actual Results:
-------------------------------

Crashes trying to load the Pixel Shader

Additional Information:
-------------------------------

When a pixel shader is utilizing class linkages to sample color, any additional arithmetic operation on the sampled color appears to cause the CreatePixelShader call to throw an exception.  In the attached example, I use class linkage to be able to dynamically swap samplers for different color spaces and then apply a hue shift to the output color.

Crash stack trace:

  igc64.dll!00007ffcb88d293e()

Unknown

  igc64.dll!00007ffcb8bdcb65()

Unknown

  igc64.dll!00007ffcb8c13835()

Unknown

  igc64.dll!00007ffcb8c115e0()

Unknown

  igc64.dll!00007ffcb8aec659()

Unknown

  igc64.dll!00007ffcb8aece8f()

Unknown

  igc64.dll!00007ffcb8cc60a6()

Unknown

  igc64.dll!00007ffcb8cc61ff()

Unknown

  igc64.dll!00007ffcb8cc646a()

Unknown

  igc64.dll!00007ffcb8cc5b81()

Unknown

  igc64.dll!00007ffcb87f47e2()

Unknown

  igc64.dll!00007ffcb87057a1()

Unknown

  igc64.dll!00007ffcb87071eb()

Unknown

  igd10iumd64.dll!00007ffcb9f83ba1()

Unknown

  d3d11.dll!00007ffcbbd47555()

Unknown

  d3d11.dll!00007ffcbbd4c174()

Unknown

  d3d11.dll!00007ffcbbd6dd18()

Unknown

  d3d11.dll!00007ffcbbd34f2b()

Unknown

  d3d11.dll!00007ffcbbd59aae()

Unknown

  d3d11_3SDKLayers.dll!00007ffc7bc5adbf()

Unknown

  d3d11_3SDKLayers.dll!00007ffc7bc47eff()

Unknown

  d3d11_3SDKLayers.dll!00007ffc7bc06957()

Unknown

  d3d11.dll!00007ffcbbdbd944()

Unknown

  d3d11.dll!00007ffcbbd398cc()

Unknown

  d3d11.dll!00007ffcbbd42826()

Unknown

  d3d11.dll!00007ffcbbd3eb08()

Unknown

  d3d11_3SDKLayers.dll!00007ffc7bc32970()

Unknown

> BlankWindow.exe!TextureDemo::LoadContent() Line 67

C++

  BlankWindow.exe!Dx11DemoBase::Initialize(HINSTANCE__ * h_instance, HWND__ * hwnd) Line 121

C++

  BlankWindow.exe!wWinMain(HINSTANCE__ * h_instance, HINSTANCE__ * prev_instance, wchar_t * cmd_line, int cmd_show) Line 42

C++

  [External Code]

0 Kudos
5 Replies
Michael_C_Intel2
Employee
2,221 Views

Hi,

Thanks for the extra details and code samples to reproduce the issue. I have it reported and we will investigate. I will update when I learn more. 

0 Kudos
San_S_
Beginner
2,221 Views

Interesting, we never tested on an Intel HD 5500.  Do you have an Intel HD 5000, 4600, or 530?  Those are the chips that we reproduced this crash on.

0 Kudos
San_S_
Beginner
2,221 Views

Checking in on the status of this issue?

0 Kudos
Michael_C_Intel2
Employee
2,221 Views

Hi,

Still investigating. We successfully reproduced the crash and our analyzing the memory dump as we look for the root cause. 

0 Kudos
Michael_C_Intel2
Employee
2,221 Views

Hi,

The fix for this issue is in 15.46.05.4771  which will post 8/25 or 8/28 at the latest. 

-Michael

0 Kudos
Reply