projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0421813
)
spirv: Silence unused variable warnings in release mode
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 7 Mar 2017 20:54:33 +0000
(12:54 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 7 Mar 2017 23:22:16 +0000
(15:22 -0800)
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/compiler/spirv/spirv_to_nir.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/spirv_to_nir.c
b/src/compiler/spirv/spirv_to_nir.c
index
1dd6651
..
8a02904
100644
(file)
--- a/
src/compiler/spirv/spirv_to_nir.c
+++ b/
src/compiler/spirv/spirv_to_nir.c
@@
-1149,6
+1149,7
@@
vtn_handle_constant(struct vtn_builder *b, SpvOp opcode,
glsl_get_bit_size(v1->type->type);
assert(bit_size == bit_size0 && bit_size == bit_size1);
+ (void)bit_size0; (void)bit_size1;
if (bit_size == 64) {
uint64_t u64[8];