mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i965/fs: Remove is_valid_3src().
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
0777775274
commit
40c0d79d29
3 changed files with 1 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue