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:
Ben Clayton 2023-03-03 14:20:53 +00:00 committed by Dawn LUCI CQ
parent dd2f36205d
commit f7910f5b95
3 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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") {

View File

@ -18,6 +18,10 @@
#include <utility>
#include <vector>
#if TINT_BUILD_SPV_WRITER
#include "spirv-tools/libspirv.hpp"
#endif
namespace tint::cmd {
namespace {