gallivm: Eliminate unsigned integer arithmetic from texture coordinates.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 10 Oct 2010 22:55:24 +0000 (23:55 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 11 Oct 2010 07:14:09 +0000 (08:14 +0100)
commite1003336f0dcd9248c0127fbdc173522e35c5bdb
tree0ebec7627b6e7bd44bc145297d68ac3fdbc2890c
parentb18fecbd0ea33c9db7e3fd676ed7b5877ebb1bd5
gallivm: Eliminate unsigned integer arithmetic from texture coordinates.

SSE support for 32bit and 16bit unsigned arithmetic is not complete, and
can easily result in inefficient code.

In most cases signed/unsigned doesn't make a difference, such as for
integer texture coordinates.

So remove uint_coord_type and uint_coord_bld to avoid inefficient
operations to sneak in the future.
src/gallium/auxiliary/gallivm/lp_bld_sample.h
src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c