Add Vulkan Host-Shader compilation

Compiles Vulkan Host shaders into spirv binary files and embeds them
into the application's virtual file-system.
This commit is contained in:
Wunkolo 2023-08-16 21:11:25 -07:00
parent f62f1bf9b2
commit 97b6b7f122
3 changed files with 51 additions and 1 deletions

View file

@ -0,0 +1,7 @@
#version 460 core
layout(location = 0) in vec2 UV;
layout(location = 0) out vec4 FragColor;
layout(binding = 0) uniform sampler2D u_texture;
void main() { FragColor = texture(u_texture, UV); }