使用Vulkan画出第一个三角形

This commit is contained in:
2026-08-31 13:23:09 +08:00
parent b5bd7fa1f5
commit 3a90e8408d
11 changed files with 1308 additions and 6 deletions
+9
View File
@@ -0,0 +1,9 @@
#version 450
layout(location = 0) in vec3 fragColor;
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(fragColor, 1.0);
}