mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
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>
This commit is contained in:
parent
d02993c9dc
commit
bec341d00c
1 changed files with 3 additions and 2 deletions
|
|
@ -380,8 +380,9 @@ typedef enum
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
FRAG_RESULT_DEPTH = 0,
|
FRAG_RESULT_DEPTH = 0,
|
||||||
FRAG_RESULT_COLOR = 1,
|
FRAG_RESULT_STENCIL = 1,
|
||||||
FRAG_RESULT_DATA0 = 2,
|
FRAG_RESULT_COLOR = 2,
|
||||||
|
FRAG_RESULT_DATA0 = 3,
|
||||||
FRAG_RESULT_MAX = (FRAG_RESULT_DATA0 + MAX_DRAW_BUFFERS)
|
FRAG_RESULT_MAX = (FRAG_RESULT_DATA0 + MAX_DRAW_BUFFERS)
|
||||||
} gl_frag_result;
|
} gl_frag_result;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue