Dependencies
This extension is written against the SPIR-V Specification, Version 1.5 Revision 3.
This extension requires SPIR-V 1.0.
Overview
This extension adds a function decoration to request that loops meeting defined conditions be fused with each other.
Extension Name
To use this extension within a SPIR-V module, the following OpExtension must be present in the module:
OpExtension "SPV_ALTERA_loop_fuse"
New Decorations
This extension adds the following decoration under the LoopFuseALTERA capability:
FuseLoopsInFunctionALTERA
Modifications to the SPIR-V Specification, Version 1.5
Decoration
Modify Section 3.20, Decoration, adding the following row to the Decoration table:
| Decoration | Extra Operands | Enabling Capabilities | ||
|---|---|---|---|---|
5907 |
FuseLoopsInFunctionALTERA |
Literal |
Literal |
LoopFuseALTERA |