Skip to main content

Module writer

Module writer 

Source

Structsยง

BindingArraySamplerInfo ๐Ÿ”’
Information for how to generate a binding_array<sampler> access.
EntryPointBinding ๐Ÿ”’
Structure contains information required for generating wrapped structure of all entry points arguments
EntryPointInterface ๐Ÿ”’
EpStructMember ๐Ÿ”’
MatrixType ๐Ÿ”’
NestedEntryPointArgs ๐Ÿ”’
Argument list for nested entry points

Enumsยง

Index ๐Ÿ”’
InterfaceKey ๐Ÿ”’
Io ๐Ÿ”’

Constantsยง

ABS_FUNCTION ๐Ÿ”’
COMPARISON_SAMPLER_HEAP_VAR ๐Ÿ”’
DIV_FUNCTION ๐Ÿ”’
EXTRACT_BITS_FUNCTION ๐Ÿ”’
F2I32_FUNCTION ๐Ÿ”’
F2I64_FUNCTION ๐Ÿ”’
F2U32_FUNCTION ๐Ÿ”’
F2U64_FUNCTION ๐Ÿ”’
FREXP_FUNCTION ๐Ÿ”’
IMAGE_LOAD_EXTERNAL_FUNCTION ๐Ÿ”’
IMAGE_SAMPLE_BASE_CLAMP_TO_EDGE_FUNCTION ๐Ÿ”’
INSERT_BITS_FUNCTION ๐Ÿ”’
INTERNAL_PREFIX ๐Ÿ”’
Prefix for variables in a naga statement
LOCATION_SEMANTIC ๐Ÿ”’
MODF_FUNCTION ๐Ÿ”’
MOD_FUNCTION ๐Ÿ”’
NEG_FUNCTION ๐Ÿ”’
RAY_QUERY_TRACKER_VARIABLE_PREFIX ๐Ÿ”’
SAMPLER_HEAP_VAR ๐Ÿ”’
SAMPLE_EXTERNAL_TEXTURE_FUNCTION ๐Ÿ”’
SPECIAL_CBUF_TYPE ๐Ÿ”’
SPECIAL_CBUF_VAR ๐Ÿ”’
SPECIAL_FIRST_INSTANCE ๐Ÿ”’
SPECIAL_FIRST_VERTEX ๐Ÿ”’
SPECIAL_OTHER ๐Ÿ”’

Functionsยง

discards_frag_depth ๐Ÿ”’
Returns true if the depth that entry_point writes must be discarded.
find_matrix_in_access_chain ๐Ÿ”’
If base is an access chain of the form mat, mat[col], or mat[col][row], returns a tuple of the matrix, the column (vector) index (if present), and the row (scalar) index (if present).
get_inner_matrix_data ๐Ÿ”’
get_inner_matrix_of_global_uniform ๐Ÿ”’
Returns the matrix data if the access chain starting at base:
get_inner_matrix_of_struct_array_member ๐Ÿ”’
Returns the matrix data if the access chain starting at base:
is_frag_depth ๐Ÿ”’
Returns true if binding is the depth that a fragment shader writes.
is_subgroup_builtin_binding ๐Ÿ”’
only_writes_discarded_depth ๐Ÿ”’
Returns true if entry_point has nothing to return once its depth is discarded.
returns_nothing ๐Ÿ”’
Returns true if the function described by func_ctx is an entry point that returns nothing, because the only thing it would return is a depth that is discarded.
shared_early_depth_test ๐Ÿ”’
Gets the early depth test of the fragment entry points in entry_points that return ty.