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

GLSL compiler fails to compile valid shader: "unary '-' not allowed for provided data type"

Alastair_D_1
Beginner
1,142 Views

The files associated with the bug are here:

https://github.com/mc-imperial/shader-compiler-bugs/tree/master/Intel-HD-Graphics-520-Windows/compile_errors/large-v440-1f1265b42fca6aab_inv_variant_12

 

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

System Used: Dell XPS
CPU SKU: i7
GPU SKU: HD 520
Processor Line: U-Series
System BIOS Version: Dell Inc. 1.0.0, 10/09/2015
CMOS settings: I can check on request
Graphics Driver Version: 20.19.15.4501
GOP/VBIOS Version: Intel Video BIOS
Operating System: Windows 10
OS Version: Pro
API: OpenGL
Occurs on non-Intel GPUs?: Haven't tried

Steps to Reproduce:
-------------------------------
1. Run the Intel GLSL compiler on variant_12_reduced_338_simplified.frag

Expected Results:
-------------------------------
The shader should compile successfully.

Actual Results:
-------------------------------
ERROR: 0:5: '' : unary '-' not allowed for provided data type
ERROR: 0:5: '' : unary '-' not allowed for provided data type

Additional Information:
-------------------------------
The shader is accepted by glslangValidator.

 

 

 

0 Kudos
3 Replies
Michael_C_Intel2
Employee
1,142 Views

Hi Alastair,

Can you see if the issue reproduces on this new driver? 

https://downloadcenter.intel.com/download/26404/Intel-Graphics-Driver-15-45-

-Michael

0 Kudos
Alastair_D_1
Beginner
1,142 Views

This is fixed in the new driver.  And I also realised that this is a duplicate of another issue we filed previously, here:

https://software.intel.com/en-us/forums/developing-games-and-graphics-on-intel/topic/607206

So good that it's fixed now.

0 Kudos
Michael_C_Intel2
Employee
1,142 Views

Glad to know it is fixed now. 

0 Kudos
Reply