mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
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:
parent
ec5c9649ba
commit
231459ad26
2 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue