Tour of WGSL

Runtime expressions

Runtime-expressions are value expressions that typically evaluate during execution of the shader, although they might be fully or partially evaluated earlier, if possible.

All identifiers that resolve to var and let variables are runtime-expressions.