diff options
author | Timothy Arceri <[email protected]> | 2018-07-16 09:26:33 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-07-18 09:53:22 +1000 |
commit | c4188a9b9f45a2f2f9e3be99fe9861bec091b924 (patch) | |
tree | a89475491c237e90190da6d182fa2a71dcc9685b /src/compiler | |
parent | bb5449cfeee1f6ec151343e673f29a3f69b750b2 (diff) |
nir: allow opt_peephole_select to handle nir_instr_type_deref
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir_opt_peephole_select.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_opt_peephole_select.c b/src/compiler/nir/nir_opt_peephole_select.c index 8fa99117f4c..ad9d0abec03 100644 --- a/src/compiler/nir/nir_opt_peephole_select.c +++ b/src/compiler/nir/nir_opt_peephole_select.c @@ -89,6 +89,7 @@ block_check_for_allowed_instrs(nir_block *block, unsigned *count, bool alu_ok) break; } + case nir_instr_type_deref: case nir_instr_type_load_const: break; |