google / graphicsfuzz

A testing framework for automatically finding and simplifying bugs in graphics shader compilers.
Apache License 2.0
561 stars 117 forks source link

Apply floor() to gl_FragCoord #1169

Open jarisiru opened 2 years ago

jarisiru commented 2 years ago

This change applies floor() to the uses of gl_FragCoord in order to eliminate the potential ambiguity of having 0.5 in the source values. This should improve the stability of the shaders in fuzzing.