Graphics pipeline

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-12-04 13:31:00 +02:00
parent 933b7c65fd
commit d1f79ac252
10 changed files with 439 additions and 21 deletions

View File

@@ -15,11 +15,13 @@ endif
shader_sources = files(
'gradient.comp',
'triangle.frag',
'triangle.vert',
)
spirv_shaders = []
foreach shader : shader_sources
shader_name = fs.stem(shader)
shader_name = fs.stem(shader.full_path().replace('.', '_'))
spirv_shaders += custom_target(
shader_name + '_spv',
input : shader,