vulkan-3.24.5: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_ARM_shader_core_builtins

Description

Name

VK_ARM_shader_core_builtins - device extension

VK_ARM_shader_core_builtins

Name String
VK_ARM_shader_core_builtins
Extension Type
Device extension
Registered Extension Number
498
Revision
2
Extension and Version Dependencies
  • Requires support for Vulkan 1.0
Contact

Other Extension Metadata

Last Modified Date
2022-10-05
Interactions and External Dependencies
Contributors
  • Kevin Petit, Arm Ltd.
  • Jan-Harald Fredriksen, Arm Ltd.

Description

This extension provides the ability to determine device-specific properties on Arm GPUs. It exposes properties for the number of shader cores, the maximum number of warps that can run on a shader core, and shader builtins to enable invocations to identify which core and warp a shader invocation is executing on.

This extension enables support for the SPIR-V CoreBuiltinsARM capability.

These properties and built-ins can be used for debugging or performance optimisation purposes. A typical optimisation example would be to use CoreIDARM to select a per-shader-core instance of a data structure in algorithms that use atomics so as to reduce contention.

New Structures

New Enum Constants

New or Modified Built-In Variables

New SPIR-V Capabilities

Issues

None.

Version History

  • Revision 1, 2022-10-05 (Kevin Petit)

    • Initial revision
  • Revision 2, 2022-10-26 (Kevin Petit)

    • Add shaderCoreMask property

See Also

PhysicalDeviceShaderCoreBuiltinsFeaturesARM, PhysicalDeviceShaderCoreBuiltinsPropertiesARM

Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

Synopsis

Documentation

data PhysicalDeviceShaderCoreBuiltinsPropertiesARM Source #

VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM - Structure describing shader core builtins properties supported by an implementation

Description

If the PhysicalDeviceShaderCoreBuiltinsPropertiesARM structure is included in the pNext chain of the PhysicalDeviceProperties2 structure passed to getPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

See Also

VK_ARM_shader_core_builtins, StructureType

Constructors

PhysicalDeviceShaderCoreBuiltinsPropertiesARM 

Fields

  • shaderCoreMask :: Word64

    shaderCoreMask is a bitfield where each bit set represents the presence of a shader core whose ID is the bit position. The highest ID for any shader core on the device is the position of the most significant bit set.

  • shaderCoreCount :: Word32

    shaderCoreCount is the number of shader cores on the device.

  • shaderWarpsPerCore :: Word32

    shaderWarpsPerCore is the maximum number of simultaneously executing warps on a shader core.

Instances

Instances details
Storable PhysicalDeviceShaderCoreBuiltinsPropertiesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

Show PhysicalDeviceShaderCoreBuiltinsPropertiesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

Eq PhysicalDeviceShaderCoreBuiltinsPropertiesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

FromCStruct PhysicalDeviceShaderCoreBuiltinsPropertiesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

ToCStruct PhysicalDeviceShaderCoreBuiltinsPropertiesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

Zero PhysicalDeviceShaderCoreBuiltinsPropertiesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

data PhysicalDeviceShaderCoreBuiltinsFeaturesARM Source #

VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM - Structure describing the shader core builtins features that can be supported by an implementation

Members

This structure describes the following feature:

Description

If the PhysicalDeviceShaderCoreBuiltinsFeaturesARM 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. PhysicalDeviceShaderCoreBuiltinsFeaturesARM can also be used in the pNext chain of DeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

See Also

VK_ARM_shader_core_builtins, Bool32, StructureType

Constructors

PhysicalDeviceShaderCoreBuiltinsFeaturesARM 

Fields

  • shaderCoreBuiltins :: Bool

    shaderCoreBuiltins indicates whether the implementation supports the SPIR-V CoreBuiltinsARM capability.

Instances

Instances details
Storable PhysicalDeviceShaderCoreBuiltinsFeaturesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

Show PhysicalDeviceShaderCoreBuiltinsFeaturesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

Eq PhysicalDeviceShaderCoreBuiltinsFeaturesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

FromCStruct PhysicalDeviceShaderCoreBuiltinsFeaturesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

ToCStruct PhysicalDeviceShaderCoreBuiltinsFeaturesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

Zero PhysicalDeviceShaderCoreBuiltinsFeaturesARM Source # 
Instance details

Defined in Vulkan.Extensions.VK_ARM_shader_core_builtins

type ARM_SHADER_CORE_BUILTINS_EXTENSION_NAME = "VK_ARM_shader_core_builtins" Source #