New: Rendering to offscreen depth-texture fails
http://bugs.freedesktop.org/show_bug.cgi?id=26123
Summary: Rendering to offscreen depth-texture fails
Product: Mesa
Version: git
Platform: Other
URL: http://fabiensanglard.net/shadowmapping/index.php
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]
driver: r300g, latest git on ubuntu lucid. (Kernel 2.6.32)
when executing the linked demo, the shadowmap is being misrendered and on the console there is a lot of vomit in the style of:
Pkt3 at 306 :
PACKET3_3D_LOAD_VBPNTR:
0x00000001
0x00000603
0x000004B0
Pkt3 at 310 :
PACKET3_NOP:
0x00000004
Pkt0 at 312 (1 dwords):
0x0003AAAA -> 0x4278
Pkt0 at 314 (1 dwords):
0x00000000 -> 0x2138
Pkt0 at 316 (1 dwords):
0x00000017 -> 0x2134
Pkt3 at 318 :
PACKET3_3D_DRAW_VBUF_2:
0x0018002D...
If I change the code and add a COLOR_ATTACHMENT texture to the FBO the vomit goes away, but the shadowmap is still misrendered.
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. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
[Bug 26123] Rendering to offscreen depth-texture fails
http://bugs.freedesktop.org/show_bug.cgi?id=26123
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/R600 |Drivers/DRI/r300
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. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev --
[Bug 26123] Rendering to offscreen depth-texture fails
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26123
Corbin Simpson <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Status|NEW |ASSIGNED
--- Comment #1 from Corbin Simpson <[email protected]> 2010-03-19 16:36:57 PST --- Try again with current git?
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 26123] Rendering to offscreen depth-texture fails
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26123
--- Comment #2 from Pavel Rojtberg <[email protected]> 2010-03-20 04:08:55 PST --- Created an attachment (id=34252)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34252)
rendering errors with shadowmap
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 26123] Rendering to offscreen depth-texture fails
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26123
--- Comment #3 from Pavel Rojtberg <[email protected]> 2010-03-20 04:09:24 PST --- the vomit went away when the drm in lucid was updated to 2.6.33. With the current mesa git the shadowmap is rendered correctly, but the final picture is still misrendered. (see screenshot)
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 26123] Rendering to offscreen depth-texture fails
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26123
--- Comment #4 from Corbin Simpson <[email protected]> 2010-03-26 06:12:55 PST --- Created an attachment (id=34478)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34478)
Failed shadowmap CS
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 26123] Rendering to offscreen depth-texture fails
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26123
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/r300 |Mesa core
AssignedTo|[email protected] |[email protected]
|.net |e.net--- Comment #5 from Marek Olšák <[email protected]> 2010-04-11 19:55:17 PDT --- The demo more or less works here with latest kernel and libdrm (2.6.32 is too old), but I think Mesa doesn't like the way shadow samplers are used here as it fails with gallium/softpipe too. I am changing the component to Mesa core.
In the meantime, please use the sampler type sampler2DShadow and the fetching function shadow2D. That should work.
Signature · 14 lines
Configure bugmail: https://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 -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel