19 Commits

Author SHA1 Message Date
Luke Street 1a15801f14 Fix RGBA8 edge tiles 2026-06-13 11:54:39 -06:00
Ahmad Abdallah c31d6dadcb Implement GX_TF_C14X2 conversion (#222) 2026-06-05 00:02:59 -06:00
Luke Street 71d8462557 Introduce render worker & revamp RmlUi backend 2026-06-04 23:43:13 -06:00
Luke Street 77e89e3c8a Fix GX_TL_IA8 conversion 2026-06-03 02:11:40 -06:00
Luke Street 558ba0a987 Add RG8 and BC1 PC texture formats 2026-05-30 10:03:34 -06:00
Luke Street 4622fea2ef Fix width/height in convert_texture_palette 2026-05-27 22:56:34 -06:00
Luke Street 5d420c9f73 Arbitrary mipmap detection & texture cleanup (#131) 2026-04-20 20:33:14 -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 5ff8232fd7 Delete CMPR->DXT1 conversion; always use RGBA8
CMPR and DXT1 differ in alpha-blending behavior;
we should always decode to RGBA8 instead of using the
TextureCompressionBC feature path.
2026-03-29 15:07:24 -06:00
Jasper St. Pierre d3c1d72c4a fix npot texture decode (#46) 2026-03-08 23:15:51 -06:00
Luke Street b5cc2d9f9b Actually decode TCG mtx values 2026-03-05 12:55:48 -07:00
Jasper St. Pierre 894afb4513 gfx fix 2026-03-05 09:44:33 -08:00
Luke Street a600b0b84c Rewrite attribute buffer, matrix & stream handling
Now array attributes (GXSetArray) will be properly
fetched based on the vertex format. Buffers are
still assumed to be byte-swapped to little-endian.

Stream handling completely redone and many issues
resolved.

Eliminates matrix transposes. AURORA_NATIVE_MATRIX
is no longer necessary and removed.
2025-04-14 17:17:59 -06:00
Phillip Stephens 3b56e337c0 Build fixes for linux and possibly macOS 2025-04-10 13:35:47 -07:00
Luke Street e39ffe6429 Fix non-block-aligned texture decoding & TLUT decoding 2025-04-07 20:12:16 -06:00
Luke Street c060e1da6b Reimplement GXCopyTex; simplify assertions 2022-08-09 02:05:33 -04:00
Luke Street 893cabe55a Transition back to webgpu_cpp; initial emscripten support 2022-08-02 16:37:56 -04:00
Luke Street 9a725c89cf Initial commit 2022-07-27 11:25:25 -04:00