Created attachment 74948 [details]
In Anno1701, some models are red, however they are rendered with correct colors when RADEON_DEBUG=noopt is used (or with glsl disabled in Wine).
Apitrace here http://pavel.ondracka.cz/Anno1701.trace (renders fine with proprietary NVIDIA drivers).
Could you post a dump with RADEON_DEBUG=noopt,vp,fp
Created attachment 76840 [details]
(In reply to comment #1)
> Could you post a dump with RADEON_DEBUG=noopt,vp,fp
New log attached. However there is something bad going on. There are two bugs affecting this game. This one and bug 60965, however when I reported them, this bug used to disappeared with RADEON_DEBUG=noopt and bug 60965 didn't. Now when I use RADEON_DEBUG=noopt, the corruption from bug 60965 is much worse and is all over the place. The change did happened with
f6c061261885fed0c83c437e9459ba79618f1b3a is the first bad commit
Author: Brian Paul <email@example.com>
Date: Fri Mar 1 15:16:15 2013 -0700
st/mesa: convert ir_triop_lrp to TGSI_OPCODE_LRP
AFAICT, all gallium drivers implement TGSI_OPCODE_LRP.
Tested with softpipe, llvmpipe, svga drivers.
Reviewed-by: Matt Turner <firstname.lastname@example.org>
without RADEON_DEBUG=noopt the corruption is still the same, so my guess is that r300 compiler somehow doesn't like TGSI_OPCODE_LRP, optimizes is away a little bit, but not completely.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/352.