radv: add helper for setting a descriptor.
authorDave Airlie <airlied@redhat.com>
Sun, 5 Nov 2017 23:15:52 +0000 (23:15 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 6 Nov 2017 01:11:00 +0000 (01:11 +0000)
commit3a0d0982522a995f15553d88cfef1c11de63a16c
tree2b398f1efcdc2f9b3ba7b8d316a9748ab005d38f
parentb48063a2f2682f62c096e1ea49b2b015eea8cfcc
radv: add helper for setting a descriptor.

This is just a simple refactor.

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