fn get_inner_matrix_of_global_uniform(
module: &Module,
base: Handle<Expression>,
func_ctx: &FunctionCtx<'_>,
) -> Option<MatrixType>
Expand description
Returns the matrix data if the access chain starting at base
:
- starts with an expression with resolved type of
TypeInner::Matrix
- contains zero or more expressions with resolved type of
TypeInner::Array
ofTypeInner::Matrix
- ends with an
Expression::GlobalVariable
inAddressSpace::Uniform