diff options
author | Zack Rusin <[email protected]> | 2013-08-02 15:50:16 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-08-02 15:50:16 -0400 |
commit | 2d15f4746ba4c5d0146912550442b96386e4a32d (patch) | |
tree | d50353c32f7cdc7a76ee4abc892a2f2187c46f1c /src/gallium/auxiliary/rbug/rbug_proto.h | |
parent | 4f83956347a31c68ce9920ead75e07723cf3b5bb (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 'src/gallium/auxiliary/rbug/rbug_proto.h')
0 files changed, 0 insertions, 0 deletions