diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-10-08 19:11:32 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-10-08 19:11:52 +0100 |
commit | 438390418d27838bcfcb5bbb4c486db45dbaa44d (patch) | |
tree | eb3642e3ba83fedaeb358bc647cc95fe491e54c8 /src/gallium/auxiliary/gallivm/lp_bld_sample.h | |
parent | f5b5fb32d3a9eb8667f91907bcf065fe8bd4988d (diff) |
llvmpipe: First minify the texture size, then broadcast.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h index 44c8fc5764..d1a1aa143d 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h @@ -206,8 +206,8 @@ struct lp_build_sample_context struct lp_build_context int_coord_bld; /** Unsigned integer texture size */ - struct lp_type uint_size_type; - struct lp_build_context uint_size_bld; + struct lp_type int_size_type; + struct lp_build_context int_size_bld; /** Unsigned integer texture size */ struct lp_type float_size_type; @@ -225,13 +225,8 @@ struct lp_build_sample_context LLVMValueRef img_stride_array; LLVMValueRef data_array; - /** Unsigned vector with texture width, height, depth */ - LLVMValueRef uint_size; - - /* width, height, depth as uint vectors */ - LLVMValueRef width_vec; - LLVMValueRef height_vec; - LLVMValueRef depth_vec; + /** Integer vector with texture width, height, depth */ + LLVMValueRef int_size; }; |