dawn-cmake/test/shader_io/vertex_output_builtins.wgsl...

13 lines
240 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_symbol_1 {
float4 value [[position]];
};
vertex tint_symbol_1 tint_symbol() {
tint_symbol_1 const tint_symbol_2 = {float4(1.0f, 2.0f, 3.0f, 4.0f)};
return tint_symbol_2;
}