22 Commits

Author SHA1 Message Date
Thomas Ryan fb156d78ca Fix GX indirect tile window rendering (#218)
Co-authored-by: Thomas Ryan <contact@thomasryan.ca>
2026-06-02 10:04:31 -06:00
Luke Street 558ba0a987 Add RG8 and BC1 PC texture formats 2026-05-30 10:03:34 -06:00
Luke Street a6a3d3a65a Add GXDestroyCopyTex function (#141) 2026-04-26 14:01:24 -06:00
Luke Street 8d9618dc4b Implement GXPeekZ (#138)
* Implement GXPeekZ

* Limit depth readback to 30hz
2026-04-24 21:55:17 -06:00
Luke Street 26da4c6bb0 Better fix for zeroed texture dimensions 2026-04-21 17:39:40 -06:00
Luke Street c4c5b3f4af Fix texture cache leak with immediate GXDestroyTexObj 2026-04-21 14:13:13 -06:00
Luke Street c05e7aace1 Viewport scaling rework & IR configuration (#127)
This is a breaking change: `GXSetViewport`, `GXSetScissor`, `GXSetTexCopySrc`, `GXSetTexCopyDst` now accept logical coords relative to the `VIConfigure` EFB size.

`GXSetViewportRender` and `GXSetScissorRender` are used to override the scaled viewport/scissor from the logical coords.
2026-04-18 14:10:32 -06:00
Luke Street 4c0d0feb02 Fix test expectation 2026-04-12 11:38:18 -06:00
Luke Street 3a268fffa3 Fix _PC texture types 2026-04-11 13:37:32 -06:00
Luke Street b1bf531884 FIFOify texture binding (#109)
* FIFOify texture binding

* Use __cntlzw helper

* Some cleanup

* Fix texture eviction & cleanup
2026-04-09 00:14:00 -06:00
Luke Street 6b9f614d32 Texture refactor (#78)
- Removes special sampling logic from the GX shader in favor of performing conversions using separate draw calls and swizzling
- Simplifies texture bindings
- Much more accurate EFB copy handling (still incomplete but better)
  - Handle copy clears appropriately (color, alpha, depth) + GXSetDstAlpha copies
- Re-enables code for buffered texture uploads
- Adds `lastTextureUploadSize` to AuroraStats
- Use RG8 + swizzle for IA4/IA8
2026-04-01 00:49:28 -06:00
Luke Street 819c72914e Add le arg to GXSetArray 2026-03-31 01:04:04 -06:00
Luke Street 507fda8591 Implement GX_LINES and GX_LINESTRIP
Includes support for GXTexOffsets
2026-03-29 22:33:28 -06:00
Luke Street 42f46ae99f Implement indirect texturing (kinda works) 2026-03-12 00:05:19 -06:00
Jasper St. Pierre f639f1fcea gx: Fix PNMTX array indexes, implement indexed load commands 2026-03-08 09:28:19 -07:00
Luke Street 50524cdcbc Set dirty state in GX_LOAD_AURORA_ARRAYBASE 2026-03-05 23:13:40 -07:00
Luke Street 856e40efb4 Reimplement draw call merging & refactor aurora::gx (#37) 2026-03-05 20:31:51 -07:00
Luke Street b5cc2d9f9b Actually decode TCG mtx values 2026-03-05 12:55:48 -07:00
Luke Street 8650b97b03 Update to latest Dawn & SDL3 2026-02-18 20:09:48 -07:00
Luke Street 60eba7dff9 Fog & TCS FIFO-ification 2026-02-18 13:41:42 -07:00
Luke Street 50244c966a More fixes & tests 2026-02-17 23:41:47 -07:00
Luke Street 5fa562dc06 🚀 Execute more FIFO conversion 🚀 2026-02-17 20:44:09 -07:00