You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
377 B
26 lines
377 B
#version 450
|
|
|
|
layout (local_size_x = 256) in;
|
|
|
|
struct Vertex {
|
|
vec3 position;
|
|
vec3 color;
|
|
vec3 normal;
|
|
};
|
|
|
|
layout (std430, set = 0, binding = 0) buffer VertexBuffer {
|
|
Vertex vertices[];
|
|
};
|
|
|
|
layout (std140, set = 1, binding = 0) uniform UBO {
|
|
float dt;
|
|
vec3 gravity;
|
|
};
|
|
|
|
layout (push_constant) uniform PushConstants {
|
|
uint state;
|
|
};
|
|
|
|
void main() {
|
|
|
|
} |