Skip to content

mesa: don't pass Infs to the shader via gl_Fog.scale

Marek Olšák requested to merge mareko/mesa:mesa-fogscale-inf into main

What does this MR do and why?

mesa: don't pass Infs to the shader via gl_Fog.scale

This is for GLSL versions where Infs are undefined.

It also helps piglit/glsl-fs-fogscale that breaks when we move the fragment shader code into the vertex shader across interpolation.

Merge request reports