From bb8d47b09b9029c3b20c436ed83f6247601c5791 Mon Sep 17 00:00:00 2001 From: Jarred Davies Date: Thu, 23 Feb 2023 05:16:16 +0000 Subject: [PATCH] pvr: Always mark robustBufferAccess as supported As per the Vulkan spec, this is a required feature for graphics implementations. Signed-off-by: Jarred Davies Reviewed-by: Frank Binns Part-of: --- src/imagination/common/pvr_device_info.c | 1 - src/imagination/common/pvr_device_info.h | 1 - src/imagination/vulkan/pvr_device.c | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/imagination/common/pvr_device_info.c b/src/imagination/common/pvr_device_info.c index f26f7d4395f..d1fd295ceed 100644 --- a/src/imagination/common/pvr_device_info.c +++ b/src/imagination/common/pvr_device_info.c @@ -53,7 +53,6 @@ const struct pvr_device_features pvr_device_features_4_V_2_51 = { .has_num_clusters = true, .has_num_raster_pipes = true, .has_num_user_clip_planes = true, - .has_robust_buffer_access = true, .has_slc_cache_line_size_bits = true, .has_slc_mcu_cache_controls = true, .has_tf_bicubic_filter = true, diff --git a/src/imagination/common/pvr_device_info.h b/src/imagination/common/pvr_device_info.h index 2a5803cbd0b..4ed26df8433 100644 --- a/src/imagination/common/pvr_device_info.h +++ b/src/imagination/common/pvr_device_info.h @@ -269,7 +269,6 @@ struct pvr_device_features { bool has_paired_tiles : 1; bool has_pbe2_in_xe : 1; bool has_pds_ddmadt : 1; - bool has_robust_buffer_access : 1; bool has_roguexe : 1; bool has_screen_size8K : 1; bool has_simple_internal_parameter_format : 1; diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index b4a69bf2baf..ba8db0a084e 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -609,8 +609,7 @@ void pvr_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, PVR_FROM_HANDLE(pvr_physical_device, pdevice, physicalDevice); pFeatures->features = (VkPhysicalDeviceFeatures){ - .robustBufferAccess = - PVR_HAS_FEATURE(&pdevice->dev_info, robust_buffer_access), + .robustBufferAccess = true, .fullDrawIndexUint32 = true, .imageCubeArray = true, .independentBlend = false,