Henrik Rydgård
0fea84b296
Merge pull request #21731 from hrydgard/misc-cleanups
...
Some GPU code cleanups
2026-05-24 23:18:22 +02:00
Henrik Rydgård
dd125b2e4d
Delete obsolete (and non-working) support for GPUs without non-pow-2 textures.
2026-05-24 14:15:34 +02:00
Henrik Rydgård
f40e487a61
Simplify the TransformedVertex struct
2026-05-24 12:48:26 +02:00
Henrik Rydgård
f3e9afb0fd
Merge pull request #21722 from hrydgard/rework-bbox
...
Rework BBOX culling to use the worldviewproj matrix
2026-05-23 15:37:08 +02:00
Henrik Rydgård
2eca0123f1
Correct culling in case of some weird viewport setups
2026-05-23 14:49:17 +02:00
Henrik Rydgård
fa856fbf68
Pass the culling unit tests.
2026-05-23 14:40:15 +02:00
Henrik Rydgård
a854a2bed1
Correct some comparisons for bbox
2026-05-23 14:40:15 +02:00
Henrik Rydgård
0d33cd0a65
Convert the BBOX/BJUMP culling to use the worldviewproj matrix and a screen space check.
2026-05-23 14:40:15 +02:00
Henrik Rydgård
7a093623e8
Sonnet NEON
2026-05-23 14:40:15 +02:00
Henrik Rydgård
1fb9446d5a
Optimize the SSE path
2026-05-23 14:40:15 +02:00
Henrik Rydgård
e64a61017e
Use the new method for NEON and fallback fast culling
2026-05-23 14:40:15 +02:00
Henrik Rydgård
2219809d7d
Copilot instructions
2026-05-23 14:40:15 +02:00
Henrik Rydgård
dbba46bfb5
Simplify away some trivial math
2026-05-23 14:40:15 +02:00
Henrik Rydgård
893bc732a1
Fast culling: Use the worldviewproj matrix to avoid the need for planes
2026-05-23 14:40:15 +02:00
Henrik Rydgård
db947e9d60
Merge pull request #21720 from MarkrPearce96/upstream-pr-glcore-context
...
libretro: call SetGLCoreContext(true) in LibretroGLCoreContext
2026-05-23 14:10:38 +02:00
Henrik Rydgård
d324bd6002
Merge pull request #21728 from JumpingY/patch-1
...
Update adhoc-servers.json
2026-05-23 10:24:52 +02:00
JumpingY
c1f9ffb4a9
Update adhoc-servers.json
2026-05-23 14:43:57 +08:00
Henrik Rydgård
feb1a7b5b1
Merge pull request #21724 from lukestagoll/fix/cache-unsupported-hid-devices
...
Windows: Cache unsupported HID device paths during HID controller polling
2026-05-22 15:19:11 +02:00
Luke
670e089276
Windows: Cache unsupported HID device paths during HID controller polling
2026-05-22 20:55:05 +10:00
Henrik Rydgård
f123c3ce0a
Merge pull request #21723 from Narugakuruga/patch-36
...
Update Simplified Chinese lang
2026-05-22 08:23:15 +02:00
Narugakuruga
8cbfe23cd9
Update zh_CN.ini
2026-05-22 13:16:41 +08:00
Narugakuruga
48d1bfb9e2
Update zh_CN.ini
2026-05-22 12:18:56 +08:00
Narugakuruga
4027c9dc27
Update simplified Chinese lang
...
Fix obvious error and missing translation
2026-05-22 01:47:41 +08:00
Mark Pearce
77045b89ad
libretro: call SetGLCoreContext(true) in LibretroGLCoreContext
...
LibretroGLCoreContext is the backend for RETRO_HW_CONTEXT_OPENGL_CORE,
so the frontend hands us a desktop GL Core profile context. But
CreateDrawContext() never told GLFeatures about it — useCoreContext
stayed at its default false and gl_extensions.IsCoreContext stayed
false, so the macOS Core-profile workaround at GLFeatures.cpp:532
(which force-enables ARB_framebuffer_object because Apple's Core
driver doesn't list it as an extension) never fired.
Every glBindFramebuffer(GL_FRAMEBUFFER, g_defaultFBO) in
GLQueueRunner::fbo_unbind then fell through both branches and silently
no-op'd, so the BackBuffer present pass rendered into nothing and
GL_INVALID_OPERATION accumulated. End result: black screen on macOS,
audio and game logic still working.
One-line fix: call SetGLCoreContext(true) before CheckGLExtensions().
2026-05-22 01:43:27 +08:00
Henrik Rydgård
3b776e65b7
Merge pull request #21718 from hrydgard/matrix-caching
...
Keep updated products of view*proj and world*view*proj matrices.
2026-05-21 19:18:56 +02:00
Henrik Rydgård
5cfbf50111
Keep updated products of view*proj and world*view*proj matrices. Use to simplify bbox culling.
2026-05-21 19:18:32 +02:00
Henrik Rydgård
84c7489e83
Merge pull request #21719 from ZironZ/fix-hidden-texture-shader-selection
...
Fix hidden texture shader selection
2026-05-21 19:09:20 +02:00
ZironZ
92fcf01dfd
Fix hidden texture shader selection
2026-05-21 11:46:20 -04:00
Henrik Rydgård
db604bfc04
Merge pull request #21717 from hrydgard/assorted-changes
...
Small refactor broken out of the viewport rework
2026-05-21 17:00:10 +02:00
Henrik Rydgård
2a745bc98d
Apple buildfix
2026-05-21 16:36:32 +02:00
Henrik Rydgård
4a420c95c2
Remove some redundant device caps, show clip/cull/depth-clamp in system info
2026-05-21 11:59:26 +02:00
Henrik Rydgård
9c0e9017e4
Merge pull request #21716 from kivutar/kivutar/sigstack
...
Backup and restore signal stack
2026-05-21 11:43:58 +02:00
Henrik Rydgård
41b5e0326e
Merge pull request #21714 from hrydgard/wasapi-improvements
...
Wasapi improvements: Improve multi-channel mix, fix buffer allocation issue
2026-05-21 11:42:36 +02:00
Henrik Rydgård
e97c049003
Add ArenaAnywhere status page link
2026-05-21 11:12:21 +02:00
Jean-André Santoni
00b18e9f15
Backup and restore signal stack
2026-05-21 10:14:41 +02:00
Henrik Rydgård
caf6d885e9
Fix a buffer allocation issue in the WASAPI backend, update comments.
...
Claude Sonnect helped spot this, but I'm unsure if it will actually fix #21711
2026-05-21 01:39:53 +02:00
Henrik Rydgård
9d43abc8bc
WASAPI: Improve channel mix for high audio channel setups
2026-05-21 01:24:14 +02:00
Henrik Rydgård
4e109dd6ae
Merge pull request #21710 from warmenhoven/warmenhoven/pr/libretro-build-fix
...
fix libretro build
2026-05-20 18:21:59 +02:00
Eric Warmenhoven
42c32db7f5
fix libretro build
2026-05-20 11:00:51 -04:00
Henrik Rydgård
8a69472153
Merge pull request #21709 from hrydgard/renderdoc-windows-fix
...
Windows: Restore the GDI-based text drawer, use it if RenderDoc is attached
2026-05-20 11:32:24 +02:00
Henrik Rydgård
b2faec0533
Windows: Restore the GDI-based text drawer, use it if RenderDoc is attached
...
The D2D-based text renderer requires a D3D11 context, which confuses
RenderDoc (it doesn't permit multiple 3D APIs in the same process).
So, let's restore the old GDI renderer and use it if RenderDoc is attached.
See #21638
2026-05-20 10:25:29 +02:00
Henrik Rydgård
721d1e323c
Merge pull request #21704 from hrydgard/remove-through-proj-matrix
...
Remove through-mode projection matrix
2026-05-19 17:16:10 +02:00
Henrik Rydgård
736d054b8f
Remove the u_proj_though matrix from the uniform buffer
2026-05-19 16:33:45 +02:00
Henrik Rydgård
0387cc4497
Remove a confusing operator overload from Lin::Vec3
2026-05-19 16:33:45 +02:00
Henrik Rydgård
d73893bc78
Merge pull request #21703 from hrydgard/unify-depth
...
Unify Z handling between the backends
2026-05-19 16:24:02 +02:00
Henrik Rydgård
65c99beea7
Remove some old debris
2026-05-19 15:43:25 +02:00
Henrik Rydgård
e108828bcc
Unify Z handling between the backends
2026-05-19 15:17:44 +02:00
Henrik Rydgård
9be180e6f0
Merge pull request #21702 from hrydgard/rewind-fixes
...
Rewind fixes
2026-05-19 14:57:13 +02:00
Henrik Rydgård
992bd1b12d
Qt buildfix, remove unused function
2026-05-19 14:36:47 +02:00
Henrik Rydgård
07efc7f7a3
Buildfix, remove some .c_str()
2026-05-19 13:59:04 +02:00