Module spv

Source
Expand description

Backend for SPIR-V (Standard Portable Intermediate Representation).

ModulesΒ§

block πŸ”’
Implementations for BlockContext methods.
f16_polyfill πŸ”’
This module provides functionality for polyfilling f16 input/output variables when the StorageInputOutput16 capability is not available or disabled.
helpers πŸ”’
image πŸ”’
Generating SPIR-V for image operations.
index πŸ”’
Bounds-checking for SPIR-V output.
instructions πŸ”’
layout πŸ”’
ray πŸ”’
Generating SPIR-V for ray query operations.
recyclable πŸ”’
Reusing collections’ previous allocations.
selection πŸ”’
Generate SPIR-V conditional structures.
subgroup πŸ”’
writer πŸ”’

StructsΒ§

BindingInfo
Block πŸ”’
A SPIR-V block to which we are still adding instructions.
BlockContext πŸ”’
General information needed to emit SPIR-V for Naga statements.
CachedExpressions πŸ”’
A map from evaluated Expressions to their SPIR-V ids.
DebugInfo
EntryPointContext πŸ”’
ExpressionConstnessTracker πŸ”’
Tracks the expressions for which the backend emits the following instructions:
Function πŸ”’
FunctionArgument πŸ”’
GlobalVariable πŸ”’
The SPIR-V representation of a crate::GlobalVariable.
IdGenerator πŸ”’
ImageTypeFlags
Flags corresponding to the boolean(-ish) parameters to OpTypeImage.
Instruction πŸ”’
LocalImageType πŸ”’
Characteristics of a SPIR-V OpTypeImage type.
LocalVariable πŸ”’
LogicalLayout πŸ”’
LookupFunctionType πŸ”’
Options
PhysicalLayout πŸ”’
PipelineOptions
ResultMember πŸ”’
TerminatedBlock πŸ”’
A SPIR-V block that ends with a termination instruction.
Writer
WriterFlags

EnumsΒ§

CachedConstant πŸ”’
Capability
SPIR-V operand kind: Capability
Dimension πŸ”’
Error
LocalType πŸ”’
A SPIR-V type constructed during code generation.
LookupType πŸ”’
A type encountered during SPIR-V generation.
NumericType πŸ”’
A numeric type, for use in LocalType.
SourceLanguage
SPIR-V operand kind: SourceLanguage
WrappedFunction πŸ”’
Key used to look up an operation which we have wrapped in a helper function, which should be called instead of directly emitting code for the expression. See Writer::wrapped_functions.
ZeroInitializeWorkgroupMemoryMode

ConstantsΒ§

BITS_PER_BYTE πŸ”’

FunctionsΒ§

write_vec

Type AliasesΒ§

BindingMap