summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>2016-11-10 09:06:48 (GMT)
committerJuan A. Suarez Romero <jasuarez@igalia.com>2017-01-09 09:44:07 (GMT)
commit0449c93638e74cc0d04986664c0b8b7ec2615893 (patch)
tree6218235792ac70341efc55455c1628fc92893644
parent465204695f99747174983c96d9e50e7c158fc22f (diff)
downloadmesa-0449c93638e74cc0d04986664c0b8b7ec2615893.tar.gz
mesa-0449c93638e74cc0d04986664c0b8b7ec2615893.tar.xz
anv: enable shaderFloat64 feature
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 062fab6..219c611 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -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,