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 <caio.oliveira@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33297>
This commit is contained in:
Kenneth Graunke 2025-01-20 02:37:44 -08:00 committed by Marge Bot
parent 37a6278c9f
commit d06c3e21ac

View file

@ -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: