From d06c3e21ace6da0f97ece2fe7d26edd7655174ca Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 20 Jan 2025 02:37:44 -0800 Subject: [PATCH] brw: Drop unnecessary mlen/header_size on virtual GET_BUFFER_SIZE op The logical send lowering code sets these, and is the code which -should- set these. Reviewed-by: Caio Oliveira Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/compiler/brw_from_nir.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intel/compiler/brw_from_nir.cpp b/src/intel/compiler/brw_from_nir.cpp index 8ecbb9bd250..08c94101e75 100644 --- a/src/intel/compiler/brw_from_nir.cpp +++ b/src/intel/compiler/brw_from_nir.cpp @@ -6344,8 +6344,6 @@ brw_from_nir_emit_intrinsic(nir_to_brw_state &ntb, srcs[GET_BUFFER_SIZE_SRC_LOD] = src_payload; brw_inst *inst = ubld.emit(SHADER_OPCODE_GET_BUFFER_SIZE, ret_payload, srcs, GET_BUFFER_SIZE_SRCS); - inst->header_size = 0; - inst->mlen = reg_unit(devinfo); inst->size_written = 4 * REG_SIZE * reg_unit(devinfo); /* SKL PRM, vol07, 3D Media GPGPU Engine, Bounds Checking and Faulting: