Program: Remove deprecated constructed-type methods

Fixup all usages

Bug: tint:390
Change-Id: I739a7625cd385cb889369ab7c766462fbcd7cf12
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/38546
Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
Ben Clayton
2021-01-26 16:57:10 +00:00
parent a86f4effe4
commit 1b3d6e460c
17 changed files with 55 additions and 67 deletions

View File

@@ -242,7 +242,7 @@ ast::Variable* FirstIndexOffset::AddUniformBuffer(Program* dst) {
dst->AST().AddGlobalVariable(idx_var);
dst->AddConstructedType(struct_type);
dst->AST().AddConstructedType(struct_type);
return idx_var;
}

View File

@@ -301,7 +301,7 @@ void VertexPulling::State::AddVertexStorageBuffers() {
});
out->AST().AddGlobalVariable(var);
}
out->AddConstructedType(struct_type);
out->AST().AddConstructedType(struct_type);
}
ast::BlockStatement* VertexPulling::State::CreateVertexPullingPreamble() const {