mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 11:40:10 +01:00
aco: add a few missing checks in value numbering
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
This commit is contained in:
parent
a8d0101d69
commit
57c2cfb608
1 changed files with 4 additions and 1 deletions
|
|
@ -191,7 +191,9 @@ struct InstrPred {
|
|||
/* this is fine since they are only used for vertex input fetches */
|
||||
MTBUF_instruction* aM = static_cast<MTBUF_instruction *>(a);
|
||||
MTBUF_instruction* bM = static_cast<MTBUF_instruction *>(b);
|
||||
return aM->dfmt == bM->dfmt &&
|
||||
return aM->can_reorder == bM->can_reorder &&
|
||||
aM->barrier == bM->barrier &&
|
||||
aM->dfmt == bM->dfmt &&
|
||||
aM->nfmt == bM->nfmt &&
|
||||
aM->offset == bM->offset &&
|
||||
aM->offen == bM->offen &&
|
||||
|
|
@ -221,6 +223,7 @@ struct InstrPred {
|
|||
MIMG_instruction* aM = static_cast<MIMG_instruction*>(a);
|
||||
MIMG_instruction* bM = static_cast<MIMG_instruction*>(b);
|
||||
return aM->can_reorder && bM->can_reorder &&
|
||||
aM->barrier == bM->barrier &&
|
||||
aM->dmask == bM->dmask &&
|
||||
aM->unrm == bM->unrm &&
|
||||
aM->glc == bM->glc &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue