diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-24 14:10:12 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-25 06:37:22 -0700 |
commit | 210dbe3fc184dba8719bb6ff3c8815652d001573 (patch) | |
tree | 0b7adb996e533b83e2d5749cab47500400e73379 | |
parent | 8842db3a7df233406520dc34affb7b68e6c1eff5 (diff) |
pan/midgard: Remove check for `class`
Fixes classes defaulting to vec4 in some cases.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r-- | src/panfrost/midgard/midgard_ra.c | 1 |
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]); } |