Mesa (master): r600g: fix typo in stencil translate.
Dave Airlie
airlied at kemper.freedesktop.org
Thu Aug 12 06:32:41 UTC 2010
Module: Mesa
Branch: master
Commit: 582129ced65e0a71478a8e75e00397037c4826d8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=582129ced65e0a71478a8e75e00397037c4826d8
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Aug 12 16:32:19 2010 +1000
r600g: fix typo in stencil translate.
fixes piglit stencil-twoside and stencil-wrap
---
src/gallium/drivers/r600/r600_state_inlines.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_state_inlines.h b/src/gallium/drivers/r600/r600_state_inlines.h
index 060a27c..f93c20d 100644
--- a/src/gallium/drivers/r600/r600_state_inlines.h
+++ b/src/gallium/drivers/r600/r600_state_inlines.h
@@ -110,7 +110,7 @@ static INLINE uint32_t r600_translate_stencil_op(int s_op)
case PIPE_STENCIL_OP_DECR:
return V_028800_STENCIL_DECR;
case PIPE_STENCIL_OP_INCR_WRAP:
- return V_028800_STENCIL_INVERT;
+ return V_028800_STENCIL_INCR_WRAP;
case PIPE_STENCIL_OP_DECR_WRAP:
return V_028800_STENCIL_DECR_WRAP;
case PIPE_STENCIL_OP_INVERT:
More information about the mesa-commit
mailing list