mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-31 07:43:16 +00:00
video_core: clean-up of indirect draws logic (#1589)
This commit is contained in:
parent
fde1726af5
commit
16e1d679dc
5 changed files with 51 additions and 42 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue