Commit graph

5259 commits

Author SHA1 Message Date
EmeraldLockdown
ce6f06fe9c Merge remote-tracking branch 'origin/dev' into shader 2026-07-03 10:41:42 -05:00
EmeraldLockdown
e901c04146 Merge remote-tracking branch 'origin/dev' into shader
HELP ME
2026-07-03 10:31:28 -05:00
EmeraldLockdown
a436944b58 Update default shader 2026-07-03 10:17:36 -05:00
EmeraldLockdown
2da23114e4 Make uShaderFlagsEnabled 2026-07-03 10:11:35 -05:00
EmeraldLockdown
98cc5f70c2 Dont break macos opengl 🙏 2026-07-03 02:13:44 -05:00
EmeraldLoc
ff3c2fa839 Fix legacy system 2026-07-03 02:07:35 -05:00
EmeraldLockdown
eb99b25418 I should open vscodei n windows lol 2026-07-03 01:39:11 -05:00
EmeraldLockdown
af82e707d7 Loooooooooooooooool 2026-07-03 01:38:28 -05:00
EmeraldLockdown
c08761298c Whoops, fix that 2026-07-03 01:37:48 -05:00
EmeraldLockdown
63e5c61dc9 Make metal blazingly fast
Stopped lying about using a ring buffer, made semaphores work, allow 3 frames in flight, remove wait after command buffer
2026-07-03 01:31:38 -05:00
EmeraldLockdown
b79cdfda55 Remove those 2026-07-03 01:07:51 -05:00
EmeraldLockdown
f01c589b5c Update default shaders 2026-07-03 01:07:16 -05:00
EmeraldLockdown
3e0f5ae498 Fix setting array uniforms in anything but opengl 2026-07-03 01:02:30 -05:00
EmeraldLockdown
4c25943f21 Minor improvement by @AgentXLP 2026-07-03 00:06:02 -05:00
EmeraldLockdown
963b9131d9 Finish documentation 2026-07-03 00:02:52 -05:00
EmeraldLockdown
cac1dfc2f9 Fix scissor in metal 2026-07-02 21:55:03 -05:00
EmeraldLockdown
4477fd7c4f Make frame pass viewport system much simpler, fixup scaling with viewports 2026-07-02 17:22:47 -05:00
EmeraldLockdown
ae3de517da Stricter sanitization, fix default lua shader 2026-07-02 16:32:46 -05:00
EmeraldLockdown
0297041d86 Update default lua shader 2026-07-02 16:24:12 -05:00
EmeraldLockdown
2fa69bf576 Add some lua functions for render api, add legacy func to render api, make opengl versions < 4.5 legacy GL 2026-07-02 16:17:56 -05:00
EmeraldLockdown
d9f29f8f2d Add inverse matrices 2026-07-02 15:39:43 -05:00
EmeraldLockdown
60a793e3e6
[build] Blast gcc@9 from intel action dep
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-07-02 15:33:50 -05:00
EmeraldLockdown
f0a26feb5e Fps go brrr 2026-07-02 14:57:07 -05:00
EmeraldLockdown
26f28485f1 More optimization 2026-07-02 11:58:15 -05:00
EmeraldLockdown
e4160e48a7 Optimization
Opengl remains unchanged for the most part regarding fps, metal received a 200fps boost

There is a bug with djui text. It only happens when using the cpu provided aClipPos, so something is wrong with one of the calcs
2026-07-02 11:41:45 -05:00
EmeraldLockdown
eb715a8902 Add clip pos as a vbo 2026-07-02 03:01:33 -05:00
EmeraldLockdown
13b593ac4a Fix setting array uniforms 2026-07-02 02:54:14 -05:00
EmeraldLockdown
a712cf1660 fix macos text nonsense 2026-07-02 02:53:18 -05:00
EmeraldLockdown
21d3c023a3 Fix cli opts 2026-07-02 02:51:22 -05:00
Agent X
9117a58bff Fix faulty(?) check in shader cache lookup causing slight fps decrease 2026-07-01 18:08:12 -04:00
EmeraldLockdown
0f7e7d7744 Fix culling in metal, do a hotfix on flickering in metal 2026-07-01 13:20:47 -05:00
EmeraldLockdown
340a5bdff0 Have mercy on me for this horrible code 🙏 2026-07-01 11:02:08 -05:00
EmeraldLockdown
100b0fd27e Make text input not bind on init
still doesnt fix the issue im having with macos and text tho :(
2026-07-01 10:14:30 -05:00
EmeraldLoc
4ca5c3ca97 Write out some of the dev progress in shaders.md (terrible place to write) 2026-07-01 09:40:38 -05:00
EmeraldLockdown
4b67de0769 This still isn't working right
Depth comparison is still wrong on metal, probably a one liner somewhere/a configuration option
2026-07-01 09:27:02 -05:00
EmeraldLoc
8f10830410 Fix matrices yet again lol, also fix windows comp 2026-07-01 09:22:04 -05:00
EmeraldLockdown
7dd724021b Back to windows 2026-07-01 08:29:09 -05:00
EmeraldLockdown
e4b89afaa1 Stop logging msl shader code 2026-07-01 01:15:12 -05:00
EmeraldLockdown
0be198af89 Actually add metal files 2026-07-01 01:09:46 -05:00
EmeraldLockdown
073e38189b Add metal render api 2026-07-01 01:06:11 -05:00
EmeraldLockdown
8f27c6614c Get shaders up and running again 2026-06-30 09:53:31 -05:00
EmeraldLoc
79661cd3cd Tidy up multipass shaders
There is a doulbe free bug somewhere here but need to move to macos for debugging
2026-06-30 08:22:40 -05:00
Isaac0-dev
c4538e9d41 allow adding scroll targets on load again
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
to fix mods that already called on load.
2026-06-29 12:52:20 +10:00
PeachyPeachSM64
79d6a8bcff Add freqScale to HOOK_ON_PLAY_SOUND
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-06-26 18:51:36 +02:00
PeachyPeachSM64
63660e52b9 stupid dev forgot how to read
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-06-21 21:10:19 +02:00
Cooliokid956
be8ad7acc9
Make spawn_*_object setup function optional (and everything else) (#1321)
* sep

* aughh i forgot to run autogen
2026-06-21 18:24:53 +02:00
Cooliokid956
ffe63b9f8a
Paintings: reduce entries with macros (#1318)
* sep

* Peachy
2026-06-21 18:24:11 +02:00
Demi-kun
10d9e2e295
Small SDL Audio Tweaks (#1296)
* Small SDL Audio Tweaks

* coderabbitai review
2026-06-21 18:22:51 +02:00
PeachyPeachSM64
ee314a8472 Autogen improvements
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
- Now runs around 60% faster thanks to regex compilation and caching
- Move all constants/functions/structs lists and dicts into a unique file "exposed_lists.py" to make exposing stuff easier
2026-06-21 17:11:45 +02:00
PeachyPeach
f3df12cb3e
Lua API cleanup (#1302)
* Lua API cleanup

* rerun autogen
2026-06-21 14:08:00 +02:00