Commit Graph
1265 Commits
Author SHA1 Message Date
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 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 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 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
Henrik Rydgård e1f991a096 Linux buildfix 2017-08-20 21:51:48 +02:00
Henrik Rydgård 9c3549f0be ... And also for the vertex decoder (DenseHashMap) 2017-08-20 19:18:50 +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 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 e0e13e191f Replace the most critical unordered_maps and maps with two new maps: FastHashMap and PrehashMap. 2017-08-20 11:30:19 +02:00
Henrik Rydgård 750c124c33 Vulkan: Fix some inefficient command pool usage, might also fix a race condition 2017-08-18 17:09:48 +02:00
Henrik Rydgård 560eaa5390 Vulkan: Add code (disabled) to be able to run with more in-flight frames. Only improves performance marginally and needs more testing. 2017-08-17 17:57:37 +02:00
Henrik Rydgård d60bb27cd9 Merge pull request #9906 from hrydgard/fastrunloop-optimize
GPU FastRunLoop optimizations
2017-08-17 16:25:15 +02:00
Henrik Rydgård 2c4e5e2303 Fastpath in fastrunloop when diff=0. Remove need for Execute for UV scale/offset. 2017-08-17 15:20:16 +02:00
Henrik Rydgård 5e788ffadf Implement vertex caching for Vulkan. 2017-08-17 11:22:45 +02:00
Henrik Rydgård bc76c8d541 Cleaner Vulkan shutdown 2017-08-15 17:30:37 +02:00
Jan Beich e33acdc5e9 Common: fix MAP_32BIT after 9f24203ef8
9f24203ef8 added 0x20000000 as a default fallback address hint which
unconditionally disabled MAP_32BIT. FreeBSD cannot use the hints
because without adjusting RLIMIT_DATA lower addresses are reserved for
brk(2) style heap. So, don't try to use hints with MAP_32BIT.
2017-07-26 15:25:54 +00:00
Henrik Rydgård 033676ca4d Vulkan debug mode: In case of missing validation layers, warn, don't error out. 2017-07-13 23:36:53 +02:00
Henrik Rydgård f7fea57bb6 More RIP addressing in software skinning.. 2017-07-07 15:12:57 +02:00
Henrik Rydgård 837118d230 More RIP elimination 2017-07-07 15:07:56 +02:00
Henrik Rydgård 567937fa4d x64: Enable non-RIP addressing for FPU registers 2017-07-07 11:33:07 +02:00
Henrik Rydgård 381c4ca4b2 X64: Fix bug in a case in the MOVQ emitter : rex byte should be after the 0x66 prefix 2017-07-07 11:33:07 +02:00
Henrik Rydgård 0645677fea Access FPU temps through CTXREG 2017-07-07 11:33:06 +02:00
Henrik Rydgård 7c3b37c561 More RIP elimination 2017-07-07 11:33:05 +02:00
Henrik Rydgård d82f90f1b2 More RIP removal 2017-07-07 11:33:05 +02:00
Henrik Rydgård 80b82ecd81 Buildfix attempt 2017-07-07 11:33:02 +02:00
Henrik Rydgård e6e96c0d89 Fix build with NDK 15. This does force us to make do with 32-bit file sizes... 2017-07-03 16:25:12 +02:00
Henrik Rydgård 7da5dfcdd7 Don't use stat64 unless we need to 2017-07-03 16:14:41 +02:00
Unknown W. Brackets 9dced68812 Core: Buildfix. 2017-06-24 14:19:25 -07:00
Simonas Kazlauskas 55c193ce78 Remove use of C file api in LocalFileLoader
Instead use native system calls.
2017-06-24 21:07:37 +03:00
Simonas Kazlauskas 3f63c29736 Also support atomic windows readAt 2017-06-23 18:40:00 +03:00
Unknown W. Brackets 531c6682b7 Vulkan: Increment engine version.
Since we are kinda majorly different now.
2017-05-31 20:04:11 -07:00
Henrik Rydgård 33d4f8c7ad Vulkan: Fix minor bug when clearing the back buffer (loaded stencil for no reason) 2017-05-31 13:37:47 +02:00
Unknown W. Brackets cb3db559bd SoftGPU: Jit the linear sampling too.
For now, just reducing overhead.  Could be smarter.
2017-05-30 22:57:46 -07:00
Henrik Rydgård 901b62ae54 Merge pull request #9730 from LunaMoo/HomebrewIdent
Fix a bunch of emu features for Homebrew by better identification.
2017-05-30 14:57:31 +02:00
Henrik Rydgård 996d0e9508 Oops. 2017-05-30 14:54:12 +02:00
LunaMoo 5e0f8141d2 Corrections, some %i->%d around other code as well. 2017-05-30 13:52:29 +02:00
Henrik Rydgård fede9a05fb Only show the Vulkan setting if Vulkan might be available. 2017-05-30 10:38:17 +02:00
Henrik Rydgård 38b50501c2 Clearing fix, drawpixels fix/hack 2017-05-30 09:36:17 +02:00
Henrik Rydgård c173da49d3 Fix a number of bugs and stuff affecting Vulkan on Mali 2017-05-30 09:36:17 +02:00
Henrik Rydgard 0c70735bc4 Buffered rendering is starting to work, though still kinda broken. 2017-05-30 09:36:17 +02:00
Henrik Rydgård a7dd6d6085 Further steps towards Vulkan framebuffer support 2017-05-30 09:36:17 +02:00
Henrik Rydgard 4407445d50 Separate BeginFrame from BeginSurfaceRenderPass 2017-05-30 09:22:40 +02:00
Unknown W. Brackets c5d1c1cd1c Android: Fix minor typo. 2017-05-27 22:33:47 -07:00
Henrik Rydgård 21fe73c8e7 Switch strncpy to truncate_cpy in a bunch of places. 2017-05-26 19:04:08 +02:00