summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-10-19 03:49:42 -0700
committerGitHub <noreply@github.com>2023-10-19 18:49:42 +0800
commitd001a7b5eee4400150816e9962adaff183bfff35 (patch)
treee6c7d25258aba6056f231886d55cbb6963859c42 /premake5.lua
parent7826afcaad78cc33c976bb3db3cdc9eada4c77e8 (diff)
Add a tool to dump/replay compute pipeline creation from gfx. (#3275)
* Add a tool to dump/replay compute pipeline creation from gfx. * Fix x86 build. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index 98bb2b6a0..1af31bb4b 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -838,7 +838,7 @@ end
example "hello-world"
kind "ConsoleApp"
includedirs {"external/vulkan/include"}
---
+
-- Note how we are calling our custom `example()` subroutine with
-- the same syntax sugar that Premake usually advocates for their
-- `project()` function. This allows us to treat `example` as
@@ -1006,8 +1006,15 @@ tool "slangd"
uuid "B2D63B45-92B0-40F7-B242-CCA4DFD64341"
includedirs { "." }
links { "compiler-core", "core", "slang" }
+
+tool "vk-pipeline-create"
+ uuid "9ED23316-AE8B-4018-9407-271F4DDB8CBA"
+ includedirs { ".", "external/vulkan/include"}
+ files { "examples/hello-world/vulkan-api.cpp", "examples/hello-world/vulkan-api.h" }
+ links { "slang", "gfx", "gfx-util", "platform", "core" }
--
+--
-- `slang-generate` is a tool we use for source code generation on
-- the compiler. It depends on the `core` library, so we need to
-- declare that: