Safe Haskell | None |
---|---|
Language | Haskell2010 |
Name
VK_KHR_zero_initialize_workgroup_memory - device extension
VK_KHR_zero_initialize_workgroup_memory
- Name String
VK_KHR_zero_initialize_workgroup_memory
- Extension Type
- Device extension
- Registered Extension Number
- 326
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- Contact
- Last Modified Date
- 2020-11-18
- IP Status
- No known IP claims.
- Interactions and External Dependencies
- None
- Contributors
- Alan Baker, Google
- Jeff Bolz, Nvidia
- Jason Ekstrand, Intel
This extension allows the use of a null constant initializer on shader Workgroup memory variables, allowing implementations to expose any special hardware or instructions they may have. Zero initialization is commonly used by applications running untrusted content (e.g. web browsers) as way of defeating memory-scraping attacks.
New Structures
Extending
PhysicalDeviceFeatures2
,DeviceCreateInfo
:
New Enum Constants
Version History
Revision 1, 2020-11-18 (Alan Baker)
- Internal draft version
See Also
PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR
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
- data PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR = PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR {}
- type KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION = 1
- pattern KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION :: forall a. Integral a => a
- type KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME = "VK_KHR_zero_initialize_workgroup_memory"
- pattern KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR Source #
VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR - Structure describing support for zero initialization of workgroup memory by an implementation
Members
The member of the
PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR
structure
describe the following feature:
Description
If the PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR
structure is included in the pNext
chain of
PhysicalDeviceFeatures2
,
it is filled with a value indicating whether the feature is supported.
PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR
can also be
included in the pNext
chain of DeviceCreateInfo
to enable the features.
Valid Usage (Implicit)
See Also
Instances
pattern KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION :: forall a. Integral a => a Source #
type KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME = "VK_KHR_zero_initialize_workgroup_memory" Source #
pattern KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #