radv: store the amount of saved constants in the compute state
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Sep 2017 21:26:20 +0000 (23:26 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 27 Sep 2017 07:26:44 +0000 (09:26 +0200)
commit8860b39d9432216dd40b825fc5750d3601b6cf4e
tree671c3a14818c9ed08f1712bf6e99ff03e96096fe
parentbd7fd6a0e4e9bfe3f713955c511b6ca6a6120231
radv: store the amount of saved constants in the compute state

It's safer and more elegant.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta.c
src/amd/vulkan/radv_meta.h
src/amd/vulkan/radv_meta_buffer.c
src/amd/vulkan/radv_meta_clear.c
src/amd/vulkan/radv_meta_copy.c
src/amd/vulkan/radv_meta_resolve_cs.c
src/amd/vulkan/radv_query.c