pan/bi: Don't analyze td on Valhall

The implementation is based on clauses, so it won't work on Valhall.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16410>
This commit is contained in:
Alyssa Rosenzweig 2021-07-23 18:04:24 -04:00 committed by Marge Bot
parent d561279c7b
commit 423773faa9

View file

@ -4688,10 +4688,13 @@ bi_compile_variant_nir(nir_shader *nir,
if (ctx->arch <= 8) {
bi_schedule(ctx);
bi_assign_scoreboard(ctx);
}
/* Analyze after scheduling since we depend on instruction order. */
bi_analyze_helper_terminate(ctx);
/* Analyze after scheduling since we depend on instruction
* order. This routine assumes the IR is using clauses, so it is
* Bifrost only.
*/
bi_analyze_helper_terminate(ctx);
}
if (bifrost_debug & BIFROST_DBG_SHADERS && !skip_internal)
bi_print_shader(ctx, stdout);