mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
Remove the context object.
This CL strips the context object out of Tint. Change-Id: Id0dcb9c557b217c03a8d9ac08fc9fe1c799f3fdc Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34742 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
bd018d254d
commit
c35176eadf
@@ -58,7 +58,7 @@ class VertexPullingHelper {
|
||||
void InitTransform(VertexStateDescriptor vertex_state) {
|
||||
EXPECT_TRUE(mod_->IsValid());
|
||||
|
||||
TypeDeterminer td(&ctx_, mod_.get());
|
||||
TypeDeterminer td(mod_.get());
|
||||
EXPECT_TRUE(td.Determine());
|
||||
|
||||
transform_->SetVertexState(vertex_state);
|
||||
@@ -80,6 +80,7 @@ class VertexPullingHelper {
|
||||
}
|
||||
|
||||
ast::Module* mod() { return mod_.get(); }
|
||||
|
||||
Manager* manager() { return manager_.get(); }
|
||||
VertexPulling* transform() { return transform_; }
|
||||
|
||||
@@ -93,7 +94,6 @@ class VertexPullingHelper {
|
||||
}
|
||||
|
||||
private:
|
||||
Context ctx_;
|
||||
std::unique_ptr<ast::Module> mod_;
|
||||
std::unique_ptr<Manager> manager_;
|
||||
VertexPulling* transform_;
|
||||
|
||||
Reference in New Issue
Block a user