Issue
I can't reproduce this reliably! Have had this happen at least 4-5 times now.
It usually does not happen.
void main(){
// code
float t = 0.;
// code
{ // some inner scope
// code
vec3 t = vec3(0);
// code
// usually fails if i use t here.
}
}
Last time this happened, the shader was compiling, but producing wrong result.
Preventing this
I have to actively avoid shadowing variables with same name in inner scopes.