From: Dave Airlie Date: Tue, 5 Oct 2010 23:33:23 +0000 (+1000) Subject: mesa: add support for FRAG_RESULT_STENCIL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bec341d00c5fbc9c5f1c19c1b6729de636ffbfcb;p=mesa.git mesa: add support for FRAG_RESULT_STENCIL. this is needed to add support for stencil shader export. Signed-off-by: Dave Airlie --- 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;