aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_sampler.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-05-02 02:37:46 +0200
committerMarek Olšák <[email protected]>2011-05-06 20:06:30 +0200
commita5f0a11477ae90f47f3adb59a93c5576dc8c7325 (patch)
tree9b624a22bf59f33021aadb70275f3a2fe45c7e7a /src/mesa/state_tracker/st_atom_sampler.c
parentbf65c9ea411b2fd394b82a0d5502675d427d9fd0 (diff)
gallium: implement seamless cubemap extensions
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom_sampler.c')
-rw-r--r--src/mesa/state_tracker/st_atom_sampler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_sampler.c b/src/mesa/state_tracker/st_atom_sampler.c
index 56da010b385..e3d6cbb8e12 100644
--- a/src/mesa/state_tracker/st_atom_sampler.c
+++ b/src/mesa/state_tracker/st_atom_sampler.c
@@ -201,6 +201,9 @@ update_samplers(struct st_context *st)
= st_compare_func_to_pipe(msamp->CompareFunc);
}
+ sampler->seamless_cube_map =
+ st->ctx->Texture.CubeMapSeamless || msamp->CubeMapSeamless;
+
st->state.num_samplers = su + 1;
/*printf("%s su=%u non-null\n", __FUNCTION__, su);*/