radv: fix GetFenceStatus for signaled fences
authorDave Airlie <airlied@redhat.com>
Wed, 9 Nov 2016 01:21:30 +0000 (01:21 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 9 Nov 2016 19:49:26 +0000 (19:49 +0000)
commitfb50245ac1e1eb60b2451d9d6dd05388cb89634a
tree33a1dc862ea0410634d78ceaea8e5fbeaff5a6ef
parent3c9af7578fcd62fc55e0443733f56b2aaa50ba9c
radv: fix GetFenceStatus for signaled fences

if a fence is created pre-signaled we should return that
in GetFenceStatus even if it hasn't been submitted.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Gustaw Smolarczyk <wielkiegie@gmail.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c