radv: use separate bindings for graphics and compute descriptors
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 23 Jan 2018 11:10:44 +0000 (12:10 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Feb 2018 08:37:09 +0000 (09:37 +0100)
commit4922e7f25c1a42779bab11aff6489d8a39a17061
tree6f56b17524bf94465d5463264c108b7771a330d2
parentcf224014dd2d4e6651ae15d346e624065614e8fd
radv: use separate bindings for graphics and compute descriptors

The Vulkan spec says:

   "pipelineBindPoint is a VkPipelineBindPoint indicating whether
    the descriptors will be used by graphics pipelines or compute
    pipelines. There is a separate set of bind points for each of
    graphics and compute, so binding one does not disturb the other."

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104732
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_meta.c
src/amd/vulkan/radv_private.h