SPIRV-Cross/reference/opt/shaders-msl/frag/fp16.desktop.invalid.frag
Hans-Kristian Arntzen af75ef005f Update glslang and SPIRV-Tools.
A lot of changes in spirv-opt output.
Some new invalid SPIR-V was found but most of them were not significant
for SPIRV-Cross, so just marked them as invalid.
2018-09-27 11:10:22 +02:00

17 lines
227 B
GLSL

#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
struct main0_in
{
half4 v4 [[user(locn3)]];
};
fragment void main0(main0_in in [[stage_in]])
{
half4 _491;
half4 _563 = modf(in.v4, _491);
}