Revert "freedreno/ir3: enable pre-fs texture fetch for a6xx"

This reverts commit f30c256ec0.

See 088a2a4cab031f1505d531698109f330f94f3072

Fixes: f30c256ec0 ("freedreno/ir3: enable pre-fs texture fetch for a6xx")
Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
Rob Clark 2019-11-18 09:42:03 -08:00 committed by Dylan Baker
parent 48f8f0edca
commit 2b4459973b

View file

@ -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)) {