i965/fs: Remove is_valid_3src().
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
@@ -622,12 +622,6 @@ fs_reg::is_contiguous() const
|
||||
return stride == 1;
|
||||
}
|
||||
|
||||
bool
|
||||
fs_reg::is_valid_3src() const
|
||||
{
|
||||
return file == GRF || file == UNIFORM;
|
||||
}
|
||||
|
||||
int
|
||||
fs_visitor::type_size(const struct glsl_type *type)
|
||||
{
|
||||
|
||||
@@ -83,7 +83,6 @@ public:
|
||||
fs_reg(fs_visitor *v, const struct glsl_type *type);
|
||||
|
||||
bool equals(const fs_reg &r) const;
|
||||
bool is_valid_3src() const;
|
||||
bool is_contiguous() const;
|
||||
|
||||
/** Smear a channel of the reg to all channels. */
|
||||
|
||||
@@ -514,7 +514,7 @@ fs_visitor::visit(ir_expression *ir)
|
||||
ir->operands[operand]->fprint(stderr);
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
assert(this->result.is_valid_3src());
|
||||
assert(this->result.file == GRF || this->result.file == UNIFORM);
|
||||
op[operand] = this->result;
|
||||
|
||||
/* Matrix expression operands should have been broken down to vector
|
||||
|
||||
Reference in New Issue
Block a user