One declared function. More...
#include "donner/gpu/shader/wgsl/Module.h"
Public Attributes | |
| NameRef | name |
| Module-owned function name. | |
| SourceSpan | nameSpan |
| Name location in the source. | |
| Type | returnType |
| Void for a function without a result. | |
| ArenaId | firstParameter = kInvalidArenaId |
| First parameter Symbol arena item. | |
| uint16_t | parameterCount = 0 |
| Number of parameters. | |
| ArenaId | firstStatement = kInvalidArenaId |
| First body statement. | |
| Stage | stage = Stage::None |
| Helper or compute entry point. | |
| std::array< uint32_t, 3 > | workgroupSize = {1, 1, 1} |
| Compute workgroup dimensions. | |
| InterfaceDecoration | returnInterface |
| Direct return-value decoration. | |
| uint32_t | resourceMask = 0 |
| Resources statically accessed, including called helpers. | |
| bool | hasLocalArrays = false |
| Requires function-local array storage or temporaries. | |
| uint16_t | firstInput = 0 |
| First flattened entry input in the interface-variable arena. | |
| uint16_t | inputCount = 0 |
| Number of flattened entry inputs. | |
| uint16_t | firstOutput = 0 |
| First flattened entry output in the interface-variable arena. | |
| uint16_t | outputCount = 0 |
| Number of flattened entry outputs. | |
One declared function.
| uint16_t donner::gpu::shader::wgsl::Function::firstInput = 0 |
First flattened entry input in the interface-variable arena.
| uint16_t donner::gpu::shader::wgsl::Function::firstOutput = 0 |
First flattened entry output in the interface-variable arena.
| ArenaId donner::gpu::shader::wgsl::Function::firstParameter = kInvalidArenaId |
First parameter Symbol arena item.
| ArenaId donner::gpu::shader::wgsl::Function::firstStatement = kInvalidArenaId |
First body statement.
| bool donner::gpu::shader::wgsl::Function::hasLocalArrays = false |
Requires function-local array storage or temporaries.
| uint16_t donner::gpu::shader::wgsl::Function::inputCount = 0 |
Number of flattened entry inputs.
| NameRef donner::gpu::shader::wgsl::Function::name |
Module-owned function name.
| SourceSpan donner::gpu::shader::wgsl::Function::nameSpan |
Name location in the source.
| uint16_t donner::gpu::shader::wgsl::Function::outputCount = 0 |
Number of flattened entry outputs.
| uint16_t donner::gpu::shader::wgsl::Function::parameterCount = 0 |
Number of parameters.
| uint32_t donner::gpu::shader::wgsl::Function::resourceMask = 0 |
Resources statically accessed, including called helpers.
| InterfaceDecoration donner::gpu::shader::wgsl::Function::returnInterface |
Direct return-value decoration.
| Type donner::gpu::shader::wgsl::Function::returnType |
Void for a function without a result.
| Stage donner::gpu::shader::wgsl::Function::stage = Stage::None |
Helper or compute entry point.
| std::array<uint32_t, 3> donner::gpu::shader::wgsl::Function::workgroupSize = {1, 1, 1} |
Compute workgroup dimensions.