[Mesa-dev] [PATCH v3 083/104] nir: Remove deref chain support from lower_phis_to_scalar
Jason Ekstrand
jason at jlekstrand.net
Tue Apr 3 18:39:27 UTC 2018
---
src/compiler/nir/nir_lower_phis_to_scalar.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/compiler/nir/nir_lower_phis_to_scalar.c b/src/compiler/nir/nir_lower_phis_to_scalar.c
index 6cb9420..904eff0 100644
--- a/src/compiler/nir/nir_lower_phis_to_scalar.c
+++ b/src/compiler/nir/nir_lower_phis_to_scalar.c
@@ -89,16 +89,9 @@ is_phi_src_scalarizable(nir_phi_src *src,
deref->mode == nir_var_uniform;
}
- case nir_intrinsic_load_var:
- return src_intrin->variables[0]->var->data.mode == nir_var_shader_in ||
- src_intrin->variables[0]->var->data.mode == nir_var_uniform;
-
case nir_intrinsic_interp_deref_at_centroid:
case nir_intrinsic_interp_deref_at_sample:
case nir_intrinsic_interp_deref_at_offset:
- case nir_intrinsic_interp_var_at_centroid:
- case nir_intrinsic_interp_var_at_sample:
- case nir_intrinsic_interp_var_at_offset:
case nir_intrinsic_load_uniform:
case nir_intrinsic_load_ubo:
case nir_intrinsic_load_ssbo:
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list