mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 23:54:06 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
20 lines
282 B
GLSL
20 lines
282 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
precision highp int;
|
|
|
|
struct SwizzleTest
|
|
{
|
|
float a;
|
|
float b;
|
|
};
|
|
|
|
layout(location = 0) in vec2 foo;
|
|
layout(location = 0) out float FooOut;
|
|
|
|
void main()
|
|
{
|
|
SwizzleTest _22 = SwizzleTest(foo.x, foo.y);
|
|
FooOut = _22.a + _22.b;
|
|
}
|
|
|