summaryrefslogtreecommitdiffstats
path: root/include/EGL/eglmesaext.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-08-02 15:50:16 -0400
committerZack Rusin <[email protected]>2013-08-02 15:50:16 -0400
commit2d15f4746ba4c5d0146912550442b96386e4a32d (patch)
treed50353c32f7cdc7a76ee4abc892a2f2187c46f1c /include/EGL/eglmesaext.h
parent4f83956347a31c68ce9920ead75e07723cf3b5bb (diff)
llvmpipe: make the front-face behavior match the gallium spec
The spec says that front-face is true if the value is >0 and false if it's <0. To make sure that we follow the spec, lets just subtract 0.5 from our value (llvmpipe did 1 for frontface and 0 otherwise), which will get us a positive num for frontface and negative for backface. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'include/EGL/eglmesaext.h')
0 files changed, 0 insertions, 0 deletions