Commit Graph

1501 Commits

Author SHA1 Message Date
LunaMoo
056494522e Remove default SDK version from project files 2019-04-27 23:01:41 +02:00
LunaMoo
280f7fec39 Fix VS2019 builds and remove _xp dependency
(drops Win XP support, allows latest SDK etc.)
2019-04-25 23:56:55 +02:00
Henrik Rydgård
ed1aa74827 Address feedback from #11936 (support memory types without CACHED as a backup) 2019-03-26 10:39:51 +01:00
Henrik Rydgård
60889767bf Vulkan: Request cached memory for readbacks. First try coherent too but also support non-coherent cached memory.
Should speed up readbacks slightly.

This is just a common sense optimization, I haven't measured it. Writes to
coherent non-cached memory is OK due to hardware write combining, but for
reads you really want cached to avoid a memory transaction for every
single read (instead reading full cache lines).
2019-03-25 21:40:25 +01:00
Henrik Rydgård
703fdc5561 MSVC project files: Fix silly search/replace error from #11883 2019-03-24 11:17:47 +01:00
Unknown W. Brackets
c7c45f0aca http: Fix warning on compare in url decode. 2019-03-23 07:25:58 -07:00
Henrik Rydgård
b0048525a1
Merge pull request #11884 from hrydgard/vulkan-buffer-usage
Vulkan: Tighten up push buffer usage flags a little bit.
2019-03-18 11:17:49 +01:00
Henrik Rydgård
7790e61b12
Merge pull request #11866 from unknownbrackets/keyup
UI: Pass touch/button releases to all screens
2019-03-18 11:16:35 +01:00
Henrik Rydgård
1ab9f6cc95
Merge pull request #11883 from hrydgard/windows-fp-precise
Windows: Change FP model to Precise. See #11382
2019-03-18 11:16:19 +01:00
Unknown W. Brackets
a99549c451 UI: Avoid using game info cache in savedata sort.
It can change mid-sort causing the sorting results to be inconsistent,
which will crash many implementations of std::stable_sort.

Also, fix an issue where it kept resorting after it didn't need to and
make it strictly ordered for equal dates/sizes.

Fixes #11892.
2019-03-17 06:34:21 -07:00
Henrik Rydgård
06b04f65a0 Vulkan: Narrow down buffer usage flags a little bit. 2019-03-14 12:41:39 +01:00
Henrik Rydgård
4d5af330a7 Windows: Change FP model to Precise. See #11384 2019-03-14 10:59:35 +01:00
Henrik Rydgård
7362cccee4 Vulkan subpass dependencies: Handle VK_IMAGE_LAYOUT_UNDEFINED without debug-asserting. 2019-03-12 22:34:41 +01:00
Henrik Rydgård
624587c594 Fix a VK validation failure when opening the homebrew menu 2019-03-11 16:42:41 +01:00
Unknown W. Brackets
1205753289 UI: Pass touch/button releases to all screens.
This way, if you go into a menu and release a button, it still gets
noticed.  This also goes for axis centering (and therefore vkeys.)

Also, move TOUCH_RELEASE_ALL to all screen switches.
2019-03-03 17:50:54 -08:00
Henrik Rydgård
2d5acc83b6 Use MSG_NOSIGNAL for some more send() calls. Didn't fix anything though.
See #11853
2019-03-01 08:35:35 +01:00
Henrik Rydgård
1f4c1cee2d Disable more texcoord math on terrible-precision PowerVR (it's really awful). Fixes #9189. 2019-02-26 10:39:17 +01:00
Henrik Rydgård
0cd3ac06d0 Avoid trying to create a FileLoader for empty filenames
Assorted cleanup
2019-02-25 21:35:51 +01:00
Henrik Rydgård
c1427f5981 VulkanImage: Fix issue where we'd try to free dedicated allocations from the allocator_ instead of Vulkan directly.
Snuck in some minor cleanups.
2019-02-24 22:23:26 +01:00
Henrik Rydgård
58c240045e Make window resize work with Vulkan. Seems more stable now. 2019-02-23 15:53:05 +01:00
vit9696
63f81f96fd Disable GLEW on macOS 2019-02-23 13:15:23 +03:00
vit9696
27d216ea25 Fix postprocessing shader support on macOS
Check GL_ARB_shading_language_420pack availability, which SPIRV-Cross assumes
present by default, causing explicit binding location generation during shader
translation.
2019-02-22 06:34:37 +03:00
Unknown W. Brackets
bb6aa99b9e Qt: Correct text bind on first draw of string.
Previously, the first frame we drew a new string was using the UI texture,
typically.
2019-02-17 08:11:16 -08:00
Henrik Rydgård
7e939802b5
Merge pull request #11787 from unknownbrackets/range-cull
GLES: Disable range culling on VideoCore/Vivante
2019-02-10 20:46:37 +01:00
Unknown W. Brackets
957c3d5b89 GLES: Disable range culling on VideoCore/Vivante.
Was only disabled before on Vivante GL3/GLES3 devices.
2019-02-10 11:36:23 -08:00
Henrik Rydgård
c509650bec OpenGL: Disable the mapped buffer strategy for Adreno (Qualcomm).
It's a race during shutdown between the EmuThread writing commands, and
the render thread which just lost the buffer.
2019-02-10 20:13:39 +01:00
Henrik Rydgard
f38a6650b1 VK code cleanup: Just a little helper for handling dedicated allocation for images. 2019-02-07 14:56:29 +01:00
Henrik Rydgård
54c6c148fb Detect PCI device ID where available (not in GL?) 2019-02-06 22:43:31 +01:00
Henrik Rydgard
e30daa8027 Remove unused API, assorted cleanup.
No longer enable the geometry shader feature, no plans to use it.
2019-02-05 21:31:43 +01:00
Henrik Rydgard
014668b9bc Update glslang to latest version 2019-02-05 18:07:18 +01:00
Henrik Rydgard
32f37723f9 Properly use VK_KHR_dedicated_allocation to make some drivers extra happy 2019-02-05 18:07:18 +01:00
Henrik Rydgard
8e1a5ef3d6 Minor refactor of physical device property/feature detection, to allow for more extension use. 2019-02-05 18:07:17 +01:00
Henrik Rydgard
0aedf3755f Fix checkbox bug introduced in #11758. Fixes #11761. 2019-02-04 13:22:58 +01:00
Henrik Rydgård
60bd2d8a60
Merge pull request #11758 from unknownbrackets/jitflags
Add flags to turn off parts of jit
2019-02-04 00:40:34 +01:00
Unknown W. Brackets
304c90934b UI: Add bitfield checkbox. 2019-02-03 14:57:08 -08:00
Henrik Rydgard
f339a0c15b VK: Minor cleanup, turn off unfinished and probably wrong use of dedicated allocation feature 2019-01-31 14:09:21 +01:00
Henrik Rydgard
ff633e2cc6 Update Vulkan headers to SDK 1.1.97 2019-01-31 13:39:18 +01:00
Henrik Rydgård
bb4d91c958 If we lose the Vulkan device, recommend the user to switch to Direct3D11.
:-(
2019-01-30 17:57:20 +01:00
Henrik Rydgard
add5e3c1fa DeleteDirRecursively: Don't leak the find handle on failure (win32)
Don't close invalid handles.
2019-01-25 20:18:53 +01:00
Henrik Rydgård
ac8d1deebd Update armips submodule with bugfix. Also lang. 2019-01-22 08:38:01 +01:00
Henrik Rydgård
b572dc52a5 Remove usage of deprecated function readdir_r (and ugly Blackberry hack diren_large) 2019-01-08 12:29:59 +01:00
Henrik Rydgård
5a1fa60087 Try to support Qt keyboard input directly. Partially fixes #11653 (nickname crash on mac) 2019-01-07 00:07:25 +01:00
Henrik Rydgård
12f295c4a5 GLES: Detect Vivante GPU, disable vertex range culling
Should work-around #11703
2019-01-03 12:43:32 +01:00
Unknown W. Brackets
809c0f3e2c http: Correct typo.
Oops, somehow deleted an important character when pushing up.
2018-12-29 08:16:56 -08:00
Henrik Rydgård
127330feec
Merge pull request #11700 from unknownbrackets/http-error
http: Report errors reading discs
2018-12-27 21:45:53 +01:00
Unknown W. Brackets
359afb2d6b http: Add timeout on no response.
Firewalls can cause this, by opening a connection but never responding.
2018-12-27 10:15:58 -08:00
Henrik Rydgård
8e17caf351
Merge pull request #11694 from unknownbrackets/draw-bugs
Vulkan: Limit stencil workaround to Adreno 5xx
2018-12-26 20:46:09 +01:00
Unknown W. Brackets
58ef662a65 GLES: Remove FBO_UNUSABLE bug check.
Was no longer affecting behavior...
2018-12-23 20:27:22 -08:00
Unknown W. Brackets
adeca2c3ba GLES: Move some vendor bug checks to Draw. 2018-12-23 20:27:22 -08:00
Unknown W. Brackets
e46701dee6 GLES: Specify glsl version precisely in depal.
Should prevent more of #11588 on vertex shaders, and may help Apple
devices some too.
2018-12-23 20:08:08 -08:00