diff options
author | Dave Airlie <[email protected]> | 2010-10-06 09:33:23 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-13 09:30:03 +1000 |
commit | bec341d00c5fbc9c5f1c19c1b6729de636ffbfcb (patch) | |
tree | 2b6658830f967eb2e473d194e5b4a0d916fe3ddb /src/mesa | |
parent | d02993c9dcdf8171a733a4da06236accf4e7d78f (diff) |
mesa: add support for FRAG_RESULT_STENCIL.
this is needed to add support for stencil shader export.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 aa9676665ff..3609e2969e8 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; |