mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
25 lines
332 B
GLSL
25 lines
332 B
GLSL
|
#version 450
|
||
|
|
||
|
layout(binding = 0, std430) buffer Foobar
|
||
|
{
|
||
|
vec4 _data[];
|
||
|
} Foobar_1;
|
||
|
|
||
|
layout(binding = 1, std430) buffer Foobaz
|
||
|
{
|
||
|
vec4 _data[];
|
||
|
} Foobaz_1;
|
||
|
|
||
|
layout(location = 0) out vec4 _entryPointOutput;
|
||
|
|
||
|
vec4 _main()
|
||
|
{
|
||
|
return Foobar_1._data[0] + Foobaz_1._data[0];
|
||
|
}
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
_entryPointOutput = _main();
|
||
|
}
|
||
|
|