OpenOrbis / OpenOrbis-PS4-Toolchain

The OpenOrbis PS4 custom toolchain. Allows developers to build homebrew for the PS4 without the official SDK.
GNU General Public License v3.0
476 stars 89 forks source link

GnmDriver: define indexed indirect and offset draw #256

Closed pipehuffer closed 3 months ago

pipehuffer commented 11 months ago

These functions create command packets DRAW_INDEX_INDIRECT and DRAW_INDEX_OFFSET_2 respectively. Some descriptions of the other draws and embedded PS shaders were improved. InsertWaitFlipDone is also defined in this patch, which creates a WAIT_REG_MEM packet for a VideoOut buffer label address, but that change can be moved to a different commit if desired.

pipehuffer commented 3 months ago

Going to close this and put this patch on hold until I (hopefully) make more GnmDriver.h changes in the future instead of spamming tiny changes.