summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-10-06 09:33:23 +1000
committerDave Airlie <airlied@redhat.com>2010-10-13 09:30:03 +1000
commitbec341d00c5fbc9c5f1c19c1b6729de636ffbfcb (patch)
tree2b6658830f967eb2e473d194e5b4a0d916fe3ddb /src/mesa/main/mtypes.h
parentd02993c9dcdf8171a733a4da06236accf4e7d78f (diff)
mesa: add support for FRAG_RESULT_STENCIL.
this is needed to add support for stencil shader export. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index aa9676665f..3609e2969e 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -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;