<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 17, 2016 at 6:30 PM, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To silence warning:<br>
spirv/spirv_to_nir.c:1397:4: warning: enumeration value<br>
'nir_texop_txf_ms_mcs' not handled in switch [-Wswitch]<br>
switch (instr->op) {<br>
^<br>
---<br>
src/compiler/spirv/spirv_to_nir.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c<br>
index c65f971..610044a 100644<br>
--- a/src/compiler/spirv/spirv_to_nir.c<br>
+++ b/src/compiler/spirv/spirv_to_nir.c<br>
@@ -1404,6 +1404,7 @@ vtn_handle_texture(struct vtn_builder *b, SpvOp opcode,<br>
break;<br>
case nir_texop_txf:<br>
case nir_texop_txf_ms:<br>
+ case nir_texop_txf_ms_mcs:<br></blockquote><div><br></div><div>Really, that should go in it's own section of the switch with an unreachable()<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
case nir_texop_txs:<br>
case nir_texop_lod:<br>
case nir_texop_tg4:<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div>