OSDN Git Service

radv/meta: use VK_NULL_HANDLE for handles
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 10 Dec 2016 19:10:04 +0000 (21:10 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 10 Dec 2016 20:46:56 +0000 (21:46 +0100)
commitec08666a2865423330a61b2a6a10ed7ab12e2a6f
tree1b208ed158af9917af07c7b9378351e4f2e247b5
parent9bff2c98847e6ea3958411c2be70c3f5e1d70032
radv/meta: use VK_NULL_HANDLE for handles

Otherwise we get 32bit warnings because handle is plain uint64_t there
and NULL is not suited to initialize that.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_blit2d.c
src/amd/vulkan/radv_meta_bufimage.c
src/amd/vulkan/radv_meta_resolve_cs.c