spirv: Move OpSelect handling to a function
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Mon, 3 Jun 2019 22:30:33 +0000 (15:30 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 4 Jun 2019 00:20:54 +0000 (17:20 -0700)
commit17630291e516efcc8940a8e4de45586ca9a578b5
tree6783f62f75d0a4e994a3dcffe068a870fd741834
parentea0e89859c9f2e5f0b3055d822663b2ee5904cb3
spirv: Move OpSelect handling to a function

This will make a later change easier to review.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/spirv_to_nir.c