Notice
Copyright (c) 2024 The Khronos Group Inc. Copyright terms at http://www.khronos.org/registry/speccopyright.html
Status
-
Approved by the SPIR-V Working Group: 2024-04-03
-
Approved by the Khronos Board of Promoters: 2024-05-17
Dependencies
This extension is written against the SPIR-V Specification, version 1.6 Revision 3.
This extension requires SPIR-V 1.0.
Overview
This extension adds instructions to create composite objects whose constituents all have the same value without requiring the value to be provided for each constituent.
Extension Name
To use this extension within a SPIR-V module, the following OpExtension must be present in the module:
OpExtension "SPV_EXT_replicated_composites"
Modifications to the SPIR-V Specification, Version 1.6
Capabilities
Modify Section 3.31, "Capability", adding these rows to the Capability table:
| Capability | Implicitly Declares | |
|---|---|---|
6024 |
ReplicatedCompositesEXT |
|
Instructions
Modify Section 3.42.7, "Constant-Creation Instructions", adding two new instructions:
Modify Section 3.42.12, "Composite Instructions", adding one new instruction: