nv50,nvc0: Display shared memory usage in pipe_debug_message
Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
This commit is contained in:
parent
efe532b739
commit
b041687ed1
|
@ -431,9 +431,10 @@ nv50_program_translate(struct nv50_program *prog, uint16_t chipset,
|
|||
&prog->pipe.stream_output);
|
||||
|
||||
pipe_debug_message(debug, SHADER_INFO,
|
||||
"type: %d, local: %d, gpr: %d, inst: %d, bytes: %d",
|
||||
prog->type, info->bin.tlsSpace, prog->max_gpr,
|
||||
info->bin.instructions, info->bin.codeSize);
|
||||
"type: %d, local: %d, shared: %d, gpr: %d, inst: %d, bytes: %d",
|
||||
prog->type, info->bin.tlsSpace, info->bin.smemSize,
|
||||
prog->max_gpr, info->bin.instructions,
|
||||
info->bin.codeSize);
|
||||
|
||||
out:
|
||||
FREE(info);
|
||||
|
|
|
@ -684,9 +684,10 @@ nvc0_program_translate(struct nvc0_program *prog, uint16_t chipset,
|
|||
&prog->pipe.stream_output);
|
||||
|
||||
pipe_debug_message(debug, SHADER_INFO,
|
||||
"type: %d, local: %d, gpr: %d, inst: %d, bytes: %d",
|
||||
prog->type, info->bin.tlsSpace, prog->num_gprs,
|
||||
info->bin.instructions, info->bin.codeSize);
|
||||
"type: %d, local: %d, shared: %d, gpr: %d, inst: %d, bytes: %d",
|
||||
prog->type, info->bin.tlsSpace, info->bin.smemSize,
|
||||
prog->num_gprs, info->bin.instructions,
|
||||
info->bin.codeSize);
|
||||
|
||||
#ifdef DEBUG
|
||||
if (debug_get_option("NV50_PROG_CHIPSET", NULL) && info->dbgFlags)
|
||||
|
|
Loading…
Reference in New Issue