summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-09-12 15:07:57 -0600
committerBrian Paul <brianp@vmware.com>2013-09-12 18:07:43 -0600
commit581fa62acb2402e8d4c756e21f93b62fd187b266 (patch)
tree8402fbbb0ae6fdb0bca2f68d265b82e22b758be2
parentf17852f688507ddaa8a075a93b681c7df27d4258 (diff)
noop: implement pipe_context::bind_sampler_states()
-rw-r--r--src/gallium/drivers/noop/noop_state.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/noop/noop_state.c b/src/gallium/drivers/noop/noop_state.c
index 29eeda8733..0278e1ce73 100644
--- a/src/gallium/drivers/noop/noop_state.c
+++ b/src/gallium/drivers/noop/noop_state.c
@@ -134,6 +134,12 @@ static void noop_set_ps_sampler_view(struct pipe_context *ctx, unsigned count,
{
}
+static void noop_bind_sampler_states(struct pipe_context *ctx, unsigned shader,
+ unsigned start, unsigned count,
+ void **states)
+{
+}
+
static void noop_bind_sampler(struct pipe_context *ctx, unsigned count, void **states)
{
}
@@ -295,6 +301,7 @@ void noop_init_state_functions(struct pipe_context *ctx)
ctx->create_vs_state = noop_create_shader_state;
ctx->bind_blend_state = noop_bind_state;
ctx->bind_depth_stencil_alpha_state = noop_bind_state;
+ ctx->bind_sampler_states = noop_bind_sampler_states;
ctx->bind_fragment_sampler_states = noop_bind_sampler;
ctx->bind_fs_state = noop_bind_state;
ctx->bind_rasterizer_state = noop_bind_state;