Skip to content

glsl-1.10: fix glsl-fs-conditional-output-write test

Here we make sure gl_FragColor.x is always given a value. Otherwise the if (b) check, the coord uniform etc can all be optimised away because gl_FragColor.x can simply always be set to 1.0 as anything else is undefined.

Merge request reports