From 7e1362e9c070ad0372b8a85b8b07561cab3c9030 Mon Sep 17 00:00:00 2001 From: Sagar Ghuge Date: Fri, 8 Nov 2024 02:52:19 -0800 Subject: [PATCH] intel/brw/xe3+: Don't compile SIMD32 if there is ray queries Signed-off-by: Sagar Ghuge Reviewed-by: Francisco Jerez Part-of: --- src/intel/compiler/brw_compile_fs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_compile_fs.cpp b/src/intel/compiler/brw_compile_fs.cpp index ea14a832fb0..22fbc31d233 100644 --- a/src/intel/compiler/brw_compile_fs.cpp +++ b/src/intel/compiler/brw_compile_fs.cpp @@ -1693,7 +1693,8 @@ brw_compile_fs(const struct brw_compiler *compiler, if ((!vbase || vbase->dispatch_width < 32) && max_dispatch_width >= 32 && - INTEL_SIMD(FS, 32)) { + INTEL_SIMD(FS, 32) && + !prog_data->base.ray_queries) { /* Try a SIMD32 compile */ v32 = std::make_unique(compiler, ¶ms->base, key, prog_data, nir, 32, 1,