69 Commits

Author SHA1 Message Date
788c65592f Minor fixes with indexed draw calls 2025-04-14 23:07:50 -07:00
fee77b3d25 Split SI into it's own SDK library 2025-04-14 19:03:47 -07:00
7f3953d3d8 Add missing cfloat header in gx.hpp 2025-04-14 17:32:11 -07:00
4b9bcbb05e Split pad into it's own SDK library with the rest 2025-04-14 17:31:48 -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
3316ad9a7f Add aurora::mtx lib 2025-04-14 17:17:59 -06:00
609c4bfb72
Merge pull request #3 from dbalatoni13/main
Include <array>
2025-04-13 08:57:49 -07:00
dbalatoni13
a18cdf3b59 Include <array> 2025-04-13 15:05:51 +02: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
f0c6a1666b Implement most GX attribute stream functions 2025-04-07 20:14:30 -06:00
b3a8be9206 Check for null GXDrawDone callback 2025-04-07 20:13:02 -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
09f8c676ec Fix mouse scaling on hi-dpi displays and xorg/windows 2025-04-06 12:43:52 -07:00
f058c5b7a5 Remove submodules, migrate to FetchContent 2025-04-04 22:01:52 -06:00
d20c467fec Initial split of aurora into core, gx, and vi libraries, needs more re-org 2025-04-04 19:19:31 -07:00
20755720df
Merge pull request #2 from dbalatoni13/downgrade
Add a macro and missing GX functions to headers
2025-04-04 18:49:05 -07:00
dbalatoni13
cce3782fe8 Add a macro and missing GX functions to headers 2025-04-05 03:33:22 +02:00
905561b211 Set texture dimension limit 2025-04-04 16:32:26 -07:00
5c7ee8b04a Link static dawn on Windows 2025-04-04 17:31:03 -06:00
1016fbb36d Fix bind group caching 2025-04-04 01:59:30 -06:00
8a5e3bcdc7 Update dawn remote URL 2025-04-03 22:57:35 -06:00
b07d55f71d Update fmtlib 2025-04-03 21:03:11 -06:00
3d53dbed93
Merge pull request #1 from dbalatoni13/downgrade
Implement PADControlMotor
2025-04-03 15:26:08 -07:00
dbalatoni13
f713ca6750 Implement PADControlMotor 2025-04-03 23:59:14 +02:00
ca3e4f5273 Update to latest upstream dawn 2025-04-03 00:12:22 -06:00
1b088e79e8 Update to SDL3 & latest imgui 2025-04-02 19:57:16 -06:00
f6d63d7ed5 Merge branch 'main' into update
# Conflicts:
#	extern/dawn
#	lib/imgui.cpp
2025-04-02 16:15:30 -06:00
6f68612151 Add allowJoystickBackgroundEvents to config 2023-12-15 14:35:32 -08:00
5589b24df6 Add AURORA_WINDOW_MOVED event and add ability to set window position at launch 2023-10-27 14:31:57 -07:00
23b9ccb2cc Upgrade to Imgui 1.89.9-docking 2023-10-27 13:14:42 -07:00
365cea46da Update dawn 2023-10-22 17:15:06 -07:00
104f089cd0 Compile fixes 2023-10-22 09:19:55 -07:00
7bdeb5e17c Update dawn, add D3D11 backend, disable OpenGL (broken) 2023-06-28 20:03:05 -04:00
7ed3f03c6b Fix aurora_main compilation 2023-05-27 14:57:49 -04:00
74984bd1fe Update dawn 2023-05-27 14:57:29 -04:00
9c75c739e4 Updates to SetupWindowAndGetSurfaceDescriptor 2023-05-27 14:57:24 -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
ca822a7679 Input: Fix bad assumption about init
If we try and initialize anything controller related before the event
subsystem is initialized we lose all controllers detected on startup.
To solve this we simply wait until the first frame is about to be rendered
*then* initialize the controller subsystems
2023-01-21 19:48:26 -08:00
b91c2739c9 imgui: Custom imgui_impl_wgpu using WGSL 2022-11-28 12:12:06 -05:00
d8e41e4bcc Update dawn & use external OpenGL context hooks 2022-08-29 17:07:21 -04:00
99bb9e5f83 input: Updates for absl 2022-08-29 17:06:38 -04:00
610b6ba8bf webgpu: Set WebGPU device logging callback 2022-08-29 17:06:12 -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