diff options
Diffstat (limited to 'src/mesa/state_tracker/st_atom_sampler.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_sampler.c | 49 |
1 files changed, 12 insertions, 37 deletions
diff --git a/src/mesa/state_tracker/st_atom_sampler.c b/src/mesa/state_tracker/st_atom_sampler.c index 065d1df3353..f33e334bb9e 100644 --- a/src/mesa/state_tracker/st_atom_sampler.c +++ b/src/mesa/state_tracker/st_atom_sampler.c @@ -334,8 +334,8 @@ update_shader_samplers(struct st_context *st, } -static void -update_vertex_samplers(struct st_context *st) +void +st_update_vertex_samplers(struct st_context *st) { const struct gl_context *ctx = st->ctx; @@ -348,8 +348,8 @@ update_vertex_samplers(struct st_context *st) } -static void -update_tessctrl_samplers(struct st_context *st) +void +st_update_tessctrl_samplers(struct st_context *st) { const struct gl_context *ctx = st->ctx; @@ -364,8 +364,8 @@ update_tessctrl_samplers(struct st_context *st) } -static void -update_tesseval_samplers(struct st_context *st) +void +st_update_tesseval_samplers(struct st_context *st) { const struct gl_context *ctx = st->ctx; @@ -380,8 +380,8 @@ update_tesseval_samplers(struct st_context *st) } -static void -update_geometry_samplers(struct st_context *st) +void +st_update_geometry_samplers(struct st_context *st) { const struct gl_context *ctx = st->ctx; @@ -396,8 +396,8 @@ update_geometry_samplers(struct st_context *st) } -static void -update_fragment_samplers(struct st_context *st) +void +st_update_fragment_samplers(struct st_context *st) { const struct gl_context *ctx = st->ctx; @@ -410,8 +410,8 @@ update_fragment_samplers(struct st_context *st) } -static void -update_compute_samplers(struct st_context *st) +void +st_update_compute_samplers(struct st_context *st) { const struct gl_context *ctx = st->ctx; @@ -424,28 +424,3 @@ update_compute_samplers(struct st_context *st) &st->state.num_samplers[PIPE_SHADER_COMPUTE]); } } - - -const struct st_tracked_state st_update_vertex_sampler = { - update_vertex_samplers /* update */ -}; - -const struct st_tracked_state st_update_tessctrl_sampler = { - update_tessctrl_samplers /* update */ -}; - -const struct st_tracked_state st_update_tesseval_sampler = { - update_tesseval_samplers /* update */ -}; - -const struct st_tracked_state st_update_geometry_sampler = { - update_geometry_samplers /* update */ -}; - -const struct st_tracked_state st_update_fragment_sampler = { - update_fragment_samplers /* update */ -}; - -const struct st_tracked_state st_update_compute_sampler = { - update_compute_samplers /* update */ -}; |