VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR - Structure describing barycentric support in fragment shaders that can be supported by an implementation
Members
This structure describes the following feature:
Description
See Barycentric Interpolation for more information.
If the PhysicalDeviceFragmentShaderBarycentricFeaturesKHR structure is
included in the pNext chain of the
PhysicalDeviceFeatures2
structure passed to
getPhysicalDeviceFeatures2,
it is filled in to indicate whether each corresponding feature is
supported. If the application wishes to use a
Device with any features described by
PhysicalDeviceFragmentShaderBarycentricFeaturesKHR, it must add an
instance of the structure, with the desired feature members set to
TRUE, to the pNext chain of
DeviceCreateInfo when creating the
Device.
Structure Chaining
See Also
VK_KHR_fragment_shader_barycentric, VK_NV_fragment_shader_barycentric, Bool32, StructureType
Constructors
PhysicalDeviceFragmentShaderBarycentricFeaturesKHRfragmentShaderBarycentric :: BoolfragmentShaderBarycentricindicates that the implementation supports theBaryCoordKHRandBaryCoordNoPerspKHRSPIR-V fragment shader built-ins and supports thePerVertexKHRSPIR-V decoration on fragment shader input variables.
Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
Eq PhysicalDeviceFragmentShaderBarycentricFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_fragment_shader_barycentricShow PhysicalDeviceFragmentShaderBarycentricFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_fragment_shader_barycentricStorable PhysicalDeviceFragmentShaderBarycentricFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_fragment_shader_barycentricFromCStruct PhysicalDeviceFragmentShaderBarycentricFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_fragment_shader_barycentricToCStruct PhysicalDeviceFragmentShaderBarycentricFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_fragment_shader_barycentricZero PhysicalDeviceFragmentShaderBarycentricFeaturesKHRDefined in vulkan-3.27 · Vulkan.Extensions.VK_KHR_fragment_shader_barycentric