mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 00:40:09 +00:00
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
22 lines
299 B
GLSL
22 lines
299 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
precision highp int;
|
|
|
|
struct Foo
|
|
{
|
|
float var1;
|
|
float var2;
|
|
};
|
|
|
|
layout(binding = 0) uniform mediump sampler2D uSampler;
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
Foo _22;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(uSampler, vec2(_22.var1, _22.var2));
|
|
}
|
|
|