☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
reference
/
shaders-msl-no-opt
/
packing
/
array-of-vec4.comp
☽
☼
third_party/spirv-cross/reference/shaders-msl-no-opt/packing/array-of-vec4.comp
code
plain
raw
Apache-2.0
2012-2021, The Android Open Source Project; 2015-2021, Google LLC; 2017, Romain Guy
debian/copyright
1
#include <metal_stdlib>
2
#include <simd/simd.h>
3
4
using namespace metal;
5
6
struct SSBO
7
{
8
float4 v[16];
9
};
10
11
constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(1u);
12
13
kernel void main0(device SSBO& _13 [[buffer(0)]])
14
{
15
_13.v[1] = _13.v[0];
16
}
17