diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-16 16:31:34 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-21 08:40:52 -0700 |
commit | 6c67bd05a6b186f7a0d4a17d92602da8449f776b (patch) | |
tree | 78fbe59292b5f699a114724b222efbc8429410fd /src | |
parent | 37525665842156a4e3dad9e53103466d78083d67 (diff) |
pan/decode: Silence workgroups_x_shift_2
Since we're bit-identical we can compare the computed value.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/panfrost/pandecode/decode.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 0e8172745d3..905fa316698 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -1348,7 +1348,8 @@ pandecode_vertex_tiler_prefix(struct mali_vertex_tiler_prefix *p, int job_no, bo (p->size_z_shift == ref.size_z_shift) && (p->workgroups_x_shift == ref.workgroups_x_shift) && (p->workgroups_y_shift == ref.workgroups_y_shift) && - (p->workgroups_z_shift == ref.workgroups_z_shift); + (p->workgroups_z_shift == ref.workgroups_z_shift) && + (p->workgroups_x_shift_2 == ref.workgroups_x_shift_2); if (!canonical) { pandecode_msg("XXX: non-canonical workgroups packing\n"); @@ -1358,7 +1359,8 @@ pandecode_vertex_tiler_prefix(struct mali_vertex_tiler_prefix *p, int job_no, bo ref.size_z_shift, ref.workgroups_x_shift, ref.workgroups_y_shift, - ref.workgroups_z_shift); + ref.workgroups_z_shift, + ref.workgroups_x_shift_2); pandecode_prop("invocation_count = 0x%" PRIx32, p->invocation_count); pandecode_prop("size_y_shift = %d", p->size_y_shift); @@ -1366,6 +1368,7 @@ pandecode_vertex_tiler_prefix(struct mali_vertex_tiler_prefix *p, int job_no, bo pandecode_prop("workgroups_x_shift = %d", p->workgroups_x_shift); pandecode_prop("workgroups_y_shift = %d", p->workgroups_y_shift); pandecode_prop("workgroups_z_shift = %d", p->workgroups_z_shift); + pandecode_prop("workgroups_x_shift_2 = %d", p->workgroups_x_shift_2); } /* Regardless, print the decode */ @@ -1377,7 +1380,6 @@ pandecode_vertex_tiler_prefix(struct mali_vertex_tiler_prefix *p, int job_no, bo if (p->unknown_draw) pandecode_prop("unknown_draw = 0x%" PRIx32, p->unknown_draw); - pandecode_prop("workgroups_x_shift_2 = 0x%" PRIx32, p->workgroups_x_shift_2); pandecode_prop("workgroups_x_shift_3 = 0x%" PRIx32, p->workgroups_x_shift_3); if (p->draw_mode != MALI_DRAW_NONE) |