Summary: | Rendering to offscreen depth-texture fails | ||
---|---|---|---|
Product: | Mesa | Reporter: | Pavel Rojtberg <pavel> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | MostAwesomedude |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://fabiensanglard.net/shadowmapping/index.php | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
rendering errors with shadowmap
Failed shadowmap CS |
Description
Pavel Rojtberg
2010-01-19 15:20:05 UTC
Try again with current git? Created attachment 34252 [details]
rendering errors with shadowmap
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) Created attachment 34478 [details]
Failed shadowmap CS
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. Pavel, could you please test latest Mesa master? works fine now. mesa git on Ubuntu Maverick. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.