Summary: | [glsl] Incorrect code generation for shadow2DProj() with bias | ||
---|---|---|---|
Product: | Mesa | Reporter: | Brian Paul <brianp> |
Component: | glsl-compiler | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | 7.10 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Brian Paul
2010-12-14 09:36:54 UTC
Fixed on master. commit 9996a86085edb2bdbcb165d985203ee8ce6a9b22 Author: Ian Romanick <ian.d.romanick@intel.com> Date: Mon Apr 4 13:35:26 2011 -0700 ir_to_mesa: Handle shadow compare w/projection and LOD bias correctly The code would previously handle the projection, then swizzle the shadow comparitor into place. However, when the projection is done "by hand," as in the TXB case, the unprojected shadow comparitor would over-write the projected shadow comparitor. Shadow comparison with projection and LOD is an extremely rare case in real application code, so it shouldn't matter that we don't handle that case with the greatest efficiency. NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <brianp@vmware.com> References: https://bugs.freedesktop.org/show_bug.cgi?id=32395 Verified fixed in master (tested with softpipe, llvmpipe, swrast). Were you going to cherry-pick this to 7.10? Fixed in 7.10 by f890661. |
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.