From f242c9af763ab7dc3d618a80c962d6bfdf73f3a5 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 1 Aug 2022 18:12:45 +0300 Subject: [PATCH] intel/fs: bump max SIMD size for A64 atomics with LSC Signed-off-by: Lionel Landwerlin Tested-by: Rohan Garg Reviewed-by: Francisco Jerez . Reviewed-by: Rohan Garg Part-of: --- src/intel/compiler/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index c2374591908..04ce20abb17 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -5047,7 +5047,7 @@ get_lowered_simd_width(const struct brw_compiler *compiler, case SHADER_OPCODE_A64_UNTYPED_ATOMIC_FLOAT16_LOGICAL: case SHADER_OPCODE_A64_UNTYPED_ATOMIC_FLOAT32_LOGICAL: case SHADER_OPCODE_A64_UNTYPED_ATOMIC_FLOAT64_LOGICAL: - return 8; + return devinfo->has_lsc ? MIN2(16, inst->exec_size) : 8; case SHADER_OPCODE_URB_READ_LOGICAL: case SHADER_OPCODE_URB_WRITE_LOGICAL: