mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 18:50:10 +01:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue