amdgpu: render target size hint for old runtime

This commit is contained in:
psucien 2024-06-05 16:34:04 +02:00
parent 19994424c5
commit 0b63a76b51
1 changed files with 1 additions and 1 deletions

View File

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