summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ddebug/dd_context.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-06-07 14:32:16 -0400
committerRob Clark <[email protected]>2016-06-20 12:36:20 -0400
commit64180de1bf0ab9afcb4e659daf3132aa5b37638c (patch)
tree755dfdfe8e74726cfb75217b14db3b36b535919b /src/gallium/drivers/ddebug/dd_context.c
parentef534b9389bc74b007d76d2a1776068d23e5b887 (diff)
gallium: make image_view const
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_context.c')
-rw-r--r--src/gallium/drivers/ddebug/dd_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ddebug/dd_context.c b/src/gallium/drivers/ddebug/dd_context.c
index 785dde784c9..f618f0cc8d8 100644
--- a/src/gallium/drivers/ddebug/dd_context.c
+++ b/src/gallium/drivers/ddebug/dd_context.c
@@ -491,7 +491,7 @@ dd_context_set_sampler_views(struct pipe_context *_pipe, unsigned shader,
static void
dd_context_set_shader_images(struct pipe_context *_pipe, unsigned shader,
unsigned start, unsigned num,
- struct pipe_image_view *views)
+ const struct pipe_image_view *views)
{
struct dd_context *dctx = dd_context(_pipe);
struct pipe_context *pipe = dctx->pipe;