Added descriptor_heap sample
Test Compilation / Build evk (push) Successful in 1m24s

This commit is contained in:
2026-05-10 22:41:11 +03:00
parent 446ce9ced1
commit f9332d9047
5 changed files with 407 additions and 0 deletions
@@ -0,0 +1,9 @@
#version 450
#pragma shader_stage(fragment)
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(0.f, 1.f, 0.f, 1.f);
}
@@ -0,0 +1,16 @@
#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];
// gl_Position = vec4(position, 0.0, 1.0);
}