diff options
author | Dave Airlie <[email protected]> | 2010-08-12 16:32:19 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-08-12 16:32:19 +1000 |
commit | 582129ced65e0a71478a8e75e00397037c4826d8 (patch) | |
tree | c50f5a2c7a6ec5fa00a325ec2621f33f47d91ccd | |
parent | 13bc2098ca21be3d11176e558ca71e29e41a239f (diff) |
r600g: fix typo in stencil translate.
fixes piglit stencil-twoside and stencil-wrap
-rw-r--r-- | 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 060a27cd6f7..f93c20da35e 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: |