summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/freedreno/ir3/ir3_context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/freedreno/ir3/ir3_context.c b/src/freedreno/ir3/ir3_context.c
index bdcf816bd12..f09fc9253c9 100644
--- a/src/freedreno/ir3/ir3_context.c
+++ b/src/freedreno/ir3/ir3_context.c
@@ -96,12 +96,6 @@ ir3_context_init(struct ir3_compiler *compiler,
NIR_PASS_V(ctx->s, nir_opt_constant_folding);
}
- /* Enable the texture pre-fetch feature only a4xx onwards. But
- * only enable it on generations that have been tested:
- */
- if ((so->type == MESA_SHADER_FRAGMENT) && (compiler->gpu_id >= 600))
- NIR_PASS_V(ctx->s, ir3_nir_lower_tex_prefetch);
-
NIR_PASS_V(ctx->s, nir_convert_from_ssa, true);
if (shader_debug_enabled(so->type)) {