I've had some problems with Dota2 ingame rendering for a while now. The icons on the minimap flickers and some parts of the ground too. The ground only flickers if normal maps are turned on. I have uploaded two videos on github to demonstrate the issue: https://github.com/DarkDefender/dota2_reborn_issue Here is the issue on the Dota2 reborn bugtracker: https://github.com/ValveSoftware/Dota-2-Reborn/issues/150 It seems like this commit broke the ingame rendering: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af4b9c7c2e119d373f9684119b833a8b62cbb756 With the previous commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4339bc9886a26d75b924ad045c3ddd003f802c3 it seems to render fine.
Reverting those commits fixed the flickering on my tahiti xt.
Created attachment 116901 [details] [review] radeonsi: Count TGSI_SEMANTIC_CLIPDIST again for the VS export count Does this patch fix the problem?
(In reply to Michel Dänzer from comment #2) > Created attachment 116901 [details] [review] [review] > radeonsi: Count TGSI_SEMANTIC_CLIPDIST again for the VS export count > > Does this patch fix the problem? As far as I can see, yes, removing only the TGSI_SEMANTIC_CLIPDIST case makes the corrupted texture flicker and the shadow flicker go away.
Seems to solve it for me also. I'm guessing that this is just a temporary workaround?
(In reply to Sebastian Parborg from comment #4) > I'm guessing that this is just a temporary workaround? No, I think it's the proper fix. TGSI_SEMANTIC_CLIPDIST values are also passed to the pixel shader as a varying, so they need to be counted here. I'll submit the patch to the mesa-dev mailing list for review.
Commit: 248b26429f52d0f19949a083aa3e0aeebcbe2138 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=248b26429f52d0f19949a083aa3e0aeebcbe2138 Author: Michel Dänzer <michel.daenzer@amd.com> Date: Mon Jul 6 17:23:07 2015 +0900 radeonsi: Use param export count from si_llvm_export_vs in si_shader_vs
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.