SPIRV-Cross/reference/opt/shaders-msl/frag/fp16.desktop.frag

23 lines
277 B
GLSL
Raw Normal View History

2018-03-07 09:24:21 +00:00
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct ResType
{
half4 _m0;
int4 _m1;
};
struct main0_in
{
half4 v4 [[user(locn3)]];
};
fragment void main0(main0_in in [[stage_in]])
{
half4 _505;
half4 _577 = modf(in.v4, _505);
}