Implement gl_FrontFacing for fragment shaders.
authorBrian <brian@yutani.localnet.net>
Sat, 10 Mar 2007 18:30:19 +0000 (11:30 -0700)
committerBrian <brian@yutani.localnet.net>
Sat, 10 Mar 2007 18:30:19 +0000 (11:30 -0700)
commit10b5895597d5e069183cb647d17eb412effceb4f
tree326f17498a851a18ecbd0e517ad2d64da4cbb8b0
parent1fcb4ecc07685872c9c42569ba13faa1cad54d3c
Implement gl_FrontFacing for fragment shaders.

For the time being, we put the gl_FrontFacing value in the FOGC.Y input
register.  Combining FOGC and FrontFacing in one register is a bit of a
hack and may need to be changed someday.
src/mesa/shader/slang/slang_codegen.c
src/mesa/swrast/s_fragprog.c
src/mesa/swrast_setup/ss_triangle.c
src/mesa/swrast_setup/ss_tritmp.h