diff options
author | Rob Clark <[email protected]> | 2016-06-07 14:32:16 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-06-20 12:36:20 -0400 |
commit | 64180de1bf0ab9afcb4e659daf3132aa5b37638c (patch) | |
tree | 755dfdfe8e74726cfb75217b14db3b36b535919b /src/gallium/drivers/nouveau/nvc0 | |
parent | ef534b9389bc74b007d76d2a1776068d23e5b887 (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/nouveau/nvc0')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c index 4173d068733..b389a7703ff 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c @@ -1250,7 +1250,7 @@ nvc0_set_compute_resources(struct pipe_context *pipe, static bool nvc0_bind_images_range(struct nvc0_context *nvc0, const unsigned s, unsigned start, unsigned nr, - struct pipe_image_view *pimages) + const struct pipe_image_view *pimages) { const unsigned end = start + nr; unsigned mask = 0; @@ -1318,7 +1318,7 @@ nvc0_bind_images_range(struct nvc0_context *nvc0, const unsigned s, static void nvc0_set_shader_images(struct pipe_context *pipe, unsigned shader, unsigned start, unsigned nr, - struct pipe_image_view *images) + const struct pipe_image_view *images) { const unsigned s = nvc0_shader_stage(shader); if (!nvc0_bind_images_range(nvc0_context(pipe), s, start, nr, images)) |