Debian Codegraph @

third_party/spirv-cross/reference/shaders-msl-no-opt/asm/comp/constant-composite-undef.asm.comp

raw
1 #include <metal_stdlib>
2 #include <simd/simd.h>
3
4 using namespace metal;
5
6 struct Block
7 {
8 float4 f;
9 };
10
11 constant float _15 = {};
12
13 kernel void main0(device Block& block [[buffer(0)]])
14 {
15 block.f = float4(0.100000001490116119384765625, 0.20000000298023223876953125, 0.300000011920928955078125, 0.0);
16 }
17