dri/nouveau: Add GL_EXT_stencil_wrap for nv04.
authorAndrew Randrianasulu <randrik@mail.ru>
Mon, 1 Mar 2010 23:58:17 +0000 (23:58 +0000)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 4 Mar 2010 22:07:11 +0000 (23:07 +0100)
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/nouveau/nv04_state_raster.c

index 89c6753694c752bec0177e06ba37151124865cc9..4314fc33cf493979efc228e6c68fbba95f9cf552 100644 (file)
@@ -71,6 +71,10 @@ get_stencil_op(unsigned op)
                return 0x5;
        case GL_INVERT:
                return 0x6;
+       case GL_INCR_WRAP:
+               return 0x7;
+       case GL_DECR_WRAP:
+               return 0x8;
        default:
                assert(0);
        }