Module valid

Source
Expand description

Shader validator.

Modulesยง

analyzer ๐Ÿ”’
Module analyzer.
compose ๐Ÿ”’
expression ๐Ÿ”’
function ๐Ÿ”’
handles ๐Ÿ”’
Implementation of Validator::validate_module_handles.
interface ๐Ÿ”’
type ๐Ÿ”’

Structsยง

Capabilities
Allowed IR capabilities.
ExpressionInfo
Information about an expression in a function body.
FunctionInfo
GlobalUse
Indicates how a global variable is used.
ModuleInfo
ShaderStages
Validation flags.
SubgroupOperationSet
Supported subgroup operations
TypeFlags
Flags associated with Types by Validator.
Uniformity
Uniform control flow characteristics.
UniformityRequirements
Kinds of expressions that require uniform control flow.
ValidationFlags
Validation flags.
Validator

Enumsยง

CallError
ComposeError
ConstExpressionError
ConstantError
Disalignment
EntryPointError
ExpressionError
FunctionError
GlobalVariableError
LiteralError
LocalVariableError
OverrideError
PushConstantError
SubgroupError
TypeError
ValidationError
VaryingError
WidthError

Constantsยง

MAX_TYPE_SIZE
Maximum size of a type, in bytes.

Functionsยง

check_literal_value
validate_atomic_compare_exchange_struct ๐Ÿ”’