Commit Graph

23965 Commits

Author SHA1 Message Date
Henrik Rydgård
473c87273f Maybe slightly safer vulkan detection code. Might help #10732 2018-03-17 19:22:59 +01:00
Henrik Rydgård
d5b123f10d
Merge pull request #10733 from unknownbrackets/loading
Vulkan: Load shaders/pipelines on thread
2018-03-17 16:12:06 +01:00
Unknown W. Brackets
7ae4a9e977 Vulkan: Load shaders/pipelines on thread.
In case it's slow when not reading raw cache data.
2018-03-17 07:42:07 -07:00
Henrik Rydgård
99af1d58ad OpenGL task switching fix 2018-03-17 13:45:12 +01:00
Henrik Rydgård
940d8b4589
Merge pull request #10731 from hrydgard/improve-vulkan-detection
Improve Vulkan detection
2018-03-17 13:05:03 +01:00
Henrik Rydgård
08c3e13517 Do more detailed checks for Vulkan availability. Should hopefully solve #10729. 2018-03-17 11:36:16 +01:00
Henrik Rydgård
1bb7be489f Remove some unused tracking of whether lighting is used by a shader 2018-03-17 10:33:50 +01:00
Henrik Rydgård
31de74c56c
Merge pull request #10730 from hrydgard/update-vulkan-headers
Update Vulkan headers to 1.1. Might as well keep up.
2018-03-17 10:12:30 +01:00
Henrik Rydgård
71630b81cf Update Vulkan headers to 1.1. Might as well keep up. 2018-03-17 09:55:14 +01:00
Henrik Rydgård
9761d8930d Bump GL shader cache version 2018-03-17 02:01:11 +01:00
Henrik Rydgård
6858c77612 Don't allow wrapping on framebuffer textures. Fixes GTA on old NV Shield 2018-03-17 01:54:11 +01:00
Henrik Rydgård
d72d710714
Merge pull request #10727 from hrydgard/vulkan-shader-cache
Implement pipeline/shader cache for Vulkan, to avoid shader compile stutters on second and subsequent runs.
2018-03-16 23:20:51 +01:00
Henrik Rydgård
763ece593a
Merge pull request #10728 from hrydgard/update-glslang
Update glslang to the latest version
2018-03-16 23:17:39 +01:00
Henrik Rydgård
d4a4844bff Update glslang to the latest version 2018-03-16 21:29:16 +01:00
Henrik Rydgård
614cabb115 Implement pipeline/shader cache for Vulkan, to avoid shader compile stutters on second and subsequent runs.
The raw pipeline cache got pretty large. Instead, store IDs like GL.

There's still a disabled option to store the pipeline cache objects.
2018-03-16 21:03:03 +01:00
Henrik Rydgård
2d33d526b8 Remove some remains of software skinning 2018-03-16 20:38:05 +01:00
Henrik Rydgård
8dc85c1a60 Vulkan pipeline: Merge a few property fields to a flags field.
To make saving/loading them easier.
2018-03-16 17:38:02 +01:00
Henrik Rydgård
45464896d2 Update lang submodule 2018-03-16 16:45:27 +01:00
Henrik Rydgård
4ee941dab1 Vulkan: Fix bug where we didn't always reset dynamic state after readbacks. 2018-03-16 15:52:43 +01:00
Henrik Rydgård
c5ebb2d73f Oops, remove logging 2018-03-16 14:58:45 +01:00
Henrik Rydgård
a08464eb77 Vulkan: Also check for empty clearing renderpasses later in the frame. 2018-03-16 14:57:41 +01:00
Henrik Rydgård
17eca3e2dd
Merge pull request #10725 from hrydgard/renderpass-merge-clear
Vulkan: If the first renderpass is an empty clear, merge it into the next one touching the same framebuffer.
2018-03-16 14:36:35 +01:00
Henrik Rydgård
df8dac4aae If the first renderpass is an empty clear, merge it into the next one that touches the same framebuffer. Works around #10723 in Wipeout. 2018-03-16 13:44:56 +01:00
Henrik Rydgård
3cd92b4d90 Vulkan: Add a (disabled) facility to force image layouts to GENERAL, for debugging barrier issues 2018-03-15 16:23:23 +01:00
Henrik Rydgård
26966d4655
Merge pull request #10719 from hrydgard/fix-gl-buffer-crash
GL: Fix bug where we could crash if a readback happened at the same time as a buffer expansion.
2018-03-14 00:52:24 +01:00
Henrik Rydgård
ba5208efaa GL: Fix bug where we could crash if a readback happened at the same time as a buffer expansion. 2018-03-14 00:06:38 +01:00
Henrik Rydgård
7ef749b667
Merge pull request #10718 from mrcmunir/patch-1
Fix a typo extra " in some header
2018-03-13 20:23:15 +01:00
Carlos Estrague / Mrc_munir
f3040949a3
Fix a typo extra " in some header
Fix a typo introduced in https://github.com/hrydgard/ppsspp/pull/10715
2018-03-13 20:16:41 +01:00
Henrik Rydgård
7a8310ae5e Tiny unification of code. Save the GL shader cache a bit less often. 2018-03-13 13:35:58 +01:00
Henrik Rydgård
70481c9444 Fix the loading status. Prettify the loading screen by putting the status and spinner along the bottom edge. 2018-03-13 11:25:17 +01:00
Henrik Rydgård
a0fa199ce3
Merge pull request #10715 from unknownbrackets/loading
UI: Show more detailed loading status
2018-03-13 10:44:07 +01:00
Unknown W. Brackets
88e01c7944 UI: Show more detailed loading status.
It's sometimes taking longer, so this may make it easier to identify.

See #10673.
2018-03-12 18:06:46 -07:00
Henrik Rydgård
7c6034e2ce
Merge pull request #10713 from hrydgard/windows-gl-vsync-fix
Fix VSync on Windows. Should fix #10711
2018-03-13 00:03:33 +01:00
Henrik Rydgård
162a425c15
Merge pull request #10714 from notnotme/master
Fix crash happening with glGetFloatv on GPDXD devices
2018-03-12 23:46:26 +01:00
Romain Graillot
ad37e7ce45 Fix crash happening with glGetFloatv on GPDXD devices 2018-03-12 23:11:58 +01:00
Henrik Rydgård
2a438d6e03 Fix VSync on Windows. Should fix #10711 2018-03-12 20:07:31 +01:00
Henrik Rydgård
cd75c46d47 Sort Vulkan function pointers by use. Might save us a cacheline or two during command submission.. 2018-03-12 20:05:50 +01:00
Henrik Rydgård
5ee851a5cf
Merge pull request #10712 from hrydgard/combine-two-uniforms
Combine the lightAngle and spotCoef float uniforms into one float2.
2018-03-12 11:48:14 +01:00
Henrik Rydgård
d8651fd85b Combine the lightAngle and spotCoef float uniforms into one float2. Saves 64 bytes from the light uniform buffer, making it an even 512.
Probably a very small perf optimization.
2018-03-12 11:17:45 +01:00
Henrik Rydgård
3c16f84378
Merge pull request #10707 from hrydgard/blackscreen-flicker-fix
Let's not do immediate flips in non-buffered.
2018-03-11 18:32:10 +01:00
Henrik Rydgård
a742465692
Merge pull request #10706 from hrydgard/vulkan-reliability-fixes
Fixes to vulkan restart logic on Android. Should help #10696
2018-03-11 18:01:20 +01:00
Henrik Rydgård
c1e05ae861 Let's not do immediate flips in non-buffered. Should help #10395 2018-03-11 17:42:16 +01:00
Henrik Rydgård
9f9903c02e Fixes to vulkan restart logic on Android. Should help #10696 2018-03-11 17:14:11 +01:00
Henrik Rydgård
0ed3deabe6 Fix #10692 (crash when starting games from command line). Throw in some minor Vulkan fixes as well. 2018-03-08 16:35:13 +01:00
Henrik Rydgård
90dbd9a725
Merge pull request #10691 from hrydgard/more-drawprim-opt
More DrawPrim optimizations
2018-03-05 18:23:08 +01:00
Henrik Rydgård
b6cbbceac9 MOVUPS to be safe. 2018-03-05 16:23:07 +01:00
Henrik Rydgård
91b565ae20 Minor simplification in X86/X64 vertex decoder jit 2018-03-05 13:19:36 +01:00
Henrik Rydgård
50de13d3d7 Optimize the "inner interpreter" for God of War character drawing. Speeds the games up by 4% or so.
(measured on the title screen though..)
2018-03-05 12:50:51 +01:00
Henrik Rydgård
4cf5999bc8 Move the vertTypeID calculation out of DrawEngine. Need to shorten SubmitPrim as much as possible. 2018-03-05 12:28:10 +01:00
Henrik Rydgård
d45ae9e67a
Merge pull request #10688 from unknownbrackets/gl-buffers
GLES: Support more buffer mapping strategies
2018-03-05 09:15:41 +01:00