[Mesa-dev] [PATCH] ir_to_mesa: Handle shadow compare w/projection and LOD bias correctly
Ian Romanick
idr at freedesktop.org
Mon Apr 4 15:06:58 PDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/04/2011 02:42 PM, Brian Paul wrote:
> BTW, as long as you're looking at shadow samplers, we'll need support
> for cubical shadow map sampling in the (hopefully not too distant)
> future. The coord.W component would be the distance value. I haven't
> looked to see if that's a new issue in the IR or code generators.
It shouldn't be a problem for the GLSL IR. The coordinate used to
sample the texture is stored in the as a vector of the correct type for
the texture target. The comparitor is stored separately as a scalar.
The various back ends will need to be updated to do the right thing, and
right now they don't.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk2aQQIACgkQX1gOwKyEAw8SqQCgjr3uPk/4fnp3JvR5H0ryXghp
tYMAmgPB9oR3OS0B+qcGfumGXPLXRxma
=OgKM
-----END PGP SIGNATURE-----
More information about the mesa-dev
mailing list