projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b33f5d3
)
glsl/types.cpp: Fix function_key_compare
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 29 Dec 2015 22:32:10 +0000
(14:32 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 29 Dec 2015 22:32:10 +0000
(14:32 -0800)
src/glsl/nir/glsl_types.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/nir/glsl_types.cpp
b/src/glsl/nir/glsl_types.cpp
index d86609718ea6a53c14fdf082a0c6d113467898b1..71095fa92e4fd4593c47c46f6f53960005fce603 100644
(file)
--- a/
src/glsl/nir/glsl_types.cpp
+++ b/
src/glsl/nir/glsl_types.cpp
@@
-1055,7
+1055,7
@@
function_key_compare(const void *a, const void *b)
return 1;
return memcmp(key1->fields.parameters, key2->fields.parameters,
- (key1->length + 1) * sizeof(*key1->fields.parameters));
+ (key1->length + 1) * sizeof(*key1->fields.parameters))
== 0
;
}