Summary: | E-350 misprocesses shader | ||
---|---|---|---|
Product: | Mesa | Reporter: | Lauri Kasanen <cand> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | nock |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Screenshot of the failure
Proposed patch |
Description
Lauri Kasanen
2011-08-12 01:13:54 UTC
This test succeeds on both softpipe and llvmpipe. I have isolated this to the loops. Commenting out all BGNLOOP, ENDLOOP, and BRK instructions lets the card produce white. Tracking further, the bug only shows when there's more than one break inside a loop. Scratch that, it appears with only one break too (depends on which break you comment out :P) Created attachment 50268 [details] [review] Proposed patch The attached patch fixes this bug. It also lets MLAA work, showing that there are no other showstoppers for it on r600g / e-350. Note I'm not at all sure this is the right approach, but hey, it works. This bug doesn't seem to affect r700 - at least my HD4350 works perfectly with all effects on current master (7.12-devel (git-f800a29)) Please send the patch to the mesa-dev mailing list for review, preferably with git send-email or at least generated by git format-patch. I can't; the same function is used for everything from r600 on - I have no idea whether it would break other hw. As mentioned in the comment above, the bug is not there on a r700 dedicated card on master, which casts further doubt on the patch. It may simply be an issue in Evergreen loop handling elsewhere, but I really do not understand the hw well enough to say that with any certainty. Is this still an issue with latest git? This commit looks relevant: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d89c96c75dbb9c003e4643942f2cce8d6cd4995b I can test on the weekend. Yes, that commit fixes it. Doubly sure, since I had to apply it on top of master from Dec 19 (the last version that builds without xcb). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.