mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 22:17:51 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user