From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 80015] Transparency glitches in native Civilization 5 (Civ5) port Date: Mon, 16 Jun 2014 04:01:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1126666335==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BB1E26E363 for ; Sun, 15 Jun 2014 21:01:57 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1126666335== Content-Type: multipart/alternative; boundary="1402891317.d1edEbF1.28397"; charset="us-ascii" --1402891317.d1edEbF1.28397 Date: Mon, 16 Jun 2014 04:01:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=80015 --- Comment #4 from smoki --- (In reply to comment #2) > Created attachment 101111 [details] [review] > 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. Thanks Vadim, that fixed it for me too :). -- You are receiving this mail because: You are the assignee for the bug. --1402891317.d1edEbF1.28397 Date: Mon, 16 Jun 2014 04:01:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 80015 from
(In reply to comment #2)
> Created attachment 101111 [details] [review] [review]
> 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.


 Thanks Vadim, that fixed it for me too :).


You are receiving this mail because:
  • You are the assignee for the bug.
--1402891317.d1edEbF1.28397-- --===============1126666335== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1126666335==--