From: Jason Ekstrand Date: Thu, 25 Oct 2018 22:51:04 +0000 (-0500) Subject: iris: no-op implement set_compute_resources X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17280a8ef1a90b73add63682b0d956fd4383c6b1;p=mesa.git iris: no-op implement set_compute_resources Reviewed-by: Kenneth Graunke Part-of: --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index ead1302e152..83fb9d8c39f 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -2845,6 +2845,14 @@ iris_set_sampler_views(struct pipe_context *ctx, : IRIS_DIRTY_RENDER_RESOLVES_AND_FLUSHES; } +static void +iris_set_compute_resources(struct pipe_context *ctx, + unsigned start, unsigned count, + struct pipe_surface **resources) +{ + assert(count == 0); +} + /** * The pipe->set_tess_state() driver hook. */ @@ -7710,6 +7718,7 @@ genX(init_state)(struct iris_context *ice) ctx->set_shader_buffers = iris_set_shader_buffers; ctx->set_shader_images = iris_set_shader_images; ctx->set_sampler_views = iris_set_sampler_views; + ctx->set_compute_resources = iris_set_compute_resources; ctx->set_tess_state = iris_set_tess_state; ctx->set_framebuffer_state = iris_set_framebuffer_state; ctx->set_polygon_stipple = iris_set_polygon_stipple;