8 lines
126 B
WebGPU Shading Language
8 lines
126 B
WebGPU Shading Language
|
fn f() {
|
||
|
const m = mat4x2(0, 0, 0, 0, 4.0, 0, 0, 0);
|
||
|
const v = vec2(0, 1);
|
||
|
var i = 1;
|
||
|
var a = m[i];
|
||
|
var b = v[i];
|
||
|
}
|