radeonsi: implement set_shader_images (v2)
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 6 Feb 2016 23:32:13 +0000 (18:32 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 21 Mar 2016 20:34:23 +0000 (15:34 -0500)
commite85cf35a6516c44e33663fcd9637c6b434bb63ee
treef2c017505cf93025d851752673bdbe1b4837580c
parentb1b7268f014c78ac46b2f360959e681bad3091d5
radeonsi: implement set_shader_images (v2)

Whether DCC is disabled depends on the access flags with which the image
is bound: image_load supports DCC, but store and atomic don't.

v2: remove an unnecessary masking of images->desc.enabled_mask

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h