[Mesa-dev] [PATCH 22/22] anv: enable shaderFloat64 feature
Juan A. Suarez Romero
jasuarez at igalia.com
Fri Nov 25 08:52:52 UTC 2016
From: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
src/intel/vulkan/anv_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 725848f..9f53fc9 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -441,7 +441,7 @@ void anv_GetPhysicalDeviceFeatures(
.shaderStorageImageWriteWithoutFormat = true,
.shaderClipDistance = true,
.shaderCullDistance = true,
- .shaderFloat64 = false,
+ .shaderFloat64 = pdevice->info.gen >= 8,
.shaderInt64 = false,
.shaderInt16 = false,
.alphaToOne = true,
--
2.7.4
More information about the mesa-dev
mailing list