radv: Skip already signalled fences.
authorGustaw Smolarczyk <wielkiegie@gmail.com>
Wed, 5 Oct 2016 23:09:54 +0000 (01:09 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Oct 2016 23:24:09 +0000 (09:24 +1000)
commit24815bd7b3b50d2e634b56ca607856ecf08ec4ee
tree44f4f128434372265c21d45f1338669eafd44260
parentf4e499ec79147f4172f3669ae9dafd941aaeeb65
radv: Skip already signalled fences.

If the user created a fence with VK_FENCE_CREATE_SIGNALED_BIT set, we
shouldn't fail to wait for a fence if it was not submitted since that is
not necessary.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c