This minimal GLSL example fails to build:
#version 430 core
in vec3 coords;
out float out_value;
uniform sampler2DShadow tex;
void main() {
precise float tmp_value = vec4(texture(tex, coords)).x;
out_value = tmp_value;
}
The output error is:
(0) : fatal error C9999: unexpected expression in DUI_foreachId
Removing the vec4(…).x bypasses the issue; but I can’t really do that when the code that found this bug is decompiled (generated at runtime).