mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
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;
|
||
|
}
|
||
|
|