Shader_Minifier
Shader_Minifier copied to clipboard
Wrong operation in constant arithmetic
Input:
out vec4 O;
void main() {
O.r = (1.*487)/5;
}
Result: out vec4 m;void main(){m.x=97;}
Expected: something that evaluates to 97.4 (there is a related bug that neither 487./5 nor 487/5. is simplified. probably they can be solved together).