dawn-cmake/test/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.wgsl

12 lines
176 B
WebGPU Shading Language

struct S {
matrix : mat4x3<f32>;
vector : vec3<f32>;
}
@group(0) @binding(0) var<uniform> data : S;
@stage(fragment)
fn main() {
let x = (data.vector * data.matrix);
}