anv: remove redundant asserts

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27611>
This commit is contained in:
Lionel Landwerlin
2024-02-14 09:20:22 +02:00
committed by Marge Bot
parent cc7934a89b
commit feb7cf82dc
-3
View File
@@ -184,21 +184,18 @@ compile_shader(struct anv_device *device,
assert(stats[stat_idx].spills == 0);
assert(stats[stat_idx].fills == 0);
assert(stats[stat_idx].sends == sends_count_expectation);
assert(stats[stat_idx].spills == 0);
stat_idx++;
}
if (prog_data.wm.dispatch_16) {
assert(stats[stat_idx].spills == 0);
assert(stats[stat_idx].fills == 0);
assert(stats[stat_idx].sends == sends_count_expectation);
assert(stats[stat_idx].spills == 0);
stat_idx++;
}
if (prog_data.wm.dispatch_32) {
assert(stats[stat_idx].spills == 0);
assert(stats[stat_idx].fills == 0);
assert(stats[stat_idx].sends == sends_count_expectation * 2);
assert(stats[stat_idx].spills == 0);
stat_idx++;
}
} else {