projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
213de3e
)
nvc0: print the shader type when dumping headers
author
Karol Herbst
<kherbst@redhat.com>
Fri, 15 Dec 2017 19:04:59 +0000
(20:04 +0100)
committer
Karol Herbst
<kherbst@redhat.com>
Sun, 17 Mar 2019 09:33:27 +0000
(10:33 +0100)
this makes debugging the shader header a little easier
Acked-by: Pierre Moreau <pierre.morrow@free.fr>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c
index 1bbfa4a942817461d3f44159e548c69b1b420255..008b660b8c072ee7a759a81739b9231391844bf3 100644
(file)
--- a/
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
+++ b/
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
@@
-554,6
+554,7
@@
nvc0_program_dump(struct nvc0_program *prog)
unsigned pos;
if (prog->type != PIPE_SHADER_COMPUTE) {
+ debug_printf("dumping HDR for type %i\n", prog->type);
for (pos = 0; pos < ARRAY_SIZE(prog->hdr); ++pos)
debug_printf("HDR[%02"PRIxPTR"] = 0x%08x\n",
pos * sizeof(prog->hdr[0]), prog->hdr[pos]);