dawn-cmake/test/tint/expressions/binary/sub/mat3x3-mat3x3/f32.wgsl.expected.dxc.hlsl

8 lines
302 B
HLSL

[numthreads(1, 1, 1)]
void f() {
const float3x3 a = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
const float3x3 b = float3x3(float3(-1.0f, -2.0f, -3.0f), float3(-4.0f, -5.0f, -6.0f), float3(-7.0f, -8.0f, -9.0f));
const float3x3 r = (a - b);
return;
}