aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-04-01 10:28:58 -0400
committerRob Clark <[email protected]>2015-04-05 16:36:34 -0400
commit6bc12bb5fd29a70967d467a19153bda9404653bd (patch)
treece8691780c280f102225d14a1f75d631214eada0 /src/gallium/drivers
parentf370e95421f553ace931a02743c96be80fd62dc8 (diff)
freedreno/ir3/cmdline: remove hack for old compiler
Since we dropped the old compiler, we don't need this hack anymore. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_cmdline.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
index 11bfe34fc18..9d0702a2755 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
@@ -72,7 +72,6 @@ static void dump_info(struct ir3_shader_variant *so, const char *str)
debug_printf("; %s: %s\n", type, str);
-if (block) {
for (i = 0; i < block->ninputs; i++) {
if (!block->inputs[i]) {
debug_printf("; in%d unused\n", i);
@@ -99,28 +98,6 @@ if (block) {
(reg->flags & IR3_REG_HALF) ? "h" : "",
(regid >> 2), "xyzw"[regid & 0x3], i);
}
-} else {
- /* hack to deal w/ old compiler:
- * TODO maybe we can just keep this path? I guess should
- * be good enough (other than not able to deal w/ half)
- */
- for (i = 0; i < so->inputs_count; i++) {
- unsigned j, regid = so->inputs[i].regid;
- for (j = 0; j < so->inputs[i].ncomp; j++) {
- debug_printf("@in(r%d.%c)\tin%d\n",
- (regid >> 2), "xyzw"[regid & 0x3], (i * 4) + j);
- regid++;
- }
- }
- for (i = 0; i < so->outputs_count; i++) {
- unsigned j, regid = so->outputs[i].regid;
- for (j = 0; j < 4; j++) {
- debug_printf("@out(r%d.%c)\tout%d\n",
- (regid >> 2), "xyzw"[regid & 0x3], (i * 4) + j);
- regid++;
- }
- }
-}
disasm_a3xx(bin, so->info.sizedwords, 0, so->type);