glsl: add gl_MaxSamples, new in GL 4.5 / GL ES 3.2
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -461,6 +461,9 @@ struct _mesa_glsl_parse_state {
|
||||
unsigned MaxTessControlTotalOutputComponents;
|
||||
unsigned MaxTessControlUniformComponents;
|
||||
unsigned MaxTessEvaluationUniformComponents;
|
||||
|
||||
/* GL 4.5 / OES_sample_variables */
|
||||
unsigned MaxSamples;
|
||||
} Const;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user