Started moving to a samples structure

This commit is contained in:
2026-05-07 03:03:35 +03:00
parent 3d37d30478
commit e4f033ea1a
8 changed files with 52 additions and 18 deletions
@@ -0,0 +1,15 @@
#version 450
#pragma shader_stage(vertex)
// in layout(location=0) vec2 position;
layout(set=0, binding=0) uniform data {
vec4 positions[3];
} vertexData;
void main() {
// gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
// gl_Position = vec4(position, 0.0, 1.0);
// gl_Position = vec4(inputData.positions[gl_VertexIndex], 0.0, 1.0);
gl_Position = vertexData.positions[gl_VertexIndex];
}