glsl: Remove unused condition parameter from ir_assignment constructor

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 18:20:41 -08:00 committed by Marge Bot
parent ec5c9649ba
commit 231459ad26
2 changed files with 3 additions and 4 deletions

View file

@ -162,11 +162,10 @@ ir_assignment::ir_assignment(ir_dereference *lhs, ir_rvalue *rhs,
assert(util_bitcount(write_mask) == this->rhs->type->vector_elements);
}
ir_assignment::ir_assignment(ir_rvalue *lhs, ir_rvalue *rhs,
ir_rvalue *condition)
ir_assignment::ir_assignment(ir_rvalue *lhs, ir_rvalue *rhs)
: ir_instruction(ir_type_assignment)
{
this->condition = condition;
this->condition = NULL;
this->rhs = rhs;
/* If the RHS is a vector type, assume that all components of the vector

View file

@ -1463,7 +1463,7 @@ public:
class ir_assignment : public ir_instruction {
public:
ir_assignment(ir_rvalue *lhs, ir_rvalue *rhs, ir_rvalue *condition = NULL);
ir_assignment(ir_rvalue *lhs, ir_rvalue *rhs);
/**
* Construct an assignment with an explicit write mask