summaryrefslogtreecommitdiffstats
path: root/src/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-21 14:15:05 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-22 12:54:35 -0700
commitd7473e2e0178ae46b34a21dca62e6f99cc132389 (patch)
tree312c8b65d62487a1092653abfe185f85786a2a0f /src/panfrost
parent139708bbabdc1897579b40a83d559cea28946290 (diff)
pan/decode: Fix uniform printing
Lazypasting from UBOs. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost')
-rw-r--r--src/panfrost/pandecode/decode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c
index 1b88bbb12e8..67e2514c462 100644
--- a/src/panfrost/pandecode/decode.c
+++ b/src/panfrost/pandecode/decode.c
@@ -1981,7 +1981,7 @@ pandecode_vertex_tiler_postfix_pre(
uniform_count = s->bifrost2.uniform_count;
uniform_buffer_count = s->bifrost1.uniform_buffer_count;
} else {
- uniform_count = s->midgard1.uniform_buffer_count;
+ uniform_count = s->midgard1.uniform_count;
uniform_buffer_count = s->midgard1.uniform_buffer_count;
}
@@ -2208,9 +2208,9 @@ pandecode_vertex_tiler_postfix_pre(
if (uniform_count)
pandecode_validate_buffer(p->uniforms, uniform_count * 16);
else
- pandecode_msg("XXX: Uniforms specified but not referenced");
+ pandecode_msg("XXX: Uniforms specified but not referenced\n");
} else if (uniform_count)
- pandecode_msg("XXX: UBOs referenced but not specified\n");
+ pandecode_msg("XXX: Uniforms referenced but not specified\n");
if (p->texture_trampoline) {
struct pandecode_mapped_memory *mmem = pandecode_find_mapped_gpu_mem_containing(p->texture_trampoline);