Mesa (master): mesa: add support for FRAG_RESULT_STENCIL.
Dave Airlie
airlied at kemper.freedesktop.org
Tue Oct 12 23:39:38 UTC 2010
Module: Mesa
Branch: master
Commit: bec341d00c5fbc9c5f1c19c1b6729de636ffbfcb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bec341d00c5fbc9c5f1c19c1b6729de636ffbfcb
Author: Dave Airlie <airlied at redhat.com>
Date: Wed Oct 6 09:33:23 2010 +1000
mesa: add support for FRAG_RESULT_STENCIL.
this is needed to add support for stencil shader export.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/mesa/main/mtypes.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index aa96766..3609e29 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;
More information about the mesa-commit
mailing list