mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 14:18:07 +02:00
pan/bi: Print disasm/stats with DEBUG=internal
Arguably more important than the IR prints. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>
This commit is contained in:
parent
d3c92d32ba
commit
f1d551ea9f
1 changed files with 2 additions and 2 deletions
|
|
@ -2386,7 +2386,7 @@ bifrost_compile_shader_nir(void *mem_ctx, nir_shader *nir,
|
|||
|
||||
memcpy(program->blend_ret_offsets, ctx->blend_ret_offsets, sizeof(program->blend_ret_offsets));
|
||||
|
||||
if (bifrost_debug & BIFROST_DBG_SHADERS && !nir->info.internal) {
|
||||
if (bifrost_debug & BIFROST_DBG_SHADERS && !skip_internal) {
|
||||
disassemble_bifrost(stdout, program->compiled.data,
|
||||
program->compiled.size,
|
||||
bifrost_debug & BIFROST_DBG_VERBOSE);
|
||||
|
|
@ -2399,7 +2399,7 @@ bifrost_compile_shader_nir(void *mem_ctx, nir_shader *nir,
|
|||
program->tls_size = ctx->tls_size;
|
||||
|
||||
if ((bifrost_debug & BIFROST_DBG_SHADERDB || inputs->shaderdb) &&
|
||||
!nir->info.internal) {
|
||||
!skip_internal) {
|
||||
bi_print_stats(ctx, stderr);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue