From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 53884] New: gl_FragCoord gets corrupted in some camera angles Date: Tue, 21 Aug 2012 14:42:33 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EE747A022F for ; Tue, 21 Aug 2012 07:42:33 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org https://bugs.freedesktop.org/show_bug.cgi?id=53884 Bug #: 53884 Summary: gl_FragCoord gets corrupted in some camera angles Classification: Unclassified Product: Mesa Version: 8.0 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: curaga@operamail.com Created attachment 65891 --> https://bugs.freedesktop.org/attachment.cgi?id=65891 Screenshot of the issue, bad camera angle In certain camera angles, gl_FragCoord.xy seem to have bogus/corrupted values. I tried to make a simple example but couldn't, so uploading an apitrace of the bigger app and screenshots. The apitrace is 60mb XZ-compressed, that's why the need to use a third-party service - upload limits here. This shader: void main() { gl_FragColor = vec4(gl_FragCoord.xy / vec2(640, 480), 0.0, 0.0); } should always create values from 0 to 1 in a window of that size. In the apitrace the only difference is that the size is passed in an uniform. This bug happens on both r600g and llvmpipe. I didn't have the patience to wait for softpipe to render it. I don't have anything else on this machine to compare to (swrast, blobs). Mesa 8.0.3 Linux 3.2.23 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.