noop: implement pipe_context::bind_sampler_states()
authorBrian Paul <brianp@vmware.com>
Thu, 12 Sep 2013 21:07:57 +0000 (15:07 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Oct 2013 20:05:26 +0000 (14:05 -0600)
src/gallium/drivers/noop/noop_state.c

index 29eeda87339c314c91fd3129c5c11c179069d26c..0278e1ce739a62a9534b0f29df302f86315237d2 100644 (file)
@@ -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;