[Bug 268327] graphics/mesa-dri: 22.3.0 breaks direct rendering (radeon, SUMO, r600_dri)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Dec 2022 21:05:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268327

--- Comment #21 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
Ah yes, my card is Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] :)

(In reply to Florian Walpen from comment #19)

There are the following differences between 22.2 and 22.3 for this section
called sfn_optimizer.cpp:363:17.

@@ -358,62 +354,148 @@
    auto src = instr->psrc(0);
    auto dest = instr->dest();

-   for (auto& i : instr->dest()->uses()) {
+   for (auto& i : dest->uses()) {
       /* SSA can always be propagated, registers only in the same block

The change seems to be a result of the previous assignment to dest, but it may
be important to call instr->dest() with for here.
But I don't know about C++ :)

-- 
You are receiving this mail because:
You are the assignee for the bug.