Expand description
Pass: texture-sampling UV coercion (tex2D / GetPixel / GetBlur*).
FunctionsΒ§
- coerce_
texture_ πuv_ args - For every
tex2D(sampler, expr)call whereexpris inferred as a vec3 or vec4 (not vec2), wrapexprin parens and append.xy. HLSL silently truncates non-vec2 UV args; WGSL rejects them. The regex pipeline doesnβt reach into call args at this depth. - walk_
block_ πfor_ uv - walk_
expr_ πfor_ uv - walk_
stmt_ πfor_ uv