gpu-dawn: use source scanning for tint_spv_writer target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
ce9608897b
commit
8d4b3059ba
2 changed files with 10 additions and 9 deletions
|
|
@ -872,7 +872,14 @@ fn buildLibTint(b: *Builder, step: *std.build.LibExeObjStep, options: Options) *
|
||||||
sources.append(thisDir() ++ "/src/dawn/sources/tint_spv_reader_src.cc") catch unreachable;
|
sources.append(thisDir() ++ "/src/dawn/sources/tint_spv_reader_src.cc") catch unreachable;
|
||||||
|
|
||||||
// libtint_spv_writer_src
|
// libtint_spv_writer_src
|
||||||
sources.append(thisDir() ++ "/src/dawn/sources/tint_spv_writer_src.cc") catch unreachable;
|
scanSources(
|
||||||
|
b,
|
||||||
|
&sources,
|
||||||
|
"libs/dawn/third_party/tint/src/writer/spirv/",
|
||||||
|
&.{ ".cpp", ".c", ".cc" },
|
||||||
|
&.{},
|
||||||
|
&.{"test", "benchmark"},
|
||||||
|
) catch unreachable;
|
||||||
|
|
||||||
// TODO(build-system): make optional
|
// TODO(build-system): make optional
|
||||||
// libtint_wgsl_reader_src
|
// libtint_wgsl_reader_src
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
#include "third_party/tint/src/writer/spirv/binary_writer.cc"
|
|
||||||
#include "third_party/tint/src/writer/spirv/builder.cc"
|
|
||||||
#include "third_party/tint/src/writer/spirv/function.cc"
|
|
||||||
#include "third_party/tint/src/writer/spirv/generator.cc"
|
|
||||||
#include "third_party/tint/src/writer/spirv/instruction.cc"
|
|
||||||
#include "third_party/tint/src/writer/spirv/operand.cc"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue