aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50
diff options
context:
space:
mode:
authorPierre Moreau <[email protected]>2017-10-02 20:57:11 +0200
committerIlia Mirkin <[email protected]>2017-11-04 14:12:07 -0400
commitb041687ed1e641a79237752a5ffe099d731e13e9 (patch)
tree5afeb9469094e974915874b055a9de0f6a8921b8 /src/gallium/drivers/nouveau/nv50
parentefe532b73934299bb6eeeecf0aaab7145317fd51 (diff)
nv50,nvc0: Display shared memory usage in pipe_debug_message
Signed-off-by: Pierre Moreau <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_program.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_program.c b/src/gallium/drivers/nouveau/nv50/nv50_program.c
index 6b472d7fdd0..6e943a3d943 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_program.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_program.c
@@ -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);