Commit graph

22618 commits

Author SHA1 Message Date
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
Unknown W. Brackets
1cf5e30bd6 Add hooks for Marvel video copy func.
Not tested - but should make videos visible in Marvel Ultimate Alliance 1.

See #9852.
2017-08-19 11:47:42 -07:00
Henrik Rydgård
7ddf704804 Vulkan: Fix bug sometimes causing the wrong renderpass to be ended at exit, causing crashes. 2017-08-18 17:24:03 +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
b9b2656e93 More vulkan microoptimizations. Add more profiler scopes. 2017-08-18 13:48:11 +02:00
Henrik Rydgård
ed776d8c0b ARM: Delete obsolete comments and check 2017-08-18 13:48:11 +02:00
Henrik Rydgård
4e2726f540 Merge pull request #9913 from thesourcehim/master
Fixed invalid preprocessor directive
2017-08-18 13:19:47 +02:00
thesource
76dd5d380e Fixed invalid preprocessor directive 2017-08-18 11:53:47 +03:00
Henrik Rydgård
d1685954c5 Merge pull request #9909 from vnctdj/hFileStringI18n
Make some strings in .h files translatable
2017-08-18 10:51:15 +02:00
vnctdj
7f37c40382 Make dev menu pop-up title translatable 2017-08-17 23:10:12 +02:00
vnctdj
b31b76c536 Make control mapping pop-up title translatable 2017-08-17 23:10:12 +02:00
Henrik Rydgård
e8a81df8d8 FRAGMENT_SHADER needs to be marked dirty if shademode changes. Fixes #9904.
No clue why the problem only happened on GL though...
2017-08-17 21:02:09 +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
d65547edb5 Crashfix on older devices 2017-08-17 17:49:36 +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
e50cb4f395 Merge pull request #9905 from hrydgard/vulkan-vertex-cache
Implement vertex caching for Vulkan.
2017-08-17 15:53:55 +02:00
Henrik Rydgård
319df97bc7 Buildfix for X86 Android 2017-08-17 15:48:52 +02:00
Henrik Rydgård
5680332343 Minor cleanups 2017-08-17 15:20:21 +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
71baecabd6 Make FLAG_FLUSHBEFORE a no-op, move flushes into the execution functions.
It would only be necessary if we needed the previous value, which we
don't do in any of these.
2017-08-17 15:20:10 +02:00
Henrik Rydgård
45737466e2 Vulkan vertex cache: Fix bug with "pure prim" draws (where we avoid the index buffer) 2017-08-17 12:00:20 +02:00
Henrik Rydgård
5e788ffadf Implement vertex caching for Vulkan. 2017-08-17 11:22:45 +02:00
vnctdj
ee87c08e79 Oops, forgot this one 2017-08-17 00:21:00 +02:00
vnctdj
15c983a382 Add a new translation category for the remote ISO feature 2017-08-16 23:39:30 +02:00
Unknown W. Brackets
cd43049788 Merge pull request #9901 from hrydgard/sustained-perf-mode
Initial work on supporting sustained perf mode
2017-08-16 11:05:11 -04:00