summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-01-08 19:06:33 -0500
committerIlia Mirkin <imirkin@alum.mit.edu>2016-02-15 22:22:33 -0500
commitbceff68114d5daab7a52a42db422ec8f6dc22328 (patch)
tree7e8056076338d9320efde9d925656086ac4ceaab /src/gallium/drivers/ilo
parentcfbf25ac8f7bfe3e7bd9c8f55cf2c8072b7c9490 (diff)
downloadexternal_mesa3d-bceff68114d5daab7a52a42db422ec8f6dc22328.zip
external_mesa3d-bceff68114d5daab7a52a42db422ec8f6dc22328.tar.gz
external_mesa3d-bceff68114d5daab7a52a42db422ec8f6dc22328.tar.bz2
gallium: make image views non-persistent objects
Make them akin to shader buffers, with no refcounting/etc. Just used to pass data about the bound image in ->set_shader_images. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/ilo_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.c b/src/gallium/drivers/ilo/ilo_state.c
index 8dc2d38..f8d2637 100644
--- a/src/gallium/drivers/ilo/ilo_state.c
+++ b/src/gallium/drivers/ilo/ilo_state.c
@@ -1851,7 +1851,7 @@ ilo_set_sampler_views(struct pipe_context *pipe, unsigned shader,
static void
ilo_set_shader_images(struct pipe_context *pipe, unsigned shader,
unsigned start, unsigned count,
- struct pipe_image_view **views)
+ struct pipe_image_view *views)
{
#if 0
struct ilo_state_vector *vec = &ilo_context(pipe)->state_vector;