https://bugs.freedesktop.org/show_bug.cgi?id=35248
Summary: Texture lookup in vertex shader broken Product: Mesa Version: git 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: s3734770@mail.zih.tu-dresden.de
I ran the demo mesa-demos/src/glsl/vert-tex and fetch instructions only return memory garbage.
The same problem appears when running games via wine where hardware skinned models are not shown (better: vertices are spread around the whole coordinate system)
https://bugs.freedesktop.org/show_bug.cgi?id=35248
--- Comment #1 from s3734770@mail.zih.tu-dresden.de 2011-03-12 09:14:52 PST --- An additional info: the texture to fetch has float texels and is a luminance texture.
https://bugs.freedesktop.org/show_bug.cgi?id=35248
--- Comment #2 from s3734770@mail.zih.tu-dresden.de 2011-03-12 10:10:24 PST --- Created an attachment (id=44399) View: https://bugs.freedesktop.org/attachment.cgi?id=44399 Review: https://bugs.freedesktop.org/review?bug=35248&attachment=44399
Patch: also regard vs resources
I found the problem: 077c448d184799e0d9ec962013ec784c6a5c1807 did not pay attention at vs The fix also adds the resource offset to vs
https://bugs.freedesktop.org/show_bug.cgi?id=35248
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2011-03-12 10:36:02 PST --- The r600_shader_from_tgsi() change is wrong, but I've pushed the rest.
https://bugs.freedesktop.org/show_bug.cgi?id=35248
s3734770@mail.zih.tu-dresden.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from s3734770@mail.zih.tu-dresden.de 2011-03-31 03:50:50 PDT --- oh, we forgot to mark it "fixed".
dri-devel@lists.freedesktop.org