[XMA] Revert stall detection from Work loop

Fixes tomb raider
This commit is contained in:
Herman S.
2026-02-21 16:45:53 +09:00
parent 5376439e1b
commit f521cb3ef0
-14
View File
@@ -174,8 +174,6 @@ bool XmaContextNew::Work() {
data.output_buffer_valid, data.subframe_decode_count,
data.output_buffer_padding);
const uint32_t pre_decode_offset = data.input_buffer_read_offset;
Decode(&data);
Consume(&output_rb, &data);
@@ -185,18 +183,6 @@ bool XmaContextNew::Work() {
id(), data.IsAnyInputBufferValid(), data.error_status);
break;
}
// If Decode didn't advance the read offset and produced no frame, we can't
// make progress (e.g. split frame waiting for next buffer).
// Break to avoid spinning.
if (data.input_buffer_read_offset == pre_decode_offset &&
current_frame_remaining_subframes_ == 0) {
XELOGAPU(
"XmaContext {}: Decode stalled at offset {} (no progress), "
"waiting for next buffer",
id(), pre_decode_offset);
break;
}
}
data.output_buffer_write_offset =