SPIRV-Cross/reference/opt/shaders/frag/inf-nan-constant.frag

12 lines
240 B
GLSL
Raw Normal View History

#version 310 es
precision mediump float;
precision highp int;
layout(location = 0) out highp vec3 FragColor;
void main()
{
FragColor = vec3(uintBitsToFloat(0x7f800000u), uintBitsToFloat(0xff800000u), uintBitsToFloat(0xffc00000u));
}