amdgpu: additional case for cb extents retrieval heuristic

This commit is contained in:
psucien 2024-08-04 16:22:30 +02:00
parent fe4ae97d91
commit 8dc292650a
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ Liverpool::Task Liverpool::ProcessGraphics(std::span<const u32> dcb, std::span<c
ASSERT(col_buf_id < NumColorBuffers); ASSERT(col_buf_id < NumColorBuffers);
const auto nop_offset = header->type3.count; const auto nop_offset = header->type3.count;
if (nop_offset == 0x0e || nop_offset == 0x0d) { if (nop_offset == 0x0e || nop_offset == 0x0d || nop_offset == 0x0b) {
ASSERT_MSG(payload[nop_offset] == 0xc0001000, ASSERT_MSG(payload[nop_offset] == 0xc0001000,
"NOP hint is missing in CB setup sequence"); "NOP hint is missing in CB setup sequence");
last_cb_extent[col_buf_id].raw = payload[nop_offset + 1]; last_cb_extent[col_buf_id].raw = payload[nop_offset + 1];