glsl: Eliminate ir_assignment::condition

Reformatting is left for the next commit.

v2: Remove assignments from the contructors. :face_palm:

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14573>
This commit is contained in:
Ian Romanick
2022-01-14 19:10:04 -08:00
committed by Marge Bot
parent fb630cd783
commit 912299cb39
18 changed files with 9 additions and 114 deletions

View File

@@ -1518,23 +1518,6 @@ public:
*/
ir_rvalue *rhs;
/**
* Optional condition for the assignment.
*/
private:
ir_rvalue *unused_condition;
public:
inline ir_rvalue *get_condition()
{
return unused_condition;
}
inline const ir_rvalue *get_condition() const
{
return unused_condition;
}
/**
* Component mask written
*