diff options
author | Rob Clark <[email protected]> | 2020-05-14 16:02:55 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-19 16:06:17 +0000 |
commit | c953794cd6e4a5767b0739b1effc48b066e2a29c (patch) | |
tree | 43a3c2def58e77c10681c15869be5754d9e7594e /src/freedreno/ir3/ir3_legalize.c | |
parent | c3630c9d29b7bc7dbdf7d914d39782b4d02c5520 (diff) |
freedreno/ir3/legalize: report progress
It always does something. Just return true for IR3_PASS()
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5048>
Diffstat (limited to 'src/freedreno/ir3/ir3_legalize.c')
-rw-r--r-- | src/freedreno/ir3/ir3_legalize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3_legalize.c b/src/freedreno/ir3/ir3_legalize.c index 2b1f3b94d8b..a143c4dc2f9 100644 --- a/src/freedreno/ir3/ir3_legalize.c +++ b/src/freedreno/ir3/ir3_legalize.c @@ -707,7 +707,7 @@ nop_sched(struct ir3 *ir) } } -void +bool ir3_legalize(struct ir3 *ir, struct ir3_shader_variant *so, int *max_bary) { struct ir3_legalize_ctx *ctx = rzalloc(ir, struct ir3_legalize_ctx); @@ -747,4 +747,6 @@ ir3_legalize(struct ir3 *ir, struct ir3_shader_variant *so, int *max_bary) mark_xvergence_points(ir); ralloc_free(ctx); + + return true; } |