gpu-dawn: use source scanning for spvtools_val target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3368fa9da0
commit
9b57f73319
2 changed files with 8 additions and 41 deletions
|
|
@ -997,7 +997,14 @@ fn buildLibSPIRVTools(b: *Builder, step: *std.build.LibExeObjStep, options: Opti
|
|||
) catch unreachable;
|
||||
|
||||
// spvtools_val
|
||||
sources.append(thisDir() ++ "/src/dawn/sources/spirv_tools_val.cpp") catch unreachable;
|
||||
scanSources(
|
||||
b,
|
||||
&sources,
|
||||
"libs/dawn/third_party/vulkan-deps/spirv-tools/src/source/val/",
|
||||
&.{ ".cpp", ".c", ".cc" },
|
||||
&.{},
|
||||
&.{ "test", "benchmark" },
|
||||
) catch unreachable;
|
||||
|
||||
// spvtools_opt
|
||||
sources.appendSlice(&.{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue