Commit Graph
47140 Commits
Author SHA1 Message Date
Henrik Rydgård 0604e51272 Merge pull request #16734 from hrydgard/remove-nonindexed-optimization-vk
Vulkan: Don't use non-indexed draws for pure tristrips and fans (only PowerVR for now)
2023-01-12 08:09:21 +01:00
Henrik Rydgård 781374190c Merge pull request #16794 from hrydgard/remove-android-resolution-selector
Remove the Android display resolution selector
2023-01-12 08:09:03 +01:00
Henrik Rydgård 456a25e427 Merge pull request #16795 from hrydgard/vertical-improvements
Improve the use of space on the main screen in vertical mode.
2023-01-12 08:08:45 +01:00
Henrik Rydgård 6dc930feb7 Merge pull request #16796 from unknownbrackets/icache-typo
jit: Fix reporting of icache invalidate near PC
2023-01-12 07:30:24 +01:00
Unknown W. Brackets 8341b09087 jit: Fix reporting of icache invalidate near PC.
Reversed the check, that's what I get for not testing it.
2023-01-11 20:22:09 -08:00
Henrik Rydgård 0bc7854062 Android: Don't assert on failed Find4GBBase 2023-01-12 01:18:52 +01:00
Henrik Rydgård b4a91dbce5 Disable dark mode in disasm window, and the scrollbar hack 2023-01-12 01:05:06 +01:00
Henrik Rydgård 3c0a5e4c4c Fix the white line 2023-01-12 01:01:03 +01:00
Henrik Rydgård 8037eaa456 Further dark magic, no pun intended. Now for the menu bar. 2023-01-12 00:41:25 +01:00
Henrik Rydgård 62e5a5dfc3 Rudimentary support for Windows Dark Mode. Still undocumented for Win32 apps, so ugly. 2023-01-12 00:41:25 +01:00
Henrik Rydgård 86f34c52a4 Revert bad shader optimization 2023-01-12 00:30:41 +01:00
Henrik Rydgård adcb3e54f4 Improve the use of space on the main screen in vertical mode.
Arranges the main buttons horizontally.
2023-01-11 23:23:24 +01:00
Henrik Rydgård 1cfc7b11b8 Only force indexed draws on PowerVR / Vulkan. 2023-01-11 22:59:30 +01:00
Henrik Rydgård beed3c06d2 Vulkan: Don't use non-indexed draws for pure tristrips and fans, creates extra pipelines.
Bump shader cache version
2023-01-11 22:57:23 +01:00
Henrik Rydgård ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård 30586be75f Merge pull request #16791 from hrydgard/lighting-code-cleanup
Lighting code cleanup and optimization
2023-01-11 22:07:27 +01:00
Henrik Rydgård ca63bb1e5b Even more optimization/cleanup. Don't need to check ldot that we already know is >= 0.0. 2023-01-11 19:34:58 +01:00
Henrik Rydgård 965007d65b Tighten up the lighting shader code a bit, hopefully eliminating a branch or two. 2023-01-11 19:29:02 +01:00
Henrik Rydgård 1c8e456c97 Also apply this to OpenGL and D3D9 2023-01-11 19:29:02 +01:00
Henrik Rydgård 4c2a41cc83 Break out the attenuation term, too 2023-01-11 19:29:02 +01:00
Henrik Rydgård a508f7e345 Shave a few instructions from lighting shaders by prenormalizing the light dir used for spotlights 2023-01-11 19:29:02 +01:00
Henrik Rydgård 8d3a3285da Merge pull request #16787 from hrydgard/lighting-loop
Vertex shaders: On platforms with uniform buffers, use indexing and loop over the lights.
2023-01-11 19:28:53 +01:00
Henrik Rydgård 7b62b4626f Comment fixes 2023-01-11 15:29:52 +01:00
Henrik Rydgård 3b46409350 Vertex shaders: On platforms with uniform buffers, use indexing and loop for real over the lights.
Strangely, greatly speeds up pipeline creation on PowerVR.
2023-01-11 15:24:56 +01:00
Henrik Rydgård 350cb55c63 Merge pull request #16778 from hrydgard/remove-tex-flag
Remove the rather redundant DoTexture flag from vshaders.
2023-01-11 15:01:24 +01:00
Henrik Rydgård d894906a7e Fix formatting of lights uniform buffer (tabs->spaces) 2023-01-11 14:18:14 +01:00
Henrik Rydgård c4d8ebcad5 D3D11 fix 2023-01-11 14:16:46 +01:00
Henrik Rydgård 3d376b0ab7 Remove the rather redundant DoTexture flag from vshaders.
Slightly reduces the number of unique vertex shaders but doesn't do much
for the pipeline count, as the fragment shader has a tex flag. Still
worth doing for the simplification.
2023-01-11 14:16:46 +01:00
Henrik Rydgård 1b4018d19a Fix shader cache clearing in D3D11 - need to clear the input layout maps too 2023-01-11 14:16:12 +01:00
Henrik Rydgård eeca797aac Merge pull request #16785 from hrydgard/scrollview-dragbar
UI: Make vertical scrollbars directly draggable
2023-01-11 12:49:07 +01:00
Henrik Rydgård 69ff11fb40 UI: Make vertical scrollbars directly draggable. 2023-01-11 11:58:51 +01:00
Henrik Rydgård 725f9ad78f Merge pull request #16784 from hrydgard/ui-refactoring
Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h
2023-01-11 11:13:50 +01:00
Henrik Rydgård c27689910e Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h 2023-01-11 10:56:31 +01:00
Henrik Rydgård 5c79b930e9 Merge pull request #16783 from unknownbrackets/gl-cleanup
GLES: Remove some unused depth related code
2023-01-11 09:50:39 +01:00
Unknown W. Brackets 4e67194147 GLES: Remove some unused depth related code. 2023-01-11 00:20:11 -08:00
Henrik Rydgård 289206fee0 Merge pull request #16782 from unknownbrackets/gl-shader-del
GLES: Delete LinkedShaders after the program
2023-01-11 09:07:30 +01:00
Unknown W. Brackets 6a23d5b991 Merge pull request #16769 from hrydgard/more-uniform-bits
Uniform dirty-bits: Make room for four more uniforms.
2023-01-10 22:33:59 -08:00
Unknown W. Brackets 5102ef8a31 GLES: Delete LinkedShaders after the program.
The program references the shader, so we have to delete in this order.
Caused problems on useFlag change as well as probably DeviceLost.
2023-01-10 22:13:40 -08:00
Henrik Rydgård 56261af697 Uniform dirty-bits: Make room for four more uniforms. Then we're out and need to merge. 2023-01-11 00:16:17 +01:00
Lubos 6dc264e7e5 OpenXR - Workaround for disfunctional depth buffer allocation 2023-01-10 19:28:02 +01:00
Henrik Rydgård f57cb5e0d5 Merge pull request #16779 from hrydgard/ui-improvements
UI theme improvements
2023-01-10 16:31:50 +01:00
Henrik Rydgård a01ac7bad4 Merge pull request #16780 from GABO1423/libretro-goes-brrr
(Libretro) Makefile Tweak
2023-01-10 16:30:34 +01:00
Gabriel Morazán 6c2f830d3b (Libretro) Makefile Tweak 2023-01-10 11:25:19 -04:00
Henrik Rydgård 9547deb0c6 Simplify away some theme parameters. Make popups look better 2023-01-10 16:00:17 +01:00
Henrik Rydgård e6380ecf77 Add new "Dark" theme 2023-01-10 15:37:36 +01:00
Henrik Rydgård ffb8a9be47 Fix another subtle NEON type mismatch.
Fixes #16777
2023-01-10 14:56:30 +01:00
Henrik Rydgård edaa5246d1 Merge pull request #16771 from hrydgard/more-getpointer-cleanup
Core: A bit more GetPointer cleanup.
2023-01-10 14:36:08 +01:00
Henrik Rydgård 384cd91400 Merge pull request #16309 from sum2012/InterruptManagerForKernel-minror
Add InterruptManagerForKernel
2023-01-10 14:00:09 +01:00
Henrik Rydgård 555a5d45f7 Merge pull request #16773 from hrydgard/texoffs-flag
Remove the FS_TEXTURE_AT_OFFSET fragment shader flag
2023-01-10 13:51:04 +01:00
Henrik Rydgård 559d6706af Merge pull request #16775 from bslenul/lr-make-clean-fix
[Libretro] Prevent the removal of "huf_decompress_amd64.S" when doing "make clean" on Linux
2023-01-10 13:50:41 +01:00