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
28 lines
569 B
GLSL
28 lines
569 B
GLSL
#version 450
|
|
|
|
layout(location = 0) flat out float vFlat;
|
|
layout(location = 1) centroid out float vCentroid;
|
|
layout(location = 2) sample out float vSample;
|
|
layout(location = 3) noperspective out float vNoperspective;
|
|
|
|
layout(location = 4) out Block
|
|
{
|
|
flat float vFlat;
|
|
centroid float vCentroid;
|
|
sample float vSample;
|
|
noperspective float vNoperspective;
|
|
} vout;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(1.0);
|
|
vFlat = 0.0;
|
|
vCentroid = 1.0;
|
|
vSample = 2.0;
|
|
vNoperspective = 3.0;
|
|
vout.vFlat = 0.0;
|
|
vout.vCentroid = 1.0;
|
|
vout.vSample = 2.0;
|
|
vout.vNoperspective = 3.0;
|
|
}
|