radv/winsys: set has_syncobj_wait_for_submit in the null winsys
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 19 Mar 2020 20:13:52 +0000 (20:13 +0000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Mar 2020 09:51:06 +0000 (09:51 +0000)
Needed for Vulkan 1.1+

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4249>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4249>

src/amd/vulkan/winsys/null/radv_null_winsys.c

index 7ffd8c44db75c0950769c056db53d255e974faca..8724e27fe57540fca732b5a037e9c752e7e3d704 100644 (file)
@@ -109,6 +109,7 @@ static void radv_null_winsys_query_info(struct radeon_winsys *rws,
        }
 
        info->pci_id = radv_null_winsys_get_pci_id(info->family);
+       info->has_syncobj_wait_for_submit = true;
        info->max_se = 4;
        info->max_wave64_per_simd = info->family >= CHIP_POLARIS10 &&
                                    info->family <= CHIP_VEGAM ? 8 : 10;