radv: add private push descriptors for meta
authorFredrik Höglund <fredrik@kde.org>
Thu, 13 Apr 2017 22:26:58 +0000 (00:26 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 14 Apr 2017 21:21:24 +0000 (23:21 +0200)
commitf95caae504a894d804257674538640a9178dceb2
tree352b66917066ff6fccccbf6692c0aa15beba5dcd
parent220974b38dfcd557f4a6bc723e4b5d15add39f84
radv: add private push descriptors for meta

This allows meta to use push descriptors without disturbing user
push descriptors.

radv_meta_push_descriptor_set differs from vkCmdPushDescriptorSetKHR
in that partial updates are not supported; all descriptors used in
subsequent draw commands must be pushed at the same time.

Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h