initial commit-moved from vulkan_guide

This commit is contained in:
2025-10-10 22:53:54 +09:00
commit 8853429937
2484 changed files with 973414 additions and 0 deletions

10
shaders/fullscreen.vert Normal file
View File

@@ -0,0 +1,10 @@
#version 450
layout(location=0) out vec2 outUV;
void main() {
vec2 positions[3] = vec2[3](vec2(-1.0, -1.0), vec2(3.0, -1.0), vec2(-1.0, 3.0));
vec2 uvs[3] = vec2[3](vec2(0.0, 0.0), vec2(2.0, 0.0), vec2(0.0, 2.0));
gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
outUV = uvs[gl_VertexIndex];
}