tgsi: remove unused tgsi_shader_info.num_memory_instructions

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24100>
This commit is contained in:
Thomas H.P. Andersen
2023-07-11 18:22:24 +02:00
committed by Marge Bot
parent 64ce4669a3
commit 849065b9f3
2 changed files with 0 additions and 4 deletions
-3
View File
@@ -590,9 +590,6 @@ scan_instruction(struct tgsi_shader_info *info,
}
}
if (is_mem_inst)
info->num_memory_instructions++;
if (computes_derivative(fullinst->Instruction.Opcode))
info->uses_derivatives = true;
-1
View File
@@ -74,7 +74,6 @@ struct tgsi_shader_info
unsigned immediate_count; /**< number of immediates declared */
unsigned num_instructions;
unsigned num_memory_instructions; /**< sampler, buffer, and image instructions */
unsigned opcode_count[TGSI_OPCODE_LAST]; /**< opcode histogram */