nir/spirv: Use breaks instead of returns in constant handling
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Jun 2016 17:34:04 +0000 (10:34 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 4 Jun 2016 02:29:28 +0000 (19:29 -0700)
commitb26cdd65e8e588ed7bdd7cca0b205579132e1261
treee585b92375441af597062d64d7f3e6d80f554f48
parenta19ae36ce52e72e2b93251ba0a43d683bd5e58cc
nir/spirv: Use breaks instead of returns in constant handling

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/compiler/spirv/spirv_to_nir.c