mesa: add support for FRAG_RESULT_STENCIL.
authorDave Airlie <airlied@redhat.com>
Tue, 5 Oct 2010 23:33:23 +0000 (09:33 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 12 Oct 2010 23:30:03 +0000 (09:30 +1000)
this is needed to add support for stencil shader export.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/mtypes.h

index aa9676665ff0d35f3c70630af490fbc2ba01ad3a..3609e2969e83e3a4564ceccf142d857ad2f81655 100644 (file)
@@ -380,8 +380,9 @@ typedef enum
 typedef enum
 {
    FRAG_RESULT_DEPTH = 0,
-   FRAG_RESULT_COLOR = 1,
-   FRAG_RESULT_DATA0 = 2,
+   FRAG_RESULT_STENCIL = 1,
+   FRAG_RESULT_COLOR = 2,
+   FRAG_RESULT_DATA0 = 3,
    FRAG_RESULT_MAX = (FRAG_RESULT_DATA0 + MAX_DRAW_BUFFERS)
 } gl_frag_result;