diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-04 16:06:55 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-04 16:06:55 +1000 |
commit | 509dd53c645b4f917bd83defb7c485a71be15f46 (patch) | |
tree | cc8a29320c5e11d0654d5287fd8e1afb6b88e1f2 /xmake.lua | |
parent | b8a6744ac44027fb86e6423bef35fb1b90ad7873 (diff) |
compile glsl to spirv for triangle shader
Diffstat (limited to 'xmake.lua')
-rw-r--r-- | xmake.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -110,10 +110,10 @@ target("core_config") add_includedirs("src/std/containers", {public = true}) add_includedirs("src/systems/", {public = true}) add_files("src/empty.c") -- for some reason we need this on Mac so it doesnt call 'ar' with no files and error - -- add_rules("compile_glsl_vert_shaders") - -- add_rules("compile_glsl_frag_shaders") - -- add_files("assets/shaders/object.vert") - -- add_files("assets/shaders/object.frag") + add_rules("compile_glsl_vert_shaders") + add_rules("compile_glsl_frag_shaders") + add_files("assets/shaders/triangle.vert") + add_files("assets/shaders/triangle.frag") -- add_files("assets/shaders/*.frag") if is_plat("windows") then add_includedirs("$(env VULKAN_SDK)/Include", {public = true}) |