From 386e777cad3a6cf325ecb459a050d107dd2a9d8e Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 4 Mar 2025 11:58:39 -0500 Subject: [PATCH] v3dv: fix clang warning Signed-off-by: Alyssa Rosenzweig Reviewed-by: Iago Toral Quiroga Part-of: --- src/broadcom/vulkan/v3dv_device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 9905a4e16a5..2a4eaa5b51c 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -1045,7 +1045,7 @@ get_device_properties(const struct v3dv_physical_device *device, .subgroupSize = V3D_CHANNELS, .subgroupSupportedStages = VK_SHADER_STAGE_COMPUTE_BIT | VK_SHADER_STAGE_FRAGMENT_BIT, - .subgroupSupportedOperations = VK_SUBGROUP_FEATURE_BASIC_BIT, + .subgroupSupportedOperations = subgroup_ops, .subgroupQuadOperationsInAllStages = false, .pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES, .maxMultiviewViewCount = MAX_MULTIVIEW_VIEW_COUNT, @@ -1230,8 +1230,6 @@ get_device_properties(const struct v3dv_physical_device *device, .maxComputeWorkgroupSubgroups = 16, /* 256 / 16 */ .requiredSubgroupSizeStages = VK_SHADER_STAGE_COMPUTE_BIT, - .subgroupSupportedOperations = subgroup_ops, - /* VK_KHR_maintenance5 */ .earlyFragmentMultisampleCoverageAfterSampleCounting = true, .earlyFragmentSampleMaskTestBeforeSampleCounting = true,