r600g: fix typo in stencil translate.

fixes piglit stencil-twoside and stencil-wrap
This commit is contained in:
Dave Airlie 2010-08-12 16:32:19 +10:00
parent 13bc2098ca
commit 582129ced6
1 changed files with 1 additions and 1 deletions

View File

@ -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: