☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
third_party
/
spirv-cross
/
reference
/
shaders-msl
/
amd
/
shader_trinary_minmax.msl21.comp
☽
☼
third_party/spirv-cross/reference/shaders-msl/amd/shader_trinary_minmax.msl21.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
constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(64u, 1u, 1u);
7
8
kernel void main0()
9
{
10
int t11 = min3(0, 3, 2);
11
int t12 = max3(0, 3, 2);
12
int t13 = median3(0, 3, 2);
13
}
14