aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/winsys
diff options
context:
space:
mode:
authorRhys Perry <[email protected]>2020-03-19 20:13:52 +0000
committerMarge Bot <[email protected]>2020-03-20 09:51:06 +0000
commit500842399a350481d99c691c1053a6adab095bc8 (patch)
tree36cfba920e8eedf80a921a6484d3cc7fb22c526d /src/amd/vulkan/winsys
parent58deebe547014e64d8db3f8cc5e963efe7e0f743 (diff)
radv/winsys: set has_syncobj_wait_for_submit in the null winsys
Needed for Vulkan 1.1+ Signed-off-by: Rhys Perry <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4249> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4249>
Diffstat (limited to 'src/amd/vulkan/winsys')
-rw-r--r--src/amd/vulkan/winsys/null/radv_null_winsys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/winsys/null/radv_null_winsys.c b/src/amd/vulkan/winsys/null/radv_null_winsys.c
index 7ffd8c44db7..8724e27fe57 100644
--- a/src/amd/vulkan/winsys/null/radv_null_winsys.c
+++ b/src/amd/vulkan/winsys/null/radv_null_winsys.c
@@ -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;