mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 00:32:49 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
13 lines
253 B
GLSL
13 lines
253 B
GLSL
#version 450
|
|
|
|
layout(location = 0) flat in uint FP16;
|
|
layout(location = 1) flat in vec2 FP32;
|
|
layout(location = 0) out vec2 FP32Out;
|
|
layout(location = 1) out uint FP16Out;
|
|
|
|
void main()
|
|
{
|
|
FP32Out = unpackHalf2x16(FP16);
|
|
FP16Out = packHalf2x16(FP32);
|
|
}
|