projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19fe5e
)
st/glsl: fix silly regression finding gs/tes variants
author
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 26 Jun 2019 13:02:12 +0000
(23:02 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 26 Jun 2019 13:13:02 +0000
(23:13 +1000)
Fixes: d19fe5e67a39 ("st/glsl: support clamping color outputs in compat for gs/tes")
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_program.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_program.c
b/src/mesa/state_tracker/st_program.c
index 3c99721a8a70da41418df834f8a3985a24dacab1..faada1621ca91dd9a91ce1ceda622f001c75f9c4 100644
(file)
--- a/
src/mesa/state_tracker/st_program.c
+++ b/
src/mesa/state_tracker/st_program.c
@@
-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;
}
}