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(
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
#include "third_party/tint/src/reader/spirv/construct.cc"
|
||||
#include "third_party/tint/src/reader/spirv/entry_point_info.cc"
|
||||
#include "third_party/tint/src/reader/spirv/enum_converter.cc"
|
||||
#include "third_party/tint/src/reader/spirv/function.cc"
|
||||
#include "third_party/tint/src/reader/spirv/namer.cc"
|
||||
#include "third_party/tint/src/reader/spirv/parser.cc"
|
||||
#include "third_party/tint/src/reader/spirv/parser_impl.cc"
|
||||
#include "third_party/tint/src/reader/spirv/parser_type.cc"
|
||||
#include "third_party/tint/src/reader/spirv/usage.cc"
|
||||
Loading…
Add table
Add a link
Reference in a new issue