From d001a7b5eee4400150816e9962adaff183bfff35 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 19 Oct 2023 03:49:42 -0700 Subject: 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 --- premake5.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'premake5.lua') 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,7 +1006,14 @@ 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 -- cgit v1.2.3