projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallivm: Allow to force nearest filtering on a per-axis basis.
[mesa.git]
/
src
/
gallium
/
auxiliary
/
gallivm
/
lp_bld_sample.h
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_sample.h
b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
index 8ccba2ca09ebffdb23ae2c0d8ab6d8e56f93683b..dad138abee00a0c1a483b487d6e444d669d6d83f 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_sample.h
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_sample.h
@@
-86,6
+86,10
@@
struct lp_sampler_static_state
unsigned lod_bias_non_zero:1;
unsigned apply_min_lod:1; /**< min_lod > 0 ? */
unsigned apply_max_lod:1; /**< max_lod < last_level ? */
+
+ /* Hacks */
+ unsigned force_nearest_s:1;
+ unsigned force_nearest_t:1;
};