summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-04 16:06:55 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-04 16:06:55 +1000
commit509dd53c645b4f917bd83defb7c485a71be15f46 (patch)
treecc8a29320c5e11d0654d5287fd8e1afb6b88e1f2 /xmake.lua
parentb8a6744ac44027fb86e6423bef35fb1b90ad7873 (diff)
compile glsl to spirv for triangle shader
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake.lua b/xmake.lua
index 949dd76..882535d 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -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})