- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
-------------------------------
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any workaround for this? It works fine on nvidia hardware!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will this problem be ignored? So with Intel, I will not be able to pass an image2D to a function?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page