gallium: change pipe_image_view::first_element/last_element -> offset/size
authorMarek Olšák <marek.olsak@amd.com>
Fri, 12 Aug 2016 00:33:41 +0000 (02:33 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 17 Aug 2016 12:15:33 +0000 (14:15 +0200)
commit325379096f54dde39171d1b8804e29a8003bb3c7
treea9a2dad63270175b9839edbd81af66c9d03a7eed
parent7cd256ce7e4bad680bb77d033cf5dd662abab2dd
gallium: change pipe_image_view::first_element/last_element -> offset/size

This is required by OpenGL. Our hardware supports this.

Example: Bind RGBA32F with offset = 4 bytes.

Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_dump_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/softpipe/sp_image.c
src/gallium/drivers/trace/tr_dump_state.c
src/gallium/include/pipe/p_state.h
src/mesa/state_tracker/st_atom_image.c
src/mesa/state_tracker/st_cb_readpixels.c