- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I find that the following (valid) piece of GLSL is rejected by then Intel GLSL front-end:
#version 150
void foo() {
vec4 temp = -(mat3x4(0.0)*vec3(0.0));
}
I get this error:
ERROR: 0:4: '' : unary '-' not allowed for provided data type
Interestingly, if I rewrite the code like this:
#version 150
void foo() {
vec4 temp = (mat3x4(0.0)*vec3(0.0));
temp = -temp;
}
then it is accepted by the front end.
I have an Intel(R) HD Graphics 520 GPU, and I am running driver version 20.19.15.4326 (18/11/2015).
I have attached the example (as a .txt file).
I believe this is a bug - can you reproduce it?
Thanks
Ally
(Note: I also posted the issue here: https://communities.intel.com/message/368067 but was advised that this forum would be a more suitable place.)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alastair,
It is indeed the more suitable place for this. We have a ticket filed and the OpenGL driver team is investigating. I will update you with details once we have made some headway.
-Michael
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page