## C Specification

The VkPhysicalDeviceSubpassShadingPropertiesHUAWEI structure is defined as:

// Provided by VK_HUAWEI_subpass_shading
VkStructureType    sType;
void*              pNext;
} VkPhysicalDeviceSubpassShadingPropertiesHUAWEI;

## Members

• sType is the type of this structure.

• pNext is NULL or a pointer to a structure extending this structure.

• maxSubpassShadingWorkgroupSizeAspectRatio indicates the maximum ratio between the width and height of the portion of the subpass shading shader workgroup size. maxSubpassShadingWorkgroupSizeAspectRatio must be a power-of-two value, and must be less than or equal to max(WorkgroupSize.x / WorkgroupSize.y, WorkgroupSize.y / WorkgroupSize.x).

## Description

If the VkPhysicalDeviceSubpassShadingPropertiesHUAWEI structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to vkGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI