29 Commits

Author SHA1 Message Date
c4d91f18a1 Split out display_list/shader_info 2025-04-18 21:52:38 -06:00
357ecba0ae Lighting channel fixes (COLOR1+) 2025-04-15 19:37:18 -06:00
6c27585cf9 Simplify lighting in build_uniform 2025-04-15 09:19:04 -06:00
788c65592f Minor fixes with indexed draw calls 2025-04-14 23:07:50 -07:00
7f3953d3d8 Add missing cfloat header in gx.hpp 2025-04-14 17:32:11 -07:00
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
3b56e337c0 Build fixes for linux and possibly macOS 2025-04-10 13:35:47 -07:00
d9de6603c7 Fix projection depth adjustment (I guess?) 2025-04-07 21:14:37 -06:00
1825a80953 Clamp scissor to framebuffer size 2025-04-07 20:12:31 -06:00
e39ffe6429 Fix non-block-aligned texture decoding & TLUT decoding 2025-04-07 20:12:16 -06:00
37ae1bf9b5 Replace usages of Log.report with helpers 2025-04-06 16:37:05 -06:00
7760ef8409 Restructure logging and add fallback logging 2025-04-06 16:32:50 -06:00
f058c5b7a5 Remove submodules, migrate to FetchContent 2025-04-04 22:01:52 -06:00
1016fbb36d Fix bind group caching 2025-04-04 01:59:30 -06:00
b07d55f71d Update fmtlib 2025-04-03 21:03:11 -06:00
ca3e4f5273 Update to latest upstream dawn 2025-04-03 00:12:22 -06:00
7bdeb5e17c Update dawn, add D3D11 backend, disable OpenGL (broken) 2023-06-28 20:03:05 -04:00
fca51127a2 Use wgpu::ShaderModuleWGSLDescriptor.code 2023-05-27 14:57:03 -04:00
3edd2c0e58 Update dawn & SDL part 1 2023-05-27 11:44:36 -04:00
d8e41e4bcc Update dawn & use external OpenGL context hooks 2022-08-29 17:07:21 -04:00
ea6e49e000 gfx: Limit # of synchronous pipelines per frame
Allows OpenGL(+ES) to run smoothly even when
building initial pipeline cache.
2022-08-29 17:05:34 -04:00
ff0b43137c gx_shader: Use custom mtx types for consistent size/alignment 2022-08-29 17:04:12 -04:00
c649cd62ee gx: More operator!= impls for old GCC 2022-08-28 14:11:07 -04:00
5f06d873bc gx_shader: normalize normal 2022-08-09 13:40:45 -04:00
c060e1da6b Reimplement GXCopyTex; simplify assertions 2022-08-09 02:05:33 -04:00
893cabe55a Transition back to webgpu_cpp; initial emscripten support 2022-08-02 16:37:56 -04:00
04590f30cd Fix GXSetTevColorS10; fix sampling GX_TF_R8_PC 2022-07-31 17:02:56 -04:00
0da998450b Merge GXBegin/GXEnd draws if GX state unchanged 2022-07-28 19:48:02 -04:00
9a725c89cf Initial commit 2022-07-27 11:25:25 -04:00