15 lines
196 B
Plaintext
15 lines
196 B
Plaintext
#version 450
|
|
layout(local_size_x = 1) in;
|
|
|
|
layout(std140, set = 0, binding = 0) buffer SSBO
|
|
{
|
|
layout(offset = 16) float a;
|
|
layout(offset = 40) float b;
|
|
};
|
|
|
|
void main()
|
|
{
|
|
a = 10.0;
|
|
b = 20.0;
|
|
}
|