video_core: clean-up of indirect draws logic (#1589)

This commit is contained in:
psucien 2024-11-24 15:43:28 +01:00 committed by GitHub
parent fde1726af5
commit 16e1d679dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 51 additions and 42 deletions

View file

@ -703,7 +703,7 @@ s32 PS4_SYSV_ABI sceGnmDrawIndexIndirectCountMulti(u32* cmdbuf, u32 size, u32 da
cmdbuf[3] = (count_addr != 0 ? 1u : 0u) << 0x1e;
cmdbuf[4] = max_count;
*(u64*)(&cmdbuf[5]) = count_addr;
cmdbuf[7] = AmdGpu::Liverpool::DrawIndexedIndirectArgsSize;
cmdbuf[7] = sizeof(DrawIndexedIndirectArgs);
cmdbuf[8] = 0;
cmdbuf += 9;