From 37a6278c9f3cb751bba0aea16a8be0fb2b0e751e Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 18 Jan 2025 03:09:30 -0800 Subject: [PATCH] brw: Drop INTERPOLATE_AT mlen handling from size_read() FS_OPCODE_INTERPOLATE_AT_{SAMPLE,SHARED_OFFSET} never have a mlen set. They are lowered to SHADER_OPCODE_SEND in logical send lowering, at which point they acquire an mlen, but cease to be those opcodes. Reviewed-by: Caio Oliveira Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/compiler/brw_inst.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/intel/compiler/brw_inst.cpp b/src/intel/compiler/brw_inst.cpp index 062ddae5a0c..94e0478991c 100644 --- a/src/intel/compiler/brw_inst.cpp +++ b/src/intel/compiler/brw_inst.cpp @@ -535,12 +535,6 @@ brw_inst::size_read(const struct intel_device_info *devinfo, int arg) const } break; - case FS_OPCODE_INTERPOLATE_AT_SAMPLE: - case FS_OPCODE_INTERPOLATE_AT_SHARED_OFFSET: - if (arg == 0) - return mlen * REG_SIZE; - break; - case BRW_OPCODE_PLN: if (arg == 0) return 16;