dawn-cmake/test/tint/expressions/index/let/literal/vector.wgsl.expected.msl

9 lines
146 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
float f() {
float3 const v = float3(1.0f, 2.0f, 3.0f);
return float3(1.0f, 2.0f, 3.0f)[1];
}