One resolved identifier declaration. More...
#include "donner/gpu/shader/wgsl/Module.h"
Public Attributes | |
| SymbolKind | kind = SymbolKind::Let |
| Declaration category. | |
| Type | type |
| Resolved declared type. | |
| NameRef | name |
| Module-owned declaration name. | |
| SourceSpan | nameSpan |
| Name location in the source. | |
| bool | mutableValue = false |
| True only for a var declaration. | |
| ArenaId | bindingId = kInvalidArenaId |
| Binding arena item for Binding symbols. | |
| BuiltinValue | builtin = BuiltinValue::None |
| Entry-point parameter builtin. | |
| uint32_t | location = UINT32_MAX |
| Entry-point parameter location, if present. | |
| bool | flat = false |
| Explicit interstage flat interpolation. | |
| ArenaId | constantExpression = kInvalidArenaId |
| Initializer for module constants. | |
One resolved identifier declaration.
| ArenaId donner::gpu::shader::wgsl::Symbol::bindingId = kInvalidArenaId |
| BuiltinValue donner::gpu::shader::wgsl::Symbol::builtin = BuiltinValue::None |
Entry-point parameter builtin.
| ArenaId donner::gpu::shader::wgsl::Symbol::constantExpression = kInvalidArenaId |
Initializer for module constants.
| bool donner::gpu::shader::wgsl::Symbol::flat = false |
Explicit interstage flat interpolation.
| SymbolKind donner::gpu::shader::wgsl::Symbol::kind = SymbolKind::Let |
Declaration category.
| uint32_t donner::gpu::shader::wgsl::Symbol::location = UINT32_MAX |
Entry-point parameter location, if present.
| bool donner::gpu::shader::wgsl::Symbol::mutableValue = false |
True only for a var declaration.
| NameRef donner::gpu::shader::wgsl::Symbol::name |
Module-owned declaration name.
| SourceSpan donner::gpu::shader::wgsl::Symbol::nameSpan |
Name location in the source.
| Type donner::gpu::shader::wgsl::Symbol::type |
Resolved declared type.