glsl: Mark tessellation qualifier maps static const.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
70bc891c42
commit
eb1a0ddfd5
|
@ -1373,7 +1373,7 @@ layout_qualifier_id:
|
|||
|
||||
/* Layout qualifiers for tessellation evaluation shaders. */
|
||||
if (!$$.flags.i) {
|
||||
struct {
|
||||
static const struct {
|
||||
const char *s;
|
||||
GLenum e;
|
||||
} map[] = {
|
||||
|
@ -1396,7 +1396,7 @@ layout_qualifier_id:
|
|||
}
|
||||
}
|
||||
if (!$$.flags.i) {
|
||||
struct {
|
||||
static const struct {
|
||||
const char *s;
|
||||
GLenum e;
|
||||
} map[] = {
|
||||
|
|
Loading…
Reference in New Issue