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:
committed by
Marge Bot
parent
64ce4669a3
commit
849065b9f3
@@ -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;
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user