Module: Mesa Branch: master Commit: e1900ee2c70c15dea56027c21676174704f12348 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1900ee2c70c15dea56027c21676174704f12348
Author: Rhys Perry <[email protected]> Date: Thu Apr 30 16:10:42 2020 +0100 aco: preserve more fields when combining additions into SMEM Totals from 11 (0.01% of 127638) affected shaders: Signed-off-by: Rhys Perry <[email protected]> Fixes: 93c8ebfa780 ('aco: Initial commit of independent AMD compiler') Reviewed-by: Daniel Schürmann <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880> --- src/amd/compiler/aco_optimizer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/amd/compiler/aco_optimizer.cpp b/src/amd/compiler/aco_optimizer.cpp index 04385c1fe80..c6228691b36 100644 --- a/src/amd/compiler/aco_optimizer.cpp +++ b/src/amd/compiler/aco_optimizer.cpp @@ -889,6 +889,10 @@ void label_instruction(opt_ctx &ctx, Block& block, aco_ptr<Instruction>& instr) new_instr->definitions[0] = smem->definitions[0]; new_instr->can_reorder = smem->can_reorder; new_instr->barrier = smem->barrier; + new_instr->glc = smem->glc; + new_instr->dlc = smem->dlc; + new_instr->nv = smem->nv; + new_instr->disable_wqm = smem->disable_wqm; instr.reset(new_instr); smem = static_cast<SMEM_instruction *>(instr.get()); } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
