spirv: Explicitly break when finished handling SpvDecorationBuiltIn
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 3 Mar 2021 22:50:21 +0000 (14:50 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 8 Mar 2021 20:23:28 +0000 (20:23 +0000)
commit3a7bb38b70daa67c05be105f97b21f0944223e93
tree40b5bcfbfbe5ea17ec303d56611d56c92af66076
parent94d2a51453de5f9e723fed8134872441ebd6d7a2
spirv: Explicitly break when finished handling SpvDecorationBuiltIn

When tyding up this section in 1e5b09f42f6 ("spirv: Tidy some repeated
if checks by using a switch statement.") the break got lost.  It is
not a real problem because the next case just break, but better to
have it explicitly here instead of a FALLTHROUGH.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9440>
src/compiler/spirv/vtn_variables.c