From 475fb687265abfdf2d2380c6eb5c5c4f6d468d77 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Thu, 11 Aug 2022 18:48:14 +0200 Subject: [PATCH] intel/brw: We no longer have atomic fmin/fmax ops for fp64 in xe2 Signed-off-by: Rohan Garg Reviewed-by: Ian Romanick Part-of: --- src/intel/vulkan/anv_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index f578087102a..32f6ecabab3 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -762,7 +762,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,