mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 07:43:52 +00:00
git-subtree-dir: deps/glslang-new git-subtree-split: 5fe506a8ba0ce5629004d593da16db7f3f57c58b
19 lines
314 B
GLSL
19 lines
314 B
GLSL
#version 310 es
|
|
|
|
precision highp float;
|
|
layout(location=0) out float o;
|
|
|
|
struct S { float f; };
|
|
buffer b1 { S s[]; };
|
|
buffer b2 { S s[]; } b2name;
|
|
buffer b3 { S s[]; } b3name[];
|
|
buffer b4 { S s[]; } b4name[4];
|
|
|
|
void main()
|
|
{
|
|
o = s[5].f;
|
|
o += b2name.s[6].f;
|
|
o += b3name[3].s[7].f;
|
|
o += b4name[2].s[8].f;
|
|
}
|