Welcome to mirror list, hosted at ThFree Co, Russian Federation.

inf-nan-constant.asm.frag « frag « asm « shaders-msl « opt « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8537dac19a13df6f7b2d2414fd48bb4e70fd574a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <metal_stdlib>
#include <simd/simd.h>

using namespace metal;

struct main0_out
{
    float3 FragColor [[color(0)]];
};

fragment main0_out main0()
{
    main0_out out = {};
    out.FragColor = float3(as_type<float>(0x7f800000u), as_type<float>(0xff800000u), as_type<float>(0x7fc00000u));
    return out;
}