diff options
author | Fredrik Höglund <fredrik@kde.org> | 2016-10-25 20:31:41 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-27 11:17:55 +0100 |
commit | 8ec30b87c0f4a7b7fb7adc86ce2429b40b8b557d (patch) | |
tree | 2ed705b598ef7ad032407784f29a8a05a657aa49 /src/amd/vulkan/radv_device.c | |
parent | cc5995d9e65fc10703304744a9e58e1a518ad88c (diff) | |
download | external_mesa3d-8ec30b87c0f4a7b7fb7adc86ce2429b40b8b557d.zip external_mesa3d-8ec30b87c0f4a7b7fb7adc86ce2429b40b8b557d.tar.gz external_mesa3d-8ec30b87c0f4a7b7fb7adc86ce2429b40b8b557d.tar.bz2 |
radv: mark the fence as submitted and signalled in vkAcquireNextImageKHR
This stops the debug layers from complaining when fences are used to
throttle image acquisition.
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 0a153f4ee472f8f17575bbfe05f1c96fb5ecf1ea)
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index af5a151..7410bbc 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -44,12 +44,6 @@ #include "util/debug.h" struct radv_dispatch_table dtable; -struct radv_fence { - struct radeon_winsys_fence *fence; - bool submitted; - bool signalled; -}; - static VkResult radv_physical_device_init(struct radv_physical_device *device, struct radv_instance *instance, |