<div dir="ltr">You're doing more here than enabling float64...<br></div><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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Samuel Iglesias Gonsálvez <<a href="mailto:siglesias@igalia.com">siglesias@igalia.com</a>><br>
---<br>
 src/intel/vulkan/anv_pipeline.<wbr>c | 7 ++++++-<br>
 1 file changed, 6 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_<wbr>pipeline.c b/src/intel/vulkan/anv_<wbr>pipeline.c<br>
index 361fd256cf7..e25465fc1d9 100644<br>
--- a/src/intel/vulkan/anv_<wbr>pipeline.c<br>
+++ b/src/intel/vulkan/anv_<wbr>pipeline.c<br>
@@ -124,10 +124,15 @@ anv_shader_compile_to_nir(<wbr>struct anv_device *device,<br>
       }<br>
    }<br>
<br>
+   const struct nir_spirv_supported_extensions supported_ext = {<br>
+      .float64 = device->instance-><wbr>physicalDevice.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="HOEnZb"><font color="#888888">--<br>
2.11.0<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>