mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
nir/opt_peephole_select: remove unused variables
To avoid "unused variable" warnings. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
7c972eba40
commit
2865d79a33
1 changed files with 0 additions and 4 deletions
|
|
@ -152,10 +152,6 @@ block_check_for_allowed_instrs(nir_block *block, unsigned *count,
|
|||
if (!mov->dest.dest.is_ssa)
|
||||
return false;
|
||||
|
||||
const struct nir_block *const expected_block = mov->instr.block;
|
||||
const nir_alu_type expected_type =
|
||||
nir_alu_type_get_base_type(nir_op_infos[mov->op].output_type);
|
||||
|
||||
if (alu_ok) {
|
||||
/* If the ALU operation is an fsat or a move-like operation, do
|
||||
* not count it. The expectation is that it will eventually be
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue