409 Commits

Author SHA1 Message Date
TakaRikka 4e84141b08 implement more tev ops (#41)
* implement more tev ops

* Format & multiply+round instead of trunc

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-03-06 18:18:25 -07:00
qwertyquerty 4b741d6e86 Log level config feature (#39)
* log level

* do what encounter said

* oops

* remove underlying type

* rename aurora_set_log_level
2026-03-06 18:18:14 -07:00
Hyblocker a83020342d fix: correct pipeline cache path mismatch (#40) 2026-03-06 09:36:29 -08:00
Luke Street 50524cdcbc Set dirty state in GX_LOAD_AURORA_ARRAYBASE 2026-03-05 23:13:40 -07:00
Luke Street dc6aa25010 And disable writes 2026-03-05 22:58:42 -07:00
Luke Street 5bbc9a6246 Actually use depthCompare 2026-03-05 22:52:21 -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
Jeffrey Crowell 99673bf832 Fix display list check for correct namespace (#38)
```
/Users/jeff/dev/games/dusk/extern/aurora/lib/dolphin/gx/GXDispList.cpp:13:10: error: no member named 'fifo' in namespace 'aurora::gfx'; did you mean 'aurora::gx::fifo'?
   13 |   CHECK(!aurora::gfx::fifo::in_display_list(), "Display list began twice!");
      |          ^~~~~~~~~~~~~~~~~
      |          aurora::gx::fifo
```

I assume this is what you meant?
2026-03-05 21:12:35 -07:00
Luke Street 856e40efb4 Reimplement draw call merging & refactor aurora::gx (#37) 2026-03-05 20:31:51 -07:00
Pieter-Jan Briers 528a266a02 Make GDOverflowed be a fatal crash always (#34)
Instead of only crashing on DEBUG
2026-03-05 20:21:41 -07:00
Luke Street e266245923 Middle click paste strikes again 2026-03-05 12:57:28 -07:00
Luke Street b5cc2d9f9b Actually decode TCG mtx values 2026-03-05 12:55:48 -07:00
Luke Street a8f80ac166 Merge remote-tracking branch 'magcius/ssmask' 2026-03-05 11:44:48 -07:00
Jasper St. Pierre 894afb4513 gfx fix 2026-03-05 09:44:33 -08:00
Jasper St. Pierre 7f3bdd902d gx: SS_MASK 2026-03-05 09:44:29 -08:00
Luke Street 6e96710482 Add pull_request event to CI; rename SetViewportCommand->Viewport 2026-03-05 10:17:03 -07:00
Dávid Balatoni 604232c4ff Implement GXGetViewportv (#33) 2026-03-05 10:09:26 -07:00
Pieter-Jan Briers f8b9fd0984 Implement GD API (#29)
* Implement GD API

Code taken from TP decomp. Works as-is, mostly.

* cmath
2026-03-04 22:48:37 -07:00
Jasper St. Pierre 8fd296bad9 gx: Add support for PNMTXIDX
* Always upload all texmtx/pttexmtx if someone uses one.
* Always use Mat3x4 for all texture matrices.
2026-03-04 09:32:51 -08:00
Jasper St. Pierre 1d09ea5b3f gx: Start on PNMTXIDX/TEXMTXIDX support by marking it as an indexed attribute
We're going to reuse the INDEX8 logic for it.
2026-03-04 09:32:51 -08:00
Jasper St. Pierre 5888235ec2 gx: XY/S8 2026-03-04 09:32:51 -08:00
Jasper St. Pierre d8c5d416a4 gx: Fix i/s naming difference in shader 2026-03-04 09:32:51 -08:00
Luke Street 94155429d9 Fixes 2026-03-03 12:05:09 -07:00
Pieter-Jan Briers afaa864642 gx: u32 arrays, le parsing (not hooked up anywhere) (#27)
Co-authored-by: Jasper St. Pierre <jstpierre@mecheye.net>
2026-03-03 10:46:06 -07:00
Jeffrey Crowell 676fdd4973 move assert in TryGuardRegion to in w32 only code (#30)
this will always fire on posix platforms unless the rest other calls to this part of the code are implemented (which they probably won't be)
2026-03-03 10:45:46 -07:00