All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader
@ 2010-09-10 18:40 bugzilla-daemon
  2010-09-10 18:43 ` [Bug 30122] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-09-10 18:40 UTC (permalink / raw)
  To: dri-devel

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

           Summary: r600 scrambled render when using 2d texture sample for
                    1d texture co-ord in fragment shader
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: thomas.jones@utoronto.ca


Created an attachment (id=38612)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=38612)
small program that triggers the bug

Using a shader like this results in a strange scrambled rendering:


uniform sampler2D src;
uniform sampler1D pal;
void main() {
    gl_FragColor = texture1D(pal, texture2D(src, gl_TexCoord[0].xy).x);
}

it looks like in addition to just being messed up it also gets the texture
co-ordinates wrong (I'm rending with GL_QUADS, the two triangles that make up
the quad seem to be interpolating differently across the middle)

-- 
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] 7+ messages in thread

* [Bug 30122] r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader
  2010-09-10 18:40 [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader bugzilla-daemon
@ 2010-09-10 18:43 ` bugzilla-daemon
  2010-09-10 18:47 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-09-10 18:43 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Thomas Jones <thomas.jones@utoronto.ca> 2010-09-10 11:43:09 PDT ---
Created an attachment (id=38613)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=38613)
Screenshot showing the brokeness

-- 
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] 7+ messages in thread

* [Bug 30122] r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader
  2010-09-10 18:40 [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader bugzilla-daemon
  2010-09-10 18:43 ` [Bug 30122] " bugzilla-daemon
@ 2010-09-10 18:47 ` bugzilla-daemon
  2010-09-10 18:51 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-09-10 18:47 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Thomas Jones <thomas.jones@utoronto.ca> 2010-09-10 11:47:20 PDT ---
Created an attachment (id=38614)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=38614)
The expected rendering

-- 
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] 7+ messages in thread

* [Bug 30122] r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader
  2010-09-10 18:40 [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader bugzilla-daemon
  2010-09-10 18:43 ` [Bug 30122] " bugzilla-daemon
  2010-09-10 18:47 ` bugzilla-daemon
@ 2010-09-10 18:51 ` bugzilla-daemon
  2011-06-15  9:04 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-09-10 18:51 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Thomas Jones <thomas.jones@utoronto.ca> 2010-09-10 11:51:09 PDT ---
Also noticed, much the same happens with r600 classic too.

-- 
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] 7+ messages in thread

* [Bug 30122] r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader
  2010-09-10 18:40 [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-09-10 18:51 ` bugzilla-daemon
@ 2011-06-15  9:04 ` bugzilla-daemon
  2011-06-15 15:36 ` bugzilla-daemon
  2012-09-12 15:31 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2011-06-15  9:04 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Pierre-Eric Pelloux-Prayer <pelloux@gmail.com> 2011-06-15 02:04:40 PDT ---
Created an attachment (id=47987)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=47987)
r600c incorrect rendering

Tested with HD4850 + mesa from git :
  * r600g rendering is correct
  * r600c rendering is still wrong (see attached image)

Could you confirm it is fixed for you as well with r600g ?

If it's the case, maybe this bug should be assigned to r600c ?

-- 
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] 7+ messages in thread

* [Bug 30122] r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader
  2010-09-10 18:40 [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-06-15  9:04 ` bugzilla-daemon
@ 2011-06-15 15:36 ` bugzilla-daemon
  2012-09-12 15:31 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2011-06-15 15:36 UTC (permalink / raw)
  To: dri-devel

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

Thomas Jones <thomas.jones@utoronto.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/Gallium/r600        |Drivers/DRI/R600

--- Comment #5 from Thomas Jones <thomas.jones@utoronto.ca> 2011-06-15 08:36:29 PDT ---
(In reply to comment #4)
> Created an attachment (id=47987)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=47987)
> r600c incorrect rendering
> 
> Tested with HD4850 + mesa from git :
>   * r600g rendering is correct
>   * r600c rendering is still wrong (see attached image)
> 
> Could you confirm it is fixed for you as well with r600g ?
> 
> If it's the case, maybe this bug should be assigned to r600c ?

Indeed you are correct, it does seem to be fixed on r600c in git, any idea what
commit did it? It would probably be useful to point it out so whoever tries to
fix r600c can see it.

-- 
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] 7+ messages in thread

* [Bug 30122] r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader
  2010-09-10 18:40 [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-06-15 15:36 ` bugzilla-daemon
@ 2012-09-12 15:31 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2012-09-12 15:31 UTC (permalink / raw)
  To: dri-devel

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

Andreas Boll <andreas.boll.dev@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Andreas Boll <andreas.boll.dev@gmail.com> 2012-09-12 15:31:45 UTC ---
(In reply to comment #4)
> Created attachment 47987 [details]
> r600c incorrect rendering
> 
> Tested with HD4850 + mesa from git :
>   * r600g rendering is correct
>   * r600c rendering is still wrong (see attached image)
> 
> Could you confirm it is fixed for you as well with r600g ?
> 
> If it's the case, maybe this bug should be assigned to r600c ?

Note: classic r600 driver has been abandoned.

Closing.

-- 
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] 7+ messages in thread

end of thread, other threads:[~2012-09-12 15:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10 18:40 [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader bugzilla-daemon
2010-09-10 18:43 ` [Bug 30122] " bugzilla-daemon
2010-09-10 18:47 ` bugzilla-daemon
2010-09-10 18:51 ` bugzilla-daemon
2011-06-15  9:04 ` bugzilla-daemon
2011-06-15 15:36 ` bugzilla-daemon
2012-09-12 15:31 ` 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.