17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-01 20:35:04 +01:00

feat(vulkan): vulkan 1.4 core with the user interface and the launcher, shaders split into ogl46/vk14 with SPIR-V binaries loaded first

This commit is contained in:
2026-10-24 05:47:11 +02:00
parent 68fa5dc2da
commit bd589f272d
235 changed files with 9397 additions and 3975 deletions

View File

@@ -1,17 +0,0 @@
layout(location = 0) in vec3 v_vert;
layout(location = 1) in vec3 v_color;
out vec3 f_color;
out vec4 f_pos;
out vec4 f_clip_pos;
#include <common>
void main()
{
f_pos = modelview * vec4(v_vert, 1.0);
f_clip_pos = (projection * modelview) * vec4(v_vert, 1.0);
f_color = pow(v_color, vec3(1.0));
gl_Position = f_clip_pos;
}