Commit Graph
27588 Commits
Author SHA1 Message Date
LunaMoo 6ae8b3603d Merge pull request #10072 from unknownbrackets/cheats
Cheats: Split parsing and execution
2017-11-09 18:46:52 +01:00
Henrik Rydgård 8b42d83123 Vulkan: Remove duplicate depalShaderCache, fix a number of instances where we didn't use the deleter properly.
Plus more logging, of course.
2017-11-09 17:25:37 +01:00
Henrik Rydgård 6eb58b1252 Keep the draw context up to date in a bunch of places. More logging. 2017-11-09 16:28:22 +01:00
Henrik Rydgård ec504756e0 Vulkan: Improve init/shutdown logging on Android. Fix a bug where we'd not run InitDeviceObjects on GPU_Vulkan sometimes. 2017-11-09 16:02:05 +01:00
Henrik Rydgård cd55e9d2a8 Merge pull request #10076 from hrydgard/upgrade-glslang
Upgrade glslang to a fresh version (used to compile Vulkan shaders).
2017-11-09 14:42:47 +01:00
Henrik Rydgård b689e8e15f Fix some ports 2017-11-09 13:55:33 +01:00
Henrik Rydgård 4e04780adc Upgrade glslang to a fresh version (used to compile Vulkan shaders). Might help #10065 ?) 2017-11-09 13:36:18 +01:00
Henrik Rydgård 845b02a6c5 Ooops 2017-11-09 13:35:42 +01:00
Henrik Rydgård 25f32b1d78 Vulkan: Disable dual source blending on Intel GPUs, fixes #10074. 2017-11-09 13:16:06 +01:00
Henrik Rydgård 13e508e00b Merge pull request #10075 from hrydgard/vulkan-device-detection
Vulkan device detection - prefer discrete GPUs
2017-11-09 13:15:13 +01:00
Henrik Rydgård ba846fdbc5 Show textual names of Vulkan GPU vendors 2017-11-09 12:30:07 +01:00
Henrik Rydgård c6c90d4cbc Improve Vulkan device selection mechanism to prefer discrete GPUs 2017-11-09 12:21:20 +01:00
Henrik Rydgård c855ab66d5 Cleanup gradle output. 2017-11-09 11:22:38 +01:00
Unknown W. Brackets 1d348b8aa7 Cheats: Fix pointer command count offset.
2 means there's 1 line of data.  This was the actual problem.
Thanks LunaMoo.
2017-11-08 22:24:37 -08:00
Unknown W. Brackets baf351c372 Cheats: Clamp pointer command data to avail.
In case more data is provided, as was allowed before.
2017-11-08 17:48:33 -08:00
Unknown W. Brackets 0ed62cfe30 Merge pull request #7 from LunaMoo/cheats
Fix 0x6 code types
2017-11-08 20:46:18 -05:00
LunaMoo 34b1cb7141 Fix 0x6 code types 2017-11-08 17:39:22 +01:00
Henrik Rydgård ca3be1877e Vulkan: Apply simple workaround for Mali driver bug (see #10070), and minor cleanup. 2017-11-08 17:03:27 +01:00
Henrik Rydgård 62b24edde1 Fix some minor things found by running Sizer on PPSSPP
Sizer: https://github.com/aras-p/sizer
2017-11-08 16:56:48 +01:00
Unknown W. Brackets bf4f5a102e Cheats: Enable for any non-zero number. 2017-11-08 06:51:25 -08:00
Henrik Rydgård 8fe171253d Disable lwl/lwr on ARM64 JIT again. Seems b9b2656e93 broke things, see #10020 2017-11-08 12:11:55 +01:00
Henrik Rydgård d618b3673b Count readbacks in a frame and show in GPU debug stats. 2017-11-08 11:57:53 +01:00
Unknown W. Brackets c62a53c223 Cheats: Split parsing and execution.
This makes the code easier to read, and makes it easier to add other types
later on.

Also, the parser can now handle a file with multiple game ids.
2017-11-07 19:51:32 -08:00
Henrik Rydgård 4970668b99 Try harder to free up memory from the Android native font rendering system. Might help #10069 2017-11-07 12:31:03 +01:00
Henrik Rydgård 7922a2ab5c Vulkan: If acquiring a frame fails (happens sometimes during window resize), skip swapping the frame. Should help #10063 2017-11-07 09:56:41 +01:00
Henrik Rydgård 4cee442b0f Merge pull request #10068 from unknownbrackets/vulkan-minor
Vulkan: Fix deadlock on resize
2017-11-07 09:01:29 +01:00
Unknown W. Brackets 6c1f6618b6 Vulkan: Wait for orderly thread stop on resize.
To be safer, let's just let it finish.  We don't actually sync the thread
in join(), so it could still be running a frame.
2017-11-06 23:03:14 -08:00
Unknown W. Brackets 1ab9f102ab Vulkan: Fix deadlock on resize.
Still needed to set this flag.  Didn't notice earlier because creating the
fences affected the race condition timing, I think...

Improves #10063.
2017-11-06 22:30:14 -08:00
Henrik Rydgård 70c70b1e76 Vulkan: Some error handling improvement. Might get us a clue for #10065 2017-11-07 00:08:39 +01:00
Henrik Rydgård 4f4eb6f024 Vulkan: The validation layers don't like zero-size blits. 2017-11-06 23:49:27 +01:00
Henrik Rydgård 944cc94630 Vulkan: Better way to make sure we bind the backbuffer at some point. 2017-11-06 23:48:47 +01:00
Henrik Rydgård ea2fc55217 Merge pull request #10056 from hrydgard/remove-multithreading-2
Remove the old style multithreading
2017-11-06 20:37:06 +01:00
Henrik Rydgård b280e30a27 Merge pull request #10060 from unknownbrackets/debugger
Show texture, depth, and stencil preview in Vulkan
2017-11-06 09:39:19 +01:00
Unknown W. Brackets 3a84b63777 Vulkan: Convert depth format on readback.
Although, the GPU debugger stuff already handles more formats, it's hard
to get the current format to avoid the conversion...
2017-11-06 00:29:02 -08:00
Unknown W. Brackets fc32a7b24e Vulkan: Show textures in GE debugger. 2017-11-06 00:29:01 -08:00
Unknown W. Brackets 138837ac54 Vulkan: Add texture image readback.
This way we can see how it was decoded, scaled, etc.  This also helps
seeing texture cache invalidation issues.
2017-11-06 00:29:01 -08:00
Henrik Rydgård 392adde1a0 Merge pull request #10061 from unknownbrackets/vulkan-minor
Fix softgpu in Vulkan
2017-11-06 09:01:07 +01:00
Unknown W. Brackets 4a08410d7d Vulkan: Fix non-16 bit indexed drawing.
Only really affects softgpu, since games are rewritten to 16 bit.
2017-11-05 22:15:27 -08:00
Unknown W. Brackets 9dfc9ff6ae Vulkan: Allow clearing the backbuffer to any color.
Helps with debugging sometimes.
2017-11-05 22:14:53 -08:00
Unknown W. Brackets cd6249d080 D3D11: Show FBO-as-texture in GE debugger. 2017-11-05 18:41:24 -08:00
Unknown W. Brackets 1f33907f20 TexCache: Warning fix. 2017-11-05 17:59:34 -08:00
Unknown W. Brackets de459e6a1d Merge pull request #10058 from bentley/master
Use W^X on OpenBSD.
2017-11-05 19:21:00 -05:00
Anthony J. Bentley 9fc355eee4 Use W^X on OpenBSD. 2017-11-05 17:06:09 -07:00
Henrik Rydgård a827ad23ae Don't use "threadsafe events" for Ge stuff. 2017-11-06 00:27:51 +01:00
Henrik Rydgård 0b68130968 Merge pull request #10057 from unknownbrackets/vulkan-minor
Fix framebuffer leak in Vulkan
2017-11-05 23:38:35 +01:00
Unknown W. Brackets b2039bd14f Vulkan: Fix leak in WipeQueue(). 2017-11-05 14:22:09 -08:00
Henrik Rydgård f16d11a43b Turn on multithreaded vulkan 2017-11-05 23:21:54 +01:00
Henrik Rydgård 9e35144b96 Remove/deprecate GPU tick sync 2017-11-05 23:21:53 +01:00
Henrik Rydgård 8c69be9bfa Get rid of GPUCommon's "Internal" functions. 2017-11-05 23:21:52 +01:00
Henrik Rydgård bb68906d88 Delete ProcessEvent and the GPUEvent enum 2017-11-05 23:21:51 +01:00