Module: Mesa Branch: master Commit: c17b2f572449e66a035ffb7be9dc833f6d80aac5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c17b2f572449e66a035ffb7be9dc833f6d80aac5
Author: Kenneth Graunke <[email protected]> Date: Wed Jan 11 15:16:11 2017 -0800 spirv: Shut up unhandled enumeration value warnings. We don't want to do anything for the other cases. Signed-off-by: Kenneth Graunke <[email protected]> --- src/compiler/spirv/vtn_variables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/spirv/vtn_variables.c b/src/compiler/spirv/vtn_variables.c index 3ecb54f..1cc1402 100644 --- 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; } } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
