All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 53884] New: gl_FragCoord gets corrupted in some camera angles
@ 2012-08-21 14:42 bugzilla-daemon
  2012-08-21 14:43 ` [Bug 53884] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-08-21 14:42 UTC (permalink / raw)
  To: dri-devel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 53884] gl_FragCoord gets corrupted in some camera angles
  2012-08-21 14:42 [Bug 53884] New: gl_FragCoord gets corrupted in some camera angles bugzilla-daemon
@ 2012-08-21 14:43 ` bugzilla-daemon
  2012-08-21 14:46 ` bugzilla-daemon
  2012-08-21 18:59 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-08-21 14:43 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Lauri Kasanen <curaga@operamail.com> 2012-08-21 14:43:19 UTC ---
Created attachment 65892
  --> https://bugs.freedesktop.org/attachment.cgi?id=65892
Same scene, good camera angle

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 53884] gl_FragCoord gets corrupted in some camera angles
  2012-08-21 14:42 [Bug 53884] New: gl_FragCoord gets corrupted in some camera angles bugzilla-daemon
  2012-08-21 14:43 ` [Bug 53884] " bugzilla-daemon
@ 2012-08-21 14:46 ` bugzilla-daemon
  2012-08-21 18:59 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-08-21 14:46 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Lauri Kasanen <curaga@operamail.com> 2012-08-21 14:46:53 UTC ---
Apitrace (60mb):

http://www.ziddu.com/download/20164691/fragcoord.trace.zip.html

Renamed as a zip to let it be uploaded.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 53884] gl_FragCoord gets corrupted in some camera angles
  2012-08-21 14:42 [Bug 53884] New: gl_FragCoord gets corrupted in some camera angles bugzilla-daemon
  2012-08-21 14:43 ` [Bug 53884] " bugzilla-daemon
  2012-08-21 14:46 ` bugzilla-daemon
@ 2012-08-21 18:59 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-08-21 18:59 UTC (permalink / raw)
  To: dri-devel

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

Ian Romanick <idr@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
                   |.org                        |org
          Component|Drivers/Gallium/r600        |Mesa core

--- Comment #3 from Ian Romanick <idr@freedesktop.org> 2012-08-21 18:59:15 UTC ---
I'm also able to reproduce this on Intel hardware with i965_dri.so.  Since this
doesn't seem specific to r600 hardware or even to Gallium-based drivers, I'm
switching the component to 'Mesa core'.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-21 18:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-21 14:42 [Bug 53884] New: gl_FragCoord gets corrupted in some camera angles bugzilla-daemon
2012-08-21 14:43 ` [Bug 53884] " bugzilla-daemon
2012-08-21 14:46 ` bugzilla-daemon
2012-08-21 18:59 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.