dawn-cmake/test/tint/expressions/binary/mul/mat3x3-vec3/f16.wgsl

12 lines
182 B
WebGPU Shading Language

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