ca91fcfe5f
This requires MSL 2.1.
15 lines
259 B
Plaintext
15 lines
259 B
Plaintext
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
constant uint3 gl_WorkGroupSize [[maybe_unused]] = uint3(64u, 1u, 1u);
|
|
|
|
kernel void main0()
|
|
{
|
|
int t11 = min3(0, 3, 2);
|
|
int t12 = max3(0, 3, 2);
|
|
int t13 = median3(0, 3, 2);
|
|
}
|
|
|