summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2008-03-28 15:43:00 +0100
committerRoland Scheidegger <[email protected]>2008-03-28 15:43:00 +0100
commit5615ab78b03cf1cb5fb19fc04fef52818f91b0be (patch)
tree29e9feb808cda826fa9ea656582ad41cffff2ad9 /src/mesa
parent4e7bcaa4c20cc358206cf4668316f998d79c85b0 (diff)
gallium: remove redundant compare bit in sampler state
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_atom_sampler.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_sampler.c b/src/mesa/state_tracker/st_atom_sampler.c
index 5787a7492c6..5dd242ac662 100644
--- a/src/mesa/state_tracker/st_atom_sampler.c
+++ b/src/mesa/state_tracker/st_atom_sampler.c
@@ -167,7 +167,6 @@ update_samplers(struct st_context *st)
/* only care about ARB_shadow, not SGI shadow */
if (texobj->CompareMode == GL_COMPARE_R_TO_TEXTURE) {
- sampler->compare = 1;
sampler->compare_mode = PIPE_TEX_COMPARE_R_TO_TEXTURE;
sampler->compare_func
= st_compare_func_to_pipe(texobj->CompareFunc);