aco: Use Builder reference in emit_copies_block.
Found while running with libstdc++ debug mode. Fixes the following: Error: attempt to copy-construct an iterator from a singular iterator. Cc: mesa-stable Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Tony Wasserka <tony.wasserka@gmx.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12682>
This commit is contained in:
parent
46def1814e
commit
728ed892df
|
@ -384,7 +384,7 @@ struct ltg_node {
|
|||
/* emit the copies in an order that does not
|
||||
* create interferences within a merge-set */
|
||||
void
|
||||
emit_copies_block(Builder bld, std::map<uint32_t, ltg_node>& ltg, RegType type)
|
||||
emit_copies_block(Builder& bld, std::map<uint32_t, ltg_node>& ltg, RegType type)
|
||||
{
|
||||
auto&& it = ltg.begin();
|
||||
while (it != ltg.end()) {
|
||||
|
|
Loading…
Reference in New Issue