From: Dave Airlie Date: Thu, 12 Aug 2010 06:32:19 +0000 (+1000) Subject: r600g: fix typo in stencil translate. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=582129ced65e0a71478a8e75e00397037c4826d8;p=mesa.git r600g: fix typo in stencil translate. fixes piglit stencil-twoside and stencil-wrap --- 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: