New: r600: wrong fragment shader input when using gl_fragCoord.
http://bugs.freedesktop.org/show_bug.cgi?id=26769
Summary: r600: wrong fragment shader input when using
gl_fragCoord.
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=33583)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33583)
Fragment shader to reproduce bug
Consider simple shader in attachment. It works as expected, samples texture depending on input variable from vertex shader and puts texel as color. Uncommenting first comment shouldn't change anything (gl_FragDepth just defaults to gl_FragCoord.z), but it's not the case. In fact when I do so, fp_texCoord is always vec2(0.0). Well, I'm not sure about that, but it gives same results (e.g. all triangles are red, as is 0.0, 0.0 coordinate).
Note that using gl_FragCoord in *any* way (that is not optimized away) causes this failure. For example uncommenting second comment gives same results.
I can include vertex shader (that is also simple, just multiplies matrix with gl_Position and copies texCoord into fp_texCoord) and sample program, if that matter.
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26769] r600: wrong fragment shader input when using gl_fragCoord.
https://bugs.freedesktop.org/show_bug.cgi?id=26769
Andreas Boll <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Andreas Boll <[email protected]> ---
Note: classic r600 driver has been abandoned.
Please use r600g (gallium driver) instead.
Is this still an issue with a newer driver/kernel?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 26769] r600: wrong fragment shader input when using gl_fragCoord.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26769
Andreas Boll <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |WONTFIX--- Comment #2 from Andreas Boll <[email protected]> --- The classic r600 driver has been abandoned long ago.
It was replaced by the Gallium driver r600g.
If you have issues with r600g please file a new bug report with component Drivers/Gallium/r600
Thanks.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel