Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgård 22e65ba80d Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11 2017-08-31 01:14:51 +02:00
Henrik Rydgård 0c0da1cfa3 Merge pull request #9941 from libretro-mirrors/master
More mingw patches
2017-08-31 00:29:44 +02:00
twinaphex 7424e6485f Revert "PACK should be defined different for Win32 based on whether"
This reverts commit 553c7083ca.
2017-08-30 21:31:18 +02:00
twinaphex 553c7083ca PACK should be defined different for Win32 based on whether
we compile with Mingw or MSVC
2017-08-30 19:53:26 +02:00
twinaphex 157d04b2a5 Simplify this conditional 2017-08-30 19:47:15 +02:00
Henrik Rydgård 884aef6603 SafeMem: Remove the "far" optimization that saves 3 bytes sometimes but is really dangerous and not worth the complexity. 2017-08-30 09:58:30 +02:00
twinaphex a9bf8e7b18 More mingw patches pt. 2 2017-08-29 22:41:50 +02:00
twinaphex db404adb95 More mingw patches 2017-08-29 22:24:20 +02:00
Henrik Rydgård ee6086c0f6 Merge pull request #9938 from libretro-mirrors/master
Patches to make it possible to compile with mingw, pt. 1
2017-08-29 22:10:47 +02:00
twinaphex 78b6636a2b Remove this too - we will use UNICODE and _UNICODE defines for
mingw build
2017-08-29 18:49:36 +02:00
twinaphex cc24b158ac Change this to _MSC_VER 2017-08-29 18:46:31 +02:00
twinaphex 4e040986ec Removed MSVC check 2017-08-29 18:45:15 +02:00
twinaphex 418e341b32 Patches to make it possible to compile with mingw, pt. 1 2017-08-29 18:27:46 +02:00
Henrik Rydgård 9888d774c8 apple buildfix 2017-08-29 14:51:10 +02:00
Henrik Rydgård 8d0498303a Fix a PIC compliance bug in the VFPU. Comment other cases properly (for easy searching). 2017-08-29 11:45:12 +02:00
Henrik Rydgård 207f903941 Add a hack to override the default framebuffer on non-iOS, to unblock the new RetroArch port attempt (#9936) 2017-08-28 21:18:42 +02:00
Henrik Rydgård 871fa713ed Fix bug in vulkan init. Add some sanity checks to GL shader cache loading. 2017-08-28 15:22:18 +02:00
Henrik Rydgård 6a0f65764d Minor cleanups 2017-08-28 15:04:28 +02:00
Henrik Rydgård 966cbd3ebc Merge pull request #9935 from hrydgard/vulkan-init-fixes
Vulkan init refactor
2017-08-28 14:55:49 +02:00
Henrik Rydgård 21d85617c1 Buildfix 2017-08-28 14:37:15 +02:00
Henrik Rydgård 55e9807a53 Separate VulkanContext::CreateDevice into ChooseDevice and CreateDevice to give an opportunity to enable extensions. 2017-08-28 14:12:56 +02:00
Henrik Rydgård 8c1bfb876f Assorted cleanup of Vulkan init code. Show Vulkan extensions in system info. 2017-08-28 13:47:31 +02:00
Florin9doi 8bbe735b1f Integrate sceUsbGps and sceUsbCam with Android - 2 2017-08-28 13:55:35 +03:00
Florin9doi 892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
Henrik Rydgård 4938ab786e Fix possible crash when loading GL shader caches. Should help #9930. 2017-08-25 22:49:51 +02:00
Henrik Rydgård 2180b1d557 Another couple of control mappings, see #9825 2017-08-25 16:22:14 +02:00
Henrik Rydgård 91a0331f99 Bump the GL shader cache version 2017-08-24 14:58:13 +02:00
Henrik Rydgård 393b3697cd This might not always be 16-byte aligned. 2017-08-21 00:50:24 +02:00
Henrik Rydgård 97b82100b8 Merge pull request #9919 from unknownbrackets/dlist-align
GPU: Fix alignment on signal jump/call
2017-08-20 22:43:12 +02:00
Unknown W. Brackets b035be6367 GPU: Fix alignment on signal jump/call.
It shouldn't be possible to make the pc unaligned, and this may have been
causing it previously.
2017-08-20 13:30:39 -07:00
Unknown W. Brackets d6506b3d59 GPU: Consider bbox failed with zero verts.
This seems to match behavior in tests.
2017-08-20 13:30:10 -07:00
Henrik Rydgård e1f991a096 Linux buildfix 2017-08-20 21:51:48 +02:00
Henrik Rydgård 81a18dc4df Keeping descriptorsets around between frames can cause problems if we run out.. Try to prevent that. Need a better method than this though. 2017-08-20 21:35:03 +02:00
Henrik Rydgård dd1399e982 Fix some missing dirty flags (affects FS_BIT_LMODE) 2017-08-20 20:14:41 +02:00
Henrik Rydgård 9b6aece6fc Buildfix 2017-08-20 19:40:50 +02:00
Henrik Rydgård b21ed852ce Switch over the GL shader manager to the new hashmaps. 2017-08-20 19:29:43 +02:00
Henrik Rydgård 9c3549f0be ... And also for the vertex decoder (DenseHashMap) 2017-08-20 19:18:50 +02:00
Henrik Rydgård 2f85e6516e Minor optimizations (use the new hashmap in a few more places) 2017-08-20 19:18:46 +02:00
Henrik Rydgård 9bce767b73 Merge pull request #9916 from hrydgard/faster-hashmaps
Replace the most critical unordered_maps and maps with faster maps.
2017-08-20 17:56:31 +02:00
Henrik Rydgård a4b97f00b6 And yet another buildfix. 2017-08-20 15:52:12 +02:00
Henrik Rydgård 10cebb4195 32-bit buildfix 2017-08-20 15:33:53 +02:00
Henrik Rydgård 6ffb3d6b53 Buildfix 2017-08-20 14:58:10 +02:00
Henrik Rydgård c2bd739b49 Optimize uniform uploads for D3D9 and GL as well. 2017-08-20 13:53:39 +02:00
Henrik Rydgård 73a94f4b11 Merge pull request #9917 from hrydgard/dataconv-simd
SIMD-optimize some data conv routines used in uniform updates.
2017-08-20 13:39:10 +02:00
Henrik Rydgård 237cca683b Maintain the hashmap from time to time. Fix a bug in count reset on grow. 2017-08-20 13:34:11 +02:00
Henrik Rydgård ceb76bd89a Include Hashmaps.h in CMakeLists.txt. 2017-08-20 11:44:43 +02:00
Henrik Rydgård 91783a3281 SIMD-optimize some data conv routines used in uniform updates. 2017-08-20 11:43:35 +02:00
Henrik Rydgård e0e13e191f Replace the most critical unordered_maps and maps with two new maps: FastHashMap and PrehashMap. 2017-08-20 11:30:19 +02:00
Unknown W. Brackets cbd107b03d Merge pull request #9898 from vnctdj/master
Make more strings translatable
2017-08-19 17:28:33 -04:00
Henrik Rydgård 641c5f36f9 Merge pull request #9915 from unknownbrackets/marvel-copy
Add hooks for Marvel video copy func
2017-08-19 21:30:43 +02:00