Henrik Rydgård
b27c427547
We always bind and draw together, so let's combine them to one command.
2023-05-10 10:56:25 +02:00
Henrik Rydgård
c7caefe6d8
Have Draw and DrawIndexed share command and struct. Will make the next change easier.
2023-05-10 10:40:33 +02:00
Henrik Rydgård
d5e0299b0b
GLR: Share union struct between Draw/DrawIndex
2023-05-10 10:32:13 +02:00
Henrik Rydgård
f593d65833
Avoid double-free in stereo mode
2023-05-10 10:13:54 +02:00
Henrik Rydgård
c882046251
Remove redundant render command
2023-05-10 09:23:10 +02:00
Henrik Rydgård
8f2069ef71
GLQueueRunner: Combine BindVertexBuffer with BindIndexBuffer
2023-05-10 09:23:10 +02:00
Henrik Rydgård
cc16eb8321
Shrink the GLRRenderCommand struct from 152 to 88 bytes
...
Turns out the VR work bloated it a bit, which can't be good.
Think it's fine to allocate these view matrices on the heap to get them
out of the way, there won't be that crazy many per frame usually.
2023-05-10 00:24:17 +02:00
Henrik Rydgård
16fbb31a65
Add a null pointer check in NativeActivity
...
due to stack trace from #17364
2023-05-09 23:43:04 +02:00
Henrik Rydgård
51fc2c6170
Merge pull request #17440 from hrydgard/revert-lmode-flag
...
Revert lmode variant reduction
2023-05-09 21:38:15 +02:00
Henrik Rydgård
fd43807c4d
New fragment shader optimization: Only clamp color output if needed.
2023-05-09 18:44:24 +02:00
Henrik Rydgård
b42670cf59
Manually revert the rest of the lmode optimization
2023-05-09 18:44:24 +02:00
Henrik Rydgård
0babac5c5f
Manually revert "Remove LM flag from vshader too" ( #16718 )
...
Reverts #16718
Though maybe we can keep this one? Let's see.
2023-05-09 18:44:18 +02:00
Henrik Rydgård
38c4c48ebe
Merge pull request #17439 from hrydgard/revert-fog-fshader
...
Revert "Merge pull request #16628 from hrydgard/remove-fog-fshader-flag"
2023-05-09 18:20:46 +02:00
Henrik Rydgård
f42c682d34
Revert "Merge pull request #16628 from hrydgard/remove-fog-fshader-flag"
...
This reverts commit 10dee90c83 , reversing
changes made to 34c11c8acf .
2023-05-08 22:01:38 +02:00
Henrik Rydgård
ba4f2837e7
Merge pull request #17435 from hrydgard/wwe-scan-functions-fix
...
ElfLoader: Don't scan for functions in zero-length sections
2023-05-08 17:48:27 +02:00
Henrik Rydgård
0da82d3250
ElfLoader: Don't scan for functions in zero-length sections
...
We end up scanning a crazy range from 0 to 0xFFFFFFFFC, which causes
problems.
Happens in WWE: Smackdown Vs Raw 2009 during initial load.
2023-05-08 17:04:29 +02:00
Henrik Rydgård
2aed95bed8
Merge pull request #17433 from hrydgard/custom-button-analog-fix
...
Custom button analog fix
2023-05-08 12:00:03 +02:00
Henrik Rydgård
ce632ec079
IniFile: Fix writing 64-bit hex values.
2023-05-08 10:47:03 +02:00
Henrik Rydgård
9623f515e7
Add back support for custom buttons to control analog inputs
2023-05-08 10:46:28 +02:00
Henrik Rydgård
e078f61bad
Rename class CustomKey to CustomButton
2023-05-08 10:13:52 +02:00
Henrik Rydgård
90ea4243e0
Merge pull request #17429 from Kaitul/master
...
Revert zh_TW.ini
2023-05-07 22:22:18 +02:00
Kung-chih
34f0f20534
Revert zh_TW.ini
2023-05-08 00:34:10 +08:00
Henrik Rydgård
97ea555427
Merge pull request #17427 from DDinghoya/patch-9
...
Update ko_KR.ini
2023-05-07 12:17:18 +02:00
DDinghoya
92fcb69dcc
Update ko_KR.ini
2023-05-07 19:14:45 +09:00
Henrik Rydgård
6d619201bd
v1.15.3
v1.15.3
2023-05-07 10:47:35 +02:00
Henrik Rydgård
5d9a3982a7
Update README.md for 1.15.3
2023-05-07 10:43:35 +02:00
Henrik Rydgård
7e7f9fff58
Merge pull request #17425 from unknownbrackets/android-intent
...
Android: Explicitly allow content URI intents
2023-05-07 09:26:35 +02:00
Unknown W. Brackets
1e2c3f7f30
Android: Explicitly allow content URI intents.
2023-05-06 23:47:19 -07:00
Henrik Rydgård
7f2c03156f
Fix the skip buffer effects menu item not having immediate effect (wrong invalidation).
...
Fixes part of #17404
2023-05-07 00:00:01 +02:00
Henrik Rydgård
13815e6f5a
Merge pull request #17423 from unknownbrackets/debugger
...
Debugger: Correct PC if replacement breaks
2023-05-06 23:08:53 +02:00
Unknown W. Brackets
87217053ef
Debugger: Correct PC if replacement breaks.
...
If a memory breakpoint hits within a replacement (like memcpy, memset) we
would previously move PC back to the jal in cases, which would break
things if you tried to resume.
2023-05-06 13:40:01 -07:00
Unknown W. Brackets
3d61f97b81
Debugger: Fix allocs+writes collapsing together.
2023-05-06 13:39:31 -07:00
Henrik Rydgård
c4422e5027
Merge pull request #17422 from unknownbrackets/windows-all-displays
...
Windows: Fix initial window show for all displays
2023-05-06 18:38:07 +02:00
Unknown W. Brackets
4ecd0a68f7
Windows: Fix initial window show for all displays.
2023-05-06 08:56:34 -07:00
Henrik Rydgård
d5ac88ecec
Merge pull request #17420 from hrydgard/analog-mapping-glitch-fix
...
Fix glitch when mapping analog inputs, caused by multiple TriggerFinish
2023-05-06 17:12:02 +02:00
Henrik Rydgård
14887d6b04
Bump shader cache version (should have done it in the release)
2023-05-06 16:15:32 +02:00
Henrik Rydgård
311a1a0fe2
Fix glitch when mapping analog inputs, caused by multiple TriggerFinish caused by stray analog axis events.
...
ADd some guards all over the place against the same thing.
2023-05-06 15:33:28 +02:00
Henrik Rydgård
23c24d2961
Merge pull request #17415 from hrydgard/misc-fixes
...
Misc fixes and checks
2023-05-06 10:45:20 +02:00
Henrik Rydgård
bf79e4b10e
Merge pull request #17414 from hrydgard/gpu-remove-jumpfast
...
GPU: Remove JumpFast/CallFast
2023-05-06 10:44:58 +02:00
Henrik Rydgård
bda9493ce1
Merge pull request #17413 from alebcay/macos-system-libsdl2
...
Allow usage of system SDL2 on macOS
2023-05-06 07:01:23 +02:00
Henrik Rydgård
ff72203a06
Remove now-redundant check, add a TODO
2023-05-05 23:46:19 +02:00
Henrik Rydgård
640c4fe9e1
GPU: Remove JumpFast/CallFast. They only avoid a very quick check and not worth the unsafety.
2023-05-05 23:44:19 +02:00
Henrik Rydgård
ac88e73768
TextDrawerAndroid: Handle a null fontName, saw some crash reports that looked like that.
2023-05-05 23:40:06 +02:00
Caleb Xu
8ef17b1662
Allow usage of system SDL2 on macOS
2023-05-05 17:26:21 -04:00
Henrik Rydgård
0d0b0fc60b
Turn some reported crashes into asserts, to try to confirm what's going on
2023-05-05 23:26:21 +02:00
Henrik Rydgård
fea78f93b2
Merge pull request #17412 from hrydgard/controller-mapping-fixes
...
Controller mapping fixes
2023-05-05 23:20:59 +02:00
Henrik Rydgård
cd33b79ae7
Fix an issue where stray KEY_UP events could confuse the control mapper into setting empty events
...
This had some not-so-good consequences, like inability to map anything
in VR, and sometimes empty MultiMappings would result that we could end
up asserting on before the previous commit.
2023-05-05 23:00:01 +02:00
Henrik Rydgård
eec1ad5a75
Add some checks to try to prevent empty MultiInputMapping from arising, assert->log
2023-05-05 22:26:44 +02:00
Henrik Rydgård
3318088a28
Merge pull request #17406 from hrydgard/even-more-crash-fixes
...
Even more crash fixes
2023-05-05 18:55:43 +02:00
Henrik Rydgård
a291597a73
Merge pull request #17408 from Neo1102/patch-1
...
Update zh_TW.ini
2023-05-05 18:55:31 +02:00