diff options
Diffstat (limited to 'src/gallium/state_trackers/nine')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_ff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/nine_ff.c b/src/gallium/state_trackers/nine/nine_ff.c index a97a83ff1c3..16d0ab2ab5c 100644 --- a/src/gallium/state_trackers/nine/nine_ff.c +++ b/src/gallium/state_trackers/nine/nine_ff.c @@ -126,7 +126,7 @@ struct nine_ff_ps_key static uint32_t nine_ff_vs_key_hash(const void *key) { - struct nine_ff_vs_key *vs = key; + const struct nine_ff_vs_key *vs = key; unsigned i; uint32_t hash = vs->value32[0]; for (i = 1; i < ARRAY_SIZE(vs->value32); ++i) @@ -142,7 +142,7 @@ static bool nine_ff_vs_key_comp(const void *key1, const void *key2) } static uint32_t nine_ff_ps_key_hash(const void *key) { - struct nine_ff_ps_key *ps = key; + const struct nine_ff_ps_key *ps = key; unsigned i; uint32_t hash = ps->value32[0]; for (i = 1; i < ARRAY_SIZE(ps->value32); ++i) |