summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-10-25 10:23:47 -0400
committerRob Clark <[email protected]>2014-10-25 10:25:15 -0400
commitded5013c4cd953e67ab858d8c62d45be3fb4eebb (patch)
tree1e798324616254bf3b11bb9df797a8e6332087c1
parenta9c634dded0fb81d324f98b7e90077c59bf4d946 (diff)
freedreno/ir3: skip virtual outputs in standalone compiler
Kills get added to the outputs list, to ensure they get scheduled. But they aren't *really* outputs so skip them in the header comment block. Signed-off-by: Rob Clark <[email protected]>
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_cmdline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
index b2e55372d86..96d89d6ed7f 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
@@ -69,6 +69,9 @@ static void dump_info(struct ir3_shader_variant *so, const char *str)
uint8_t regid;
if (!block->outputs[i])
continue;
+ /* kill shows up as a virtual output.. skip it! */
+ if (is_kill(block->outputs[i]))
+ continue;
regid = block->outputs[i]->regs[0]->num;
debug_printf("@out(r%d.%c)\tout%d\n",
(regid >> 2), "xyzw"[regid & 0x3], i);