<div dir="ltr">This should come after 10<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 13, 2017 at 7:35 AM, Alejandro Piñeiro <span dir="ltr"><<a href="mailto:apinheiro@igalia.com" target="_blank">apinheiro@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Eduardo Lima Mitev <<a href="mailto:elima@igalia.com">elima@igalia.com</a>><br>
<br>
---<br>
 src/compiler/spirv/nir_spirv.h    | 1 +<br>
 src/compiler/spirv/spirv_to_<wbr>nir.c | 7 +++++++<br>
 2 files changed, 8 insertions(+)<br>
<br>
diff --git a/src/compiler/spirv/nir_<wbr>spirv.h b/src/compiler/spirv/nir_<wbr>spirv.h<br>
index 7f16866..89e6672 100644<br>
--- a/src/compiler/spirv/nir_<wbr>spirv.h<br>
+++ b/src/compiler/spirv/nir_<wbr>spirv.h<br>
@@ -51,6 +51,7 @@ struct nir_spirv_supported_extensions {<br>
    bool image_write_without_format;<br>
    bool int64;<br>
    bool multiview;<br>
+   bool storage_16bit;<br>
 };<br>
<br>
 nir_function *spirv_to_nir(const uint32_t *words, size_t word_count,<br>
diff --git a/src/compiler/spirv/spirv_to_<wbr>nir.c b/src/compiler/spirv/spirv_to_<wbr>nir.c<br>
index 763dbf4..c66bf34 100644<br>
--- a/src/compiler/spirv/spirv_to_<wbr>nir.c<br>
+++ b/src/compiler/spirv/spirv_to_<wbr>nir.c<br>
@@ -2763,6 +2763,13 @@ vtn_handle_preamble_<wbr>instruction(struct vtn_builder *b, SpvOp opcode,<br>
          spv_check_supported(multiview, cap);<br>
          break;<br>
<br>
+      case SpvCapabilityStorageUniformBuf<wbr>ferBlock16:<br>
+      case SpvCapabilityStorageUniform16:<br>
+      case SpvCapabilityStoragePushConsta<wbr>nt16:<br>
+      case SpvCapabilityStorageInputOutpu<wbr>t16:<br>
+         spv_check_supported(storage_<wbr>16bit, cap);<br>
+         break;<br>
+<br>
       default:<br>
          unreachable("Unhandled capability");<br>
       }<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.9.3<br>
<br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>