<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 30, 2018 at 3:15 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
 src/intel/vulkan/anv_device.c | 6 ++++--<br>
 1 file changed, 4 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_device.<wbr>c b/src/intel/vulkan/anv_device.<wbr>c<br>
index adcd506..e82f294 100644<br>
--- a/src/intel/vulkan/anv_device.<wbr>c<br>
+++ b/src/intel/vulkan/anv_device.<wbr>c<br>
@@ -757,8 +757,10 @@ void anv_GetPhysicalDeviceFeatures(<br>
       .<wbr>shaderStorageImageArrayDynamic<wbr>Indexing   = true,<br>
       .shaderClipDistance                       = true,<br>
       .shaderCullDistance                       = true,<br>
-      .shaderFloat64                            = pdevice->info.gen >= 8,<br>
-      .shaderInt64                              = pdevice->info.gen >= 8,<br>
+      .shaderFloat64                            = pdevice->info.gen >= 8 &&<br>
+                                                  pdevice->info.has_64bit_types,<br>
+      .shaderInt64                              = pdevice->info.gen >= 8 &&<br>
+                                                  pdevice->info.has_64bit_types,<br>
       .shaderInt16                              = false,<br>
       .shaderResourceMinLod                     = false,<br>
       .variableMultisampleRate                  = true,<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.5.0.400.gff86faf<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></font></span></blockquote><div><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">​s/withou/without in subject. With typo fixed:​</div></div></div><div class="gmail_extra"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">​Reviewed-by: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>>​</div><br></div></div>