mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
aco: count flat as vmem in statistics
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35465>
This commit is contained in:
parent
d4d9cbdbef
commit
1c0d065dae
1 changed files with 1 additions and 2 deletions
|
|
@ -498,8 +498,7 @@ collect_preasm_stats(Program* program)
|
|||
if (instr->isVOPD())
|
||||
program->statistics.vopd++;
|
||||
|
||||
if ((instr->isVMEM() || instr->isScratch() || instr->isGlobal()) &&
|
||||
!instr->operands.empty()) {
|
||||
if ((instr->isVMEM() || instr->isFlatLike()) && !instr->operands.empty()) {
|
||||
if (std::none_of(vmem_clause.begin(), vmem_clause.end(),
|
||||
[&](Instruction* other)
|
||||
{ return should_form_clause(instr.get(), other); }))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue