Comment # 1
on bug 92999
from Christoph Brill
Created attachment 119919 [details]
Simple test program showing a shader compilation error
The shaders generated seem to be a source of the trouble. The compiler dislikes
the following part of the shader:
int bits = ...;
const uint mask = 0xFFFFFFFFu >> (32 - bits);
It complains:
"error: initializer of const variable `mask' must be a constant _expression_"
Attached is a simple test program to check for this error. Compile and link
using "g++ const_init.cpp -lGL -lSDL2 -lGLEW"
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel