From ef817650c94e5824d98102262722654bd19a1de4 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 22 Aug 2022 17:35:53 -0700 Subject: [PATCH] intel/compiler/xe2: Use SIMD16 for nir_intrinsic_image_size Reviewed-by: Caio Oliveira Reviewed-by: Jordan Justen Part-of: --- src/intel/compiler/brw_fs_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index 6c25768..7c67eb7 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -4471,7 +4471,7 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr /* Since the image size is always uniform, we can just emit a SIMD8 * query instruction and splat the result out. */ - const fs_builder ubld = bld.exec_all().group(8, 0); + const fs_builder ubld = bld.exec_all().group(8 * reg_unit(devinfo), 0); fs_reg tmp = ubld.vgrf(BRW_REGISTER_TYPE_UD, 4); fs_inst *inst = ubld.emit(SHADER_OPCODE_IMAGE_SIZE_LOGICAL, -- 2.7.4