mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-27 06:40:38 +02:00
st/glsl: fix silly regression finding gs/tes variants
Fixes: d19fe5e67a ("st/glsl: support clamping color outputs in compat for gs/tes")
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
d19fe5e67a
commit
5f809e2707
1 changed files with 1 additions and 1 deletions
|
|
@ -1641,7 +1641,7 @@ st_get_basic_variant(struct st_context *st,
|
|||
|
||||
/* Search for existing variant */
|
||||
for (v = prog->variants; v; v = v->next) {
|
||||
if (memcmp(&v->key, &key, sizeof(key)) == 0) {
|
||||
if (memcmp(&v->key, key, sizeof(*key)) == 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue