aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/noop/noop_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/noop/noop_state.c')
-rw-r--r--src/gallium/drivers/noop/noop_state.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gallium/drivers/noop/noop_state.c b/src/gallium/drivers/noop/noop_state.c
index 8a4938b97f5..7ae89c8e711 100644
--- a/src/gallium/drivers/noop/noop_state.c
+++ b/src/gallium/drivers/noop/noop_state.c
@@ -34,6 +34,11 @@ static void noop_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info
{
}
+static void noop_launch_grid(struct pipe_context *ctx,
+ const struct pipe_grid_info *info)
+{
+}
+
static void noop_set_blend_color(struct pipe_context *ctx,
const struct pipe_blend_color *state)
{
@@ -207,6 +212,12 @@ static void *noop_create_shader_state(struct pipe_context *ctx,
return MALLOC(1);
}
+static void *noop_create_compute_state(struct pipe_context *ctx,
+ const struct pipe_compute_state *state)
+{
+ return MALLOC(1);
+}
+
static struct pipe_stream_output_target *noop_create_stream_output_target(
struct pipe_context *ctx,
struct pipe_resource *res,
@@ -250,6 +261,10 @@ void noop_init_state_functions(struct pipe_context *ctx)
ctx->create_sampler_view = noop_create_sampler_view;
ctx->create_surface = noop_create_surface;
ctx->create_vertex_elements_state = noop_create_vertex_elements;
+ ctx->create_compute_state = noop_create_compute_state;
+ ctx->create_tcs_state = noop_create_shader_state;
+ ctx->create_tes_state = noop_create_shader_state;
+ ctx->create_gs_state = noop_create_shader_state;
ctx->create_vs_state = noop_create_shader_state;
ctx->bind_blend_state = noop_bind_state;
ctx->bind_depth_stencil_alpha_state = noop_bind_state;
@@ -257,6 +272,10 @@ void noop_init_state_functions(struct pipe_context *ctx)
ctx->bind_fs_state = noop_bind_state;
ctx->bind_rasterizer_state = noop_bind_state;
ctx->bind_vertex_elements_state = noop_bind_state;
+ ctx->bind_compute_state = noop_bind_state;
+ ctx->bind_tcs_state = noop_bind_state;
+ ctx->bind_tes_state = noop_bind_state;
+ ctx->bind_gs_state = noop_bind_state;
ctx->bind_vs_state = noop_bind_state;
ctx->delete_blend_state = noop_delete_state;
ctx->delete_depth_stencil_alpha_state = noop_delete_state;
@@ -264,6 +283,10 @@ void noop_init_state_functions(struct pipe_context *ctx)
ctx->delete_rasterizer_state = noop_delete_state;
ctx->delete_sampler_state = noop_delete_state;
ctx->delete_vertex_elements_state = noop_delete_state;
+ ctx->delete_compute_state = noop_delete_state;
+ ctx->delete_tcs_state = noop_delete_state;
+ ctx->delete_tes_state = noop_delete_state;
+ ctx->delete_gs_state = noop_delete_state;
ctx->delete_vs_state = noop_delete_state;
ctx->set_blend_color = noop_set_blend_color;
ctx->set_clip_state = noop_set_clip_state;
@@ -280,6 +303,7 @@ void noop_init_state_functions(struct pipe_context *ctx)
ctx->sampler_view_destroy = noop_sampler_view_destroy;
ctx->surface_destroy = noop_surface_destroy;
ctx->draw_vbo = noop_draw_vbo;
+ ctx->launch_grid = noop_launch_grid;
ctx->create_stream_output_target = noop_create_stream_output_target;
ctx->stream_output_target_destroy = noop_stream_output_target_destroy;
ctx->set_stream_output_targets = noop_set_stream_output_targets;