diff options
author | Roland Scheidegger <[email protected]> | 2013-08-15 16:50:27 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-08-15 17:30:07 +0200 |
commit | abdd32dcd5569c7caa393acd21753e03de24047f (patch) | |
tree | cdb89dd06e252d73beb615dac355e1df8708866a /src/gallium/drivers/radeonsi/radeonsi_shader.c | |
parent | 7ae9cc71f097af5ae1f83f77f75de2198849faca (diff) |
llvmpipe: fix stencil bug if we have both stencil and depth tests
This is a very well hidden bug found by accident (only the fixed glean
tstencil2 test so far seems to hit it).
We must use new mask with combined s_pass values and orig_mask values
for zpass/zfail stencil ops, otherwise both the sfail op and one of
zpass/zfail op are applied (probably not hit in most tests because
some of the ops tend to be KEEP usually).
Note: this is a candidate for the 9.2 branch.
Reviewed-by: Zack Rusin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.c')
0 files changed, 0 insertions, 0 deletions