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:
parent
e33b0baa08
commit
8f271f4cf8
|
@ -64,9 +64,9 @@ class WorkgroupDecoration : public Castable<WorkgroupDecoration, Decoration> {
|
||||||
WorkgroupDecoration* Clone(CloneContext* ctx) const override;
|
WorkgroupDecoration* Clone(CloneContext* ctx) const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ast::Expression* x_ = nullptr;
|
ast::Expression* const x_ = nullptr;
|
||||||
ast::Expression* y_ = nullptr;
|
ast::Expression* const y_ = nullptr;
|
||||||
ast::Expression* z_ = nullptr;
|
ast::Expression* const z_ = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ast
|
} // namespace ast
|
||||||
|
|
Loading…
Reference in New Issue