diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-18 09:30:13 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-18 09:30:15 -0600 |
commit | a1e7aeecc25cedbd54e43afa72a1a2926ae51a32 (patch) | |
tree | 65899858ce5d6b663e7003323bb80c8e922b8bb8 /src | |
parent | 3c0eab714816618314324ac02712fa59e5ed385a (diff) |
llvmpipe: set opaque = FALSE if stencil enabled
Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 2cecf7e097..921c51fbe8 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -1169,6 +1169,7 @@ llvmpipe_update_fs(struct llvmpipe_context *lp) opaque = !key.blend.logicop_enable && !key.blend.rt[0].blend_enable && key.blend.rt[0].colormask == 0xf && + !key.stencil[0].enabled && !key.alpha.enabled && !key.depth.enabled && !key.scissor && |