[Bug 80015] Transparency glitches in native Civilization 5 (Civ5) port

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 15 10:13:54 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80015

--- Comment #2 from Vadim Girlin <ptpzz at yandex.ru> ---
Created attachment 101111
  --> https://bugs.freedesktop.org/attachment.cgi?id=101111&action=edit
patch

It seems the game relies on specific behavior of inversesqrt, which is
undefined when x <= 0 according to GLSL spec. The attached patch uses
V_RSQ_CLAMP_F32 instead of V_RSQ_LEGACY_F32 for int_AMDGPU_rsq, this fixed the
issue for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140615/7c189f0f/attachment.html>


More information about the dri-devel mailing list