summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
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/softpipe
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/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_image.c b/src/gallium/drivers/softpipe/sp_state_image.c
index 81bb7ca88ee..553a76a2c87 100644
--- a/src/gallium/drivers/softpipe/sp_state_image.c
+++ b/src/gallium/drivers/softpipe/sp_state_image.c
@@ -30,7 +30,7 @@ static void softpipe_set_shader_images(struct pipe_context *pipe,
unsigned shader,
unsigned start,
unsigned num,
- struct pipe_image_view *images)
+ const struct pipe_image_view *images)
{
struct softpipe_context *softpipe = softpipe_context(pipe);
unsigned i;