diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-10-10 23:55:24 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-10-11 08:14:09 +0100 |
commit | e1003336f0dcd9248c0127fbdc173522e35c5bdb (patch) | |
tree | 0ebec7627b6e7bd44bc145297d68ac3fdbc2890c /src/gallium/auxiliary/gallivm/lp_bld_sample.h | |
parent | b18fecbd0ea33c9db7e3fd676ed7b5877ebb1bd5 (diff) |
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.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h index ce2285446a..ffed27cee8 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h @@ -197,10 +197,6 @@ struct lp_build_sample_context struct lp_type coord_type; struct lp_build_context coord_bld; - /** Unsigned integer coordinates */ - struct lp_type uint_coord_type; - struct lp_build_context uint_coord_bld; - /** Signed integer coordinates */ struct lp_type int_coord_type; struct lp_build_context int_coord_bld; |