gpu-dawn: use source scanning for tint_spv_reader target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8d4b3059ba
commit
37ab51bec1
2 changed files with 8 additions and 10 deletions
|
|
@ -869,7 +869,14 @@ fn buildLibTint(b: *Builder, step: *std.build.LibExeObjStep, options: Options) *
|
|||
}) catch unreachable;
|
||||
|
||||
// libtint_spv_reader_src
|
||||
sources.append(thisDir() ++ "/src/dawn/sources/tint_spv_reader_src.cc") catch unreachable;
|
||||
scanSources(
|
||||
b,
|
||||
&sources,
|
||||
"libs/dawn/third_party/tint/src/reader/spirv/",
|
||||
&.{ ".cpp", ".c", ".cc" },
|
||||
&.{},
|
||||
&.{"test", "benchmark"},
|
||||
) catch unreachable;
|
||||
|
||||
// libtint_spv_writer_src
|
||||
scanSources(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue