Commit Graph

7 Commits

Author SHA1 Message Date
Luke Street 45ed0aa9d2 prepare_vtx_buffer: GX_VA_POS, GX_POS_XYZ, GX_S8 2026-03-09 01:15:37 -06:00
Luke Street 27b377663e prepare_vtx_buffer: GX_VA_POS, GX_POS_XY, GX_F32 2026-03-08 23:54:41 -06:00
Jasper St. Pierre f639f1fcea gx: Fix PNMTX array indexes, implement indexed load commands 2026-03-08 09:28:19 -07:00
Pieter-Jan Briers 6cddbd4be3 Implement texture matrices pointing to position matrices (#42)
* Implement texture matrices pointing to position matrices

Not really tested but TP doesn't seem to crash anymore so...

* Fix default matrix ID

* Oops forgot to account for ID in uniform size
2026-03-08 01:12:56 -07:00
Luke Street 50524cdcbc Set dirty state in GX_LOAD_AURORA_ARRAYBASE 2026-03-05 23:13:40 -07:00
Pieter-Jan Briers 2c631e7ea2 Make vertex arrays set via FIFO properly (#35)
* Make vertex arrays set via FIFO properly

Adds a new GX_LOAD_AURORA FIFO command with a GX_LOAD_AURORA_ARRAYBASE subcommand. This enables us to pass 64-bit pointers & sizes in command lists and such.

Added GDSetArraySized and made GDSetArray/GDSetArrayRaw panic.

* Dropped this assert.

* Remove duplicated code

I accidentally re-introduced this while I was splitting the diffs for the other PR.
2026-03-05 22:27:16 -07:00
Luke Street 856e40efb4 Reimplement draw call merging & refactor aurora::gx (#37) 2026-03-05 20:31:51 -07:00