[Mesa-dev] [PATCH 1/2] i965: Lower textureGrad() for samplerCubeShadow.

Eric Anholt eric at anholt.net
Mon Feb 25 11:51:31 PST 2013

Kenneth Graunke <kenneth at whitecape.org> writes:

> GLSL provides gradients for the 'r' coordinate (face ID), while our
> hardware apparently ignores them.  Sadly, this means that sample_d and
> sample_d_c appear to be unsuitable for OpenGL, and need to be lowered.

'r' isn't a face ID in GLSL, though -- it's just the 3rd component of
the vector pointing to texels.  Did you mean it's used as face ID in
hardware for sample_d/d_c?
-------------- 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/20130225/526985fd/attachment.pgp>

More information about the mesa-dev mailing list