SPIRV-Cross/reference/shaders-msl/amd/shader_trinary_minmax.msl21.comp
2019-07-13 16:43:57 -05:00

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);
}