mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
19 lines
220 B
Plaintext
19 lines
220 B
Plaintext
|
#version 450
|
||
|
layout(local_size_x = 1) in;
|
||
|
|
||
|
layout(std430, set = 0, binding = 0) buffer SSBO
|
||
|
{
|
||
|
float a;
|
||
|
float b;
|
||
|
float c;
|
||
|
float d;
|
||
|
float e;
|
||
|
};
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
c = distance(a, b);
|
||
|
d = length(a);
|
||
|
e = normalize(a);
|
||
|
}
|