6157bf3cae
- Add new Windows support - Use CMake/CTest instead of Make + shell scripts - Use --parallel in CTest - Fix CTest on Windows - Cleanups in test_shaders.py - Force specific commit for SPIRV-Headers - Fix Inf/NaN odd-ball case by moving to ASM
12 lines
329 B
GLSL
12 lines
329 B
GLSL
#version 450
|
|
#extension GL_ARB_gpu_shader_int64 : require
|
|
|
|
layout(location = 0) out vec3 FragColor;
|
|
layout(location = 0) flat in double vTmp;
|
|
|
|
void main()
|
|
{
|
|
FragColor = vec3(dvec3(uint64BitsToDouble(0x7ff0000000000000ul), uint64BitsToDouble(0xfff0000000000000ul), uint64BitsToDouble(0x7ff8000000000000ul)) + dvec3(vTmp));
|
|
}
|
|
|