mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-21 14:03:36 +00:00
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
|
#endif // TINT_BUILD_WGSL_READER
|
||||||
|
|
||||||
#if TINT_BUILD_SPV_WRITER
|
#if TINT_BUILD_SPV_WRITER
|
||||||
#include "spirv-tools/libspirv.hpp"
|
|
||||||
#include "src/tint/writer/spirv/generator.h"
|
#include "src/tint/writer/spirv/generator.h"
|
||||||
#endif // TINT_BUILD_SPV_WRITER
|
#endif // TINT_BUILD_SPV_WRITER
|
||||||
|
|
||||||
|
@ -21,7 +21,10 @@ source_set("tint_cmd_helper") {
|
|||||||
"helper.h",
|
"helper.h",
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [ "${tint_root_dir}/src/tint:libtint" ]
|
deps = [
|
||||||
|
"${tint_root_dir}/src/tint:libtint",
|
||||||
|
"${tint_spirv_tools_dir}/:spvtools_headers",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
executable("tint") {
|
executable("tint") {
|
||||||
|
@ -18,6 +18,10 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#if TINT_BUILD_SPV_WRITER
|
||||||
|
#include "spirv-tools/libspirv.hpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace tint::cmd {
|
namespace tint::cmd {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user