summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_ra.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-24 14:10:12 -0700
committerAlyssa Rosenzweig <[email protected]>2019-07-25 06:37:22 -0700
commit210dbe3fc184dba8719bb6ff3c8815652d001573 (patch)
tree0b7adb996e533b83e2d5749cab47500400e73379 /src/panfrost/midgard/midgard_ra.c
parent8842db3a7df233406520dc34affb7b68e6c1eff5 (diff)
pan/midgard: Remove check for `class`
Fixes classes defaulting to vec4 in some cases. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_ra.c')
-rw-r--r--src/panfrost/midgard/midgard_ra.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_ra.c b/src/panfrost/midgard/midgard_ra.c
index 67a1795545d..dc3d22883ab 100644
--- a/src/panfrost/midgard/midgard_ra.c
+++ b/src/panfrost/midgard/midgard_ra.c
@@ -492,7 +492,6 @@ allocate_registers(compiler_context *ctx, bool *spilled)
for (unsigned i = 0; i < ctx->temp_count; ++i) {
unsigned class = found_class[i];
- if (!class) continue;
ra_set_node_class(g, i, classes[class]);
}