From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 30122] New: r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader
Date: Fri, 10 Sep 2010 11:40:26 -0700 (PDT) [thread overview]
Message-ID: <bug-30122-502@http.bugs.freedesktop.org/> (raw)
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.
next reply other threads:[~2010-09-10 18:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 18:40 bugzilla-daemon [this message]
2010-09-10 18:43 ` [Bug 30122] r600 scrambled render when using 2d texture sample for 1d texture co-ord in fragment shader 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-30122-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox