mesa: ensure UsesFogFragCoord value is set for non-glsl shaders
authorKeith Whitwell <keithw@vmware.com>
Thu, 2 Jul 2009 10:28:56 +0000 (11:28 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 2 Jul 2009 10:28:56 +0000 (11:28 +0100)
commitb3e8e1cd4c1584f735e35914861ae2e8ae5b6b2b
treef3d95e61071c5ab50cc461b3cc86f7ad7ec06554
parent578230dbbffbf5317d6002d1023dcd62b57186f5
mesa: ensure UsesFogFragCoord value is set for non-glsl shaders

With recent changes to support frontfacing in glsl, it is necessary
to ensure that the UsesFogFragCoord value is accurate in all shaders.
We were previously not setting it for fixed-function and ARB_fs shaders.
src/mesa/shader/arbprogparse.c
src/mesa/shader/programopt.c