summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/noop
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-09-12 15:07:57 -0600
committerBrian Paul <brianp@vmware.com>2013-10-03 14:05:26 -0600
commitbd1514849b02297693f293df79b47352445f9a51 (patch)
treed70a34540447e736523010fa7d6e0deaae8e35df /src/gallium/drivers/noop
parentc7723384885c1d8a493c0d421b0984d1f28fc8c3 (diff)
noop: implement pipe_context::bind_sampler_states()
Diffstat (limited to 'src/gallium/drivers/noop')
-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 29eeda87339..0278e1ce739 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;