[Mesa-dev] [PATCH v3 091/104] nir: Remove deref chain support from opt_peephole_select
Jason Ekstrand
jason at jlekstrand.net
Tue Apr 3 18:39:35 UTC 2018
---
src/compiler/nir/nir_opt_peephole_select.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/compiler/nir/nir_opt_peephole_select.c b/src/compiler/nir/nir_opt_peephole_select.c
index 608701a..8fa9911 100644
--- a/src/compiler/nir/nir_opt_peephole_select.c
+++ b/src/compiler/nir/nir_opt_peephole_select.c
@@ -66,17 +66,6 @@ block_check_for_allowed_instrs(nir_block *block, unsigned *count, bool alu_ok)
nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr);
switch (intrin->intrinsic) {
- case nir_intrinsic_load_var:
- switch (intrin->variables[0]->var->data.mode) {
- case nir_var_shader_in:
- case nir_var_uniform:
- break;
-
- default:
- return false;
- }
- break;
-
case nir_intrinsic_load_deref:
switch (nir_src_as_deref(intrin->src[0])->mode) {
case nir_var_shader_in:
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list