diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-10-06 14:53:19 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-10-06 18:50:57 +0100 |
commit | 1c32583581ef5aee59901d9dd8e56cc1a125f0d4 (patch) | |
tree | b6c8ca2324c00c77aa3568475f68eab8b9fc1b9e /src/gallium/auxiliary/gallivm/lp_bld_sample.h | |
parent | 5849a6ab6412eddd4552329178e6edb0bea92977 (diff) |
gallivm: Only apply min/max_lod when necessary.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_sample.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h index bb1c8c8dce..bb83ede931 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h @@ -84,6 +84,8 @@ struct lp_sampler_static_state unsigned normalized_coords:1; unsigned min_max_lod_equal:1; /**< min_lod == max_lod ? */ unsigned lod_bias_non_zero:1; + unsigned apply_min_lod:1; /**< min_lod > 0 ? */ + unsigned apply_max_lod:1; /**< max_lod < last_level ? */ }; |