From 6820bd916a12567a6d7e9d28fea90bf99c8181dc Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Mon, 24 Mar 2025 13:26:54 +0100 Subject: [PATCH] Oof --- 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 74cd74295..73cbc9f9c 100644 --- a/src/video_core/amdgpu/liverpool.cpp +++ b/src/video_core/amdgpu/liverpool.cpp @@ -757,7 +757,7 @@ Liverpool::Task Liverpool::ProcessCompute(std::span acb, u32 vqid) { compute_cutoff_end_to_prepend[vqid].size(); PM4Header possible_next_command = std::bit_cast(acb[remainder]); if (acb.size() == remainder || possible_next_command.type == 3) { - if (acb.data()[0].type != 3) { + if (std::bit_cast(acb[0]).type != 3) { std::copy(acb.data(), acb.data() + remainder, std::back_inserter(compute_cutoff_end_to_prepend[vqid]));