dawn-cmake/test/tint/shadowing/short_names/const.wgsl

11 lines
117 B
WebGPU Shading Language

alias a = vec3f;
fn f() {
{
const vec3f = 1;
const b = vec3f;
}
const c = a();
const d = vec3f();
}