dawn-cmake/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl

11 lines
170 B
WebGPU Shading Language
Raw Normal View History

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