ast: Make the fields of WorkgroupDecoration const

Change-Id: I76208ca1f6e3ccfb74c4732dfed8caddd4cec2ed
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60207
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Ben Clayton 2021-07-30 11:23:06 +00:00
parent e33b0baa08
commit 8f271f4cf8
1 changed files with 3 additions and 3 deletions

View File

@ -64,9 +64,9 @@ class WorkgroupDecoration : public Castable<WorkgroupDecoration, Decoration> {
WorkgroupDecoration* Clone(CloneContext* ctx) const override;
private:
ast::Expression* x_ = nullptr;
ast::Expression* y_ = nullptr;
ast::Expression* z_ = nullptr;
ast::Expression* const x_ = nullptr;
ast::Expression* const y_ = nullptr;
ast::Expression* const z_ = nullptr;
};
} // namespace ast