projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de8b03f
)
spirv: Shut up unhandled enumeration value warnings.
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 11 Jan 2017 23:16:11 +0000
(15:16 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 11 Jan 2017 23:16:27 +0000
(15:16 -0800)
We don't want to do anything for the other cases.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/spirv/vtn_variables.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/vtn_variables.c
b/src/compiler/spirv/vtn_variables.c
index 3ecb54f32db2285921654ce64b2268254abbb66f..1cc1402f72d9817b0695e7b389a272616fce6339 100644
(file)
--- a/
src/compiler/spirv/vtn_variables.c
+++ b/
src/compiler/spirv/vtn_variables.c
@@
-1078,6
+1078,8
@@
apply_var_decoration(struct vtn_builder *b, nir_variable *nir_var,
case SpvBuiltInFragCoord:
nir_var->data.pixel_center_integer = b->pixel_center_integer;
break;
+ default:
+ break;
}
}