[Mesa-dev] [PATCH 2/2] i965/fs: Don't double-convert integer/boolean uniforms.

Eric Anholt eric at anholt.net
Mon Aug 15 15:39:31 PDT 2011

On Mon, 15 Aug 2011 15:02:32 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
> When ctx->Const.NativeIntegers is set, Core Mesa loads integer/boolean
> uniforms directly, rather than loading the floating point equivalent.
> So, when that's set, we don't need to perform any conversions.
> Unfortunately, we can't properly support native integers until the new
> vertex shader backend lands, so this patch leaves it turned off.
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/20110815/1e571da4/attachment.pgp>

More information about the mesa-dev mailing list