mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
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();
|
|
}
|
|
|