graphics/mesa-dri: Remove upstreamed patch

I somehow didn't had the commit that added this patch on my test branch so
forgot to remove it.

Reported by:	Michael Butler <imb@protected-networks.net>
Sponsored by:	Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2023-01-02 17:13:43 +01:00
parent f63b00b452
commit 3ac388e05d

View file

@ -1,16 +0,0 @@
--- src/gallium/drivers/r600/sfn/sfn_optimizer.cpp.orig 2022-12-14 21:06:11 UTC
+++ src/gallium/drivers/r600/sfn/sfn_optimizer.cpp
@@ -354,7 +354,12 @@ CopyPropFwdVisitor::visit(AluInstr *instr)
auto src = instr->psrc(0);
auto dest = instr->dest();
- for (auto& i : dest->uses()) {
+ auto ii = dest->uses().begin();
+ auto ie = dest->uses().end();
+
+ while(ii != ie) {
+ auto i = *ii;
+ ++ii;
/* SSA can always be propagated, registers only in the same block
* and only if they are assigned in the same block */
bool can_propagate = dest->is_ssa();