radv: only bind descriptor sets to stages that need them
authorDave Airlie <airlied@redhat.com>
Mon, 28 Nov 2016 00:46:00 +0000 (00:46 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Dec 2016 23:25:38 +0000 (23:25 +0000)
commita74a4edc90a6a6fddfcf5e5d72c301bcf13ad125
treebdeb21808a93f31736f414e6a5d86252ba616599
parent85118a1e4d27cdb7a3c5b958f325954c7166a647
radv: only bind descriptor sets to stages that need them

This copies the push constant code and only binds descriptor
sets to the stages that need them. It also now has to dirty
descriptors on pipeline binds.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c