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

GLSL 4.3 parser bug on windows

simon_d_
Beginner
1,005 Views

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

CPU SKU: i5-4200U
GPU SKU: HD4400
Processor Line: U
System BIOS Version: NA
CMOS settings: NA
Graphics Driver Version: 20.19.15.4531
GOP/VBIOS Version: NA
Operating System: Windows 10
OS Version: 1607
API: OpenGL
Occurs on non-Intel GPUs?: No

Steps to Reproduce:
-------------------------------
Compile this shader:

#version 430
layout (local_size_x = 16, local_size_y = 16) in;

//1) Fails: needs layout qualifier for imageLoad
vec4 func1(restrict image2D a){
    return imageLoad(a, ivec2(1, 1));
}
// works, but doesn't seem to be officially supported by the specs:
vec4 func2(layout(rgba32f) restrict image2D a, float b){
    return imageLoad(a, ivec2(1, 1));
}
// Fails: syntax error around `a, Test b`
struct Test{
    float b;
}
vec4 func3(layout(rgba32f) restrict image2D a, Test b){
    return imageLoad(a, ivec2(1, 1));
}
layout(rgba32f) coherent uniform image2D img1;
void main(){
    // call any of the above
    func1(img1);
}

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

Pointed out in the comments

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

Parsing errors

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

0 Kudos
3 Replies
simon_d_
Beginner
1,005 Views

Is there any workaround for this? It works fine on nvidia hardware!

0 Kudos
simon_d_
Beginner
1,005 Views

Will this problem be ignored? So with Intel, I will not be able to pass an image2D to a function?

0 Kudos
Michael_C_Intel2
Employee
1,005 Views

Hi Simon,

I'm afraid no further driver releases are planned for the 15.36 and 15.40 branches that support the HD 4xxx products. 

-Michael

0 Kudos
Reply