gallium: add access field to pipe_image_view
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 12 Mar 2016 01:04:19 +0000 (20:04 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 14 Mar 2016 22:24:40 +0000 (17:24 -0500)
commit71a1b54b33d2c1db1a0576943c31ae9adaf8d5e2
treee470554a8641a3034f76e2a36a3741e0f3375b78
parent8c497b8fb59fa80abb9be315defe809b982958f4
gallium: add access field to pipe_image_view

This allows drivers to make smarter decisions e.g. about whether the image
has to be decompressed.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_state.h