radeonsi: rename and rearrange RW buffer slots
authorMarek Olšák <marek.olsak@amd.com>
Mon, 18 Apr 2016 20:16:54 +0000 (22:16 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 21 Apr 2016 23:14:13 +0000 (01:14 +0200)
commit1378487fb4a0fe35779ead32b1ecd5467e3ba1c6
treecd3aa7ac8c2656f10f10de77fdad55116c80086d
parent4ff8cbb0d8c483cc91cad3494cd1db572dcd51ee
radeonsi: rename and rearrange RW buffer slots

- use an enum
- use a unique slot number regardless of the shader stage
  (the per-stage slots will go away for RW buffers)

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c