anv: enable shaderFloat64 feature
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 10 Nov 2016 09:06:48 +0000 (10:06 +0100)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 9 Jan 2017 09:44:07 +0000 (10:44 +0100)
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c

index 062fab6fabec1f4938b4d1f06115894e1d1391bb..219c6114083da63d8a78ae500cfd9f2d1cfd543e 100644 (file)
@@ -479,7 +479,7 @@ void anv_GetPhysicalDeviceFeatures(
       .shaderStorageImageArrayDynamicIndexing   = true,
       .shaderClipDistance                       = true,
       .shaderCullDistance                       = true,
-      .shaderFloat64                            = false,
+      .shaderFloat64                            = pdevice->info.gen >= 8,
       .shaderInt64                              = false,
       .shaderInt16                              = false,
       .shaderResourceMinLod                     = false,