From 0b63a76b518c6959d6ea5175e4938a86bff5ac3d Mon Sep 17 00:00:00 2001 From: psucien Date: Wed, 5 Jun 2024 16:34:04 +0200 Subject: [PATCH] amdgpu: render target size hint for old runtime --- src/video_core/amdgpu/liverpool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/amdgpu/liverpool.cpp b/src/video_core/amdgpu/liverpool.cpp index 2d645c9d..bbaac339 100644 --- a/src/video_core/amdgpu/liverpool.cpp +++ b/src/video_core/amdgpu/liverpool.cpp @@ -199,7 +199,7 @@ Liverpool::Task Liverpool::ProcessGraphics(std::span dcb, std::spantype3.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];