tint.h: Remove 'libspirv.hpp' include
This does not belong in the public header - the spirv writer public header does not depend on it. Change-Id: Id1b2107c3a2003632e1868c2d6a337ddbb0c8b48 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122382 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
dd2f36205d
commit
f7910f5b95
|
@ -48,7 +48,6 @@
|
|||
#endif // TINT_BUILD_WGSL_READER
|
||||
|
||||
#if TINT_BUILD_SPV_WRITER
|
||||
#include "spirv-tools/libspirv.hpp"
|
||||
#include "src/tint/writer/spirv/generator.h"
|
||||
#endif // TINT_BUILD_SPV_WRITER
|
||||
|
||||
|
|
|
@ -21,7 +21,10 @@ source_set("tint_cmd_helper") {
|
|||
"helper.h",
|
||||
]
|
||||
|
||||
deps = [ "${tint_root_dir}/src/tint:libtint" ]
|
||||
deps = [
|
||||
"${tint_root_dir}/src/tint:libtint",
|
||||
"${tint_spirv_tools_dir}/:spvtools_headers",
|
||||
]
|
||||
}
|
||||
|
||||
executable("tint") {
|
||||
|
|
|
@ -18,6 +18,10 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#if TINT_BUILD_SPV_WRITER
|
||||
#include "spirv-tools/libspirv.hpp"
|
||||
#endif
|
||||
|
||||
namespace tint::cmd {
|
||||
namespace {
|
||||
|
||||
|
|
Loading…
Reference in New Issue