[−][src]Module spirv_std::storage_class
Storage Classes
Class of storage for declared variables. These types act as pointers to
values either contained in the GPU's memory. For example; Input<f32>
points to a
f32
that was provided as input from the pipeline, and Private<f32>
points to a f32
in the GPU's global memory. Intermediate values do not
form a storage class, and unless stated otherwise, storage class-based
restrictions are not restrictions on intermediate objects and their types.
Structs
AtomicCounter | Atomic counter-specific memory. |
CallableDataKHR | Used for storing arbitrary data associated with a ray to pass
to callables. (Requires |
CrossWorkgroup | OpenCL global memory. |
Function | Regular function memory. |
Generic | For generic pointers, which overload the |
HitAttributeKHR | Used for storing attributes of geometry intersected by a ray. (Requires
|
Image | Image memory. |
IncomingCallableDataKHR | Used for storing arbitrary data from parent sent to current callable
stage invoked from an |
IncomingRayPayloadKHR | Used for storing attributes of geometry intersected by a ray. (Requires
|
Input | Input from pipeline. |
Output | Output to pipeline. |
PhysicalStorageBuffer | Graphics storage buffers using physical addressing. (SPIR-V 1.5+) |
Private | Regular global memory. |
PushConstant | Push-constant memory. |
RayPayloadKHR | Used for storing payload data associated with a ray. (Requires
|
ShaderRecordBufferKHR | Used for storing data in shader record associated with each unique
shader in ray_tracing pipeline. (Requires
|
StorageBuffer | Graphics storage buffers (buffer blocks). |
Uniform | Graphics uniform blocks and buffer blocks. |
UniformConstant | Graphics uniform memory. OpenCL constant memory. |
Workgroup | The OpenGL "shared" storage qualifier. OpenCL local memory. |