[Mesa-dev] [PATCH 06/10] i965/fs: Assume shadow sampler swizzling is <X, X, X, 1>.

Eric Anholt eric at anholt.net
Mon Aug 27 13:38:21 PDT 2012


Kenneth Graunke <kenneth at whitecape.org> writes:

> Our previous assumption, SWIZZLE_XYZW, was completely bogus for depth
> textures.  There are no Y, Z, or W components.

Seems like this doesn't even need to be shadow-sampler-dependent, just
whether the baseformat is depth/depthstencil.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120827/025bfb3b/attachment.pgp>


More information about the mesa-dev mailing list