<div dir="ltr">With the image_ms_array line removed (I don't believe we support that), 20-22 are<br><br>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 12:44 PM, Jason Ekstrand <span dir="ltr"><<a href="mailto:jason@jlekstrand.net" target="_blank">jason@jlekstrand.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">You're doing more here than enabling float64...<br></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 2:18 AM, Samuel Iglesias Gonsálvez <span dir="ltr"><<a href="mailto:siglesias@igalia.com" target="_blank">siglesias@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Samuel Iglesias Gonsálvez <<a href="mailto:siglesias@igalia.com" target="_blank">siglesias@igalia.com</a>><br>
---<br>
 src/intel/vulkan/anv_<wbr>pipeline.c | 7 ++++++-<br>
 1 file changed, 6 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_pipelin<wbr>e.c b/src/intel/vulkan/anv_pipelin<wbr>e.c<br>
index 361fd256cf7..e25465fc1d9 100644<br>
--- a/src/intel/vulkan/anv_pipelin<wbr>e.c<br>
+++ b/src/intel/vulkan/anv_pipelin<wbr>e.c<br>
@@ -124,10 +124,15 @@ anv_shader_compile_to_nir(stru<wbr>ct anv_device *device,<br>
       }<br>
    }<br>
<br>
+   const struct nir_spirv_supported_extensions supported_ext = {<br>
+      .float64 = device->instance->physicalDevi<wbr>ce.info.gen >= 8,<br>
+      .image_ms_array = true,<br>
+   };<br>
+<br>
    nir_function *entry_point =<br>
       spirv_to_nir(spirv, module->size / 4,<br>
                    spec_entries, num_spec_entries,<br>
-                   stage, entrypoint_name, NULL, nir_options);<br>
+                   stage, entrypoint_name, &supported_ext, nir_options);<br>
    nir_shader *nir = entry_point->shader;<br>
    assert(nir->stage == stage);<br>
    nir_validate_shader(nir);<br>
<span class="gmail-m_4917978872942994864HOEnZb"><font color="#888888">--<br>
2.11.0<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">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>
</div></div></blockquote></div><br></div></div></div>