17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-07 00:22:56 +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

13
shaders/ogl46/copy.frag Normal file
View File

@@ -0,0 +1,13 @@
#version 460 core
#define STAGE_FRAGMENT 1
layout(location = 14) in vec2 f_coords;
#pragma texture(tex1, 0, sRGB)
layout(binding = 0) uniform sampler2D tex1;
layout(location = 0) out vec4 out_color;
void main()
{
out_color = texture(tex1, f_coords);
}