1485 Commits

Author SHA1 Message Date
Henrik Rydgård
4d5af330a7 Windows: Change FP model to Precise. See #11384 2019-03-14 10:59:35 +01:00
Henrik Rydgård
bd71af24db Fix some minor things found looking at Valgrind output 2019-02-27 13:42:00 +01:00
Henrik Rydgård
cb25354dce Better place for CloseHandle 2019-02-25 21:48:56 +01:00
Henrik Rydgård
ff2c540e51 Found the handle leak! Doh. 2019-02-25 21:35:56 +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
Unknown W. Brackets
6bc596d3a7 Windows: Hide accelerators when they are disabled.
Currently, mapping something to load state / save state / etc. causes the
default accelerators to become disabled.  In this case, it can be
confusing when the menu still shows them.

Fixes #11395.
2019-02-17 12:17:41 -08:00
Henrik Rydgård
259cb0f128 Fix issue where too long filenames could wreck the Install Zip dialog layout.
Well, technically just shortens the path to avoid the issue.
2019-02-10 15:55:00 +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 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
478b0b4278 Further improve VK extension loading. Switch to VK_EXT_debug_utils (but fallback to VK_EXT_debug_report if only that is available). 2019-02-05 21:31:38 +01:00
Henrik Rydgard
7ae6ba9d91 Add code to enable a couple more extensions I anticipate using eventually. 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
fdd0d7acb4 More Vulkan validation fixes
NVIDIA no longer uses nVidia capitalization.
2019-02-05 18:07:11 +01:00
Henrik Rydgard
b143e47fb6 VK: Load the dedicated allocation extension properly (but don't use it yet). 2019-01-31 14:18:30 +01: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
992cea1082 Load a function from VK_EXT_external_memory_host 2019-01-31 13:53:27 +01:00
Henrik Rydgård
b82462bf30 Reorder stuff to make the compiler happy.
I should get rid of those gotos.
2019-01-30 20:18:56 +01:00
Henrik Rydgård
e91ce854bf Minor cleanup 2019-01-30 19:53:44 +01:00
Henrik Rydgård
852f522ebc Improve the check for Vulkan to check for surface extensions first.
Might fix the crashing issues we've seen on AMD?
2019-01-30 19:45:04 +01:00
Henrik Rydgård
ca6298e24d Fix silly mistake editing the vulkan image code
Thanks unknown.
2019-01-27 19:28:23 +01:00
Henrik Rydgård
68f391707f Remove some unnecessary vkDestroyImage calls. 2019-01-26 12:09:45 +01:00
Henrik Rydgård
7ccf23542d Fix SDL build 2019-01-26 12:03:20 +01:00
Henrik Rydgard
3fd216ad3a Better handling of swap chain size, add PowerVR hack. Fixes #11743 2019-01-25 20:19:55 +01:00
Henrik Rydgard
c38c5469c4 Fixes for issues found by Vulkan validation layers, including a common non-harmful perf warning (doesn't fix all cases, but does fix the most common one). 2019-01-25 20:18:56 +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
46585a5da9 Additional logging 2019-01-23 18:34:25 +01:00
Henrik Rydgard
c8e5dd325a VK device allocator: Support separate memory type per slab. 2019-01-23 10:36:08 +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
637b6ce79a Remove unused and unfinished SPIRV disassembler 2018-12-18 10:37:49 +01:00
Henrik Rydgård
f94beb5185
Merge pull request #11652 from pent0/master
Update UWP port
2018-12-14 19:02:30 +01:00
Henrik Rydgård
b282d83258 Revert 6fd1c0e3d and eba6c00 which experimentally disabled dual src on Adreno.
I don't think we have any indications that it doesn't work.
2018-12-10 23:48:28 +01:00
pent0
4a53853f79 Update UWP port 2018-12-10 20:55:07 +07:00
xebra
070e29d921 Disable "Edit & Continue" with VS debug mode. 2018-12-07 13:01:16 +09:00
Henrik Rydgård
dc49e839dd VK: Workaround for validation bug (will be fixed in the next Vulkan SDK) 2018-11-21 22:29:21 +01:00
Unknown W. Brackets
2201c65b00 Core: Fix spurious error on Linux/Unix paths.
CreateFullPath with an absolute path would try to create ''.
2018-11-17 08:55:00 -08:00
Aaron Kling
d9198ff039 Fix libretro Windows build
1103acd added a reference to std::vector without adding the include
2018-10-31 10:39:44 -05:00
Henrik Rydgård
505464eaa5 Vulkan validation: Fix issue where we forgot to transition image mip levels past 0 away from TRANSFER_DST_OPTIMAL during creation. 2018-10-10 22:56:26 +02:00
Henrik Rydgård
6fd1c0e3d9 Instead of the last commit, don't enable the dual src extension at all on Adreno.
This reverts commit eba6c00a8ab2631409301b03549496caab16e9be.
2018-10-07 12:19:11 +02:00
Unknown W. Brackets
f90439a70e Windows: Oops, backwards. 2018-09-30 00:18:45 -07:00
Unknown W. Brackets
1103acdd05 Windows: Detect Windows 10 using kernel32.dll.
This is the recommended way per MSDN.
2018-09-30 00:00:40 -07:00
Vũ Minh Quân
49e2a2db6e Add TSX Extension
Add logic for TSX Check
2018-09-14 13:09:27 +02:00
Vũ Minh Quân
2c92ad5888 Add some extension
Need to add some check extension
2018-09-14 13:09:27 +02:00
Unknown W. Brackets
36f298dbcb x86: Use OS for cores on Mac OS X too. 2018-09-13 20:36:31 -07:00
Unknown W. Brackets
9351146a28 x86: Use OS to detect core count.
On Windows and Linux, at least.  This should be more reliable than what we
used before.
2018-09-13 19:51:47 -07:00
Henrik Rydgård
4f26ac6e65
Merge pull request #11351 from unknownbrackets/android-minor
Add .nomedia files to system and textures
2018-09-02 21:20:15 +02:00
Unknown W. Brackets
d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07:00
Unknown W. Brackets
68317f0067 Core: Match up NOEN define usage a bit more.
Some compile parameters were resulting in us try to use a func we didn't
compile.  We should at least use the same defines in usage and definition.
2018-09-01 19:56:35 -07:00
weihuoya
9324d7c386 glslang options for vulkan 2018-08-30 22:51:55 +08:00
Unknown W. Brackets
e9bc6b159d UI: Use a larger buffer for realpath().
Hopefully will prevent crashes on Mac.
2018-08-26 11:38:19 -07:00