summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Garg <rohan.garg@intel.com>2022-08-11 18:48:14 +0200
committerJordan Justen <jordan.l.justen@intel.com>2024-05-14 14:31:24 -0700
commit80a888644e7c9b9257b3a43924af449fad0cd561 (patch)
tree81ecbf5b1ca41d42587a66ff6bdd3f56e156c7cd
parent0fa4dcdc0f92a134d1b78be3a6b09869d163dee3 (diff)
intel/brw: We no longer have atomic fmin/fmax ops for fp64 in xe2
Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
-rw-r--r--src/intel/vulkan/anv_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 6142bd69ed7..abfe918c802 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -759,7 +759,8 @@ get_features(const struct anv_physical_device *pdevice,
.shaderBufferFloat16AtomicMinMax = pdevice->info.has_lsc,
.shaderBufferFloat32AtomicMinMax = true,
.shaderBufferFloat64AtomicMinMax =
- pdevice->info.has_64bit_float && pdevice->info.has_lsc,
+ pdevice->info.has_64bit_float && pdevice->info.has_lsc &&
+ pdevice->info.ver < 20,
.shaderSharedFloat16Atomics = pdevice->info.has_lsc,
.shaderSharedFloat16AtomicAdd = false,
.shaderSharedFloat16AtomicMinMax = pdevice->info.has_lsc,