spirv: add switch case for nir_texop_txf_ms_mcs in vtn_handle_texture()
authorBrian Paul <brianp@vmware.com>
Wed, 18 May 2016 01:28:37 +0000 (19:28 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 18 May 2016 20:57:45 +0000 (14:57 -0600)
commit96909ef12802fdc8b5a9870bcfde89881ecedf86
tree2774b2e85d2e0ed42c189216ba5848d28c1d7f3e
parent9c290b1e5468a66bd856ceee372079e3ce43def8
spirv: add switch case for nir_texop_txf_ms_mcs in vtn_handle_texture()

Mark it as unreachable.  Silences a compiler warning:

spirv/spirv_to_nir.c:1397:4: warning: enumeration value
'nir_texop_txf_ms_mcs' not handled in switch [-Wswitch]
    switch (instr->op) {
    ^

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/compiler/spirv/spirv_to_nir.c