Commit Graph

1508 Commits

Author SHA1 Message Date
Unknown W. Brackets
816abce8fc Windows: Fix some warnings.
Also one in armjit.
2019-06-02 09:30:38 -07:00
Unknown W. Brackets
d533c3c08e Windows: Add ResolvePath fallback if symlink fails.
Seeing this on some of my paths, which started creating duplicate recent
entries because the fallback path did no normalization at all.
2019-05-26 18:32:42 -07:00
Henrik Rydgård
efa1406d8f VS2017: Add hack to automatically select the newest installed Windows 10 SDK. VS2019 already does this by default if you specify 10.0.
Should hopefully fix the buildbot.
2019-05-19 15:23:25 +02:00
Unknown W. Brackets
bf8255cbc9 Windows: Workaround buildbot failure.
The SDK on the buildbot doesn't seem to have this define, let's just ifdef
it since the buildbot isn't building arm64 Windows builds anyway.
2019-05-13 19:39:14 -07:00
driver1998
c4f200e814 ArmCPUDetect: close the registry key when finish 2019-05-13 19:06:31 +08:00
driver1998
e010d06c5c Add CPU string in Windows ARM 2019-05-11 19:27:21 +08:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
Henrik Rydgård
20d666ff55 Remove DbgNew.h forced include in ARM debug builds, doesn't work for some reason. 2019-05-10 23:18:31 +02:00
Henrik Rydgård
1f40aa4828 Add WindowsSDKDesktopARM64Support to vcxproj files 2019-05-10 22:44:12 +02:00
Henrik Rydgård
c3fab33354 Revert "Remove default SDK version from project files"
Seems to have been the wrong thing to do, see:
https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html

Though due to the bug described there, there's no perfect solution, just
some ugly ones (which I might try later). Anyway, I guess most people
will move on to VS 2019 anyway..

This reverts commit 056494522e.
2019-05-09 23:58:23 +02:00
driver1998
95c5fabb2c Enable ArmCPUDetect on Windows Desktop 2019-05-04 22:45:15 +08:00
driver1998
beb8e72f8f Fix GetWindowsSystemArchitecture()
According to https://docs.microsoft.com/en-US/windows/desktop/api/sysinfoapi/ns-sysinfoapi-_system_info, sysinfo.wProcessorArchitecture is not a bitset, the current code returns x64 on anything not x86.
2019-05-04 22:45:15 +08:00
driver1998
5072584781 Fix neon headers for MSVC ARM64
MSVC uses arm64_neon.h for ARM64, arm_neon.h is ARM32 only.
2019-05-04 22:45:15 +08:00
driver1998
763b85d723 Update Visual Studio project files for Windows ARM32/ARM64 2019-05-04 22:45:15 +08:00
Unknown W. Brackets
03bec46b93 UI: Make the screenshot key configurable.
Affects #10825.
2019-04-30 19:01:20 -07:00
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
LunaMoo
1fa7bbc816 Add texture dump/replace hotkeys. 2019-03-26 06:13:05 +01: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
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
Henrik Rydgård
d6d6dbb772 Finish up the fix attempt for #11882 2019-03-14 15:15:13 +01: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
036aeda512 Correctly handle memory types in VulkanPushBuffer. Should help #11882. 2019-03-14 11:43:44 +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
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