Commit Graph

31962 Commits

Author SHA1 Message Date
Unknown W. Brackets
e0e3223c19 Replacement: Move IO checks to saving thread.
This will spin up more threads that might not actually save, but it will
remember this in savedCache.
2022-04-17 20:25:41 -07:00
Unknown W. Brackets
39d6dc1740 Vulkan: Allow saving const tex levels.
This might be used for fonts, for example.  They could be replaced, so no
reason not to export.
2022-04-17 20:06:03 -07:00
Unknown W. Brackets
5d22057f80
Merge pull request #15487 from hrydgard/texture-dump-thread
Save textures on background tasks when texture dumping is enabled.
2022-04-17 20:00:20 -07:00
Henrik Rydgård
dffc1a9196 Add the slow comment to one more place 2022-04-18 00:40:49 +02:00
Henrik Rydgård
b1af940d8e Save textures on background tasks when texture dumping is enabled.
Should help #15478, at least a bit.
2022-04-18 00:26:35 +02:00
Henrik Rydgård
3a09c85fb1 Fix hang when choosing "Skip" in first-time init. Warning fix, comment add.
Fixes #15011
2022-04-17 23:02:37 +02:00
Henrik Rydgård
dbce1b06aa Disable the compat.ini workaround for Crash Team Racing. Reported by Panderner to not be needed anymore. 2022-04-16 23:45:43 +02:00
Henrik Rydgård
830420f0c8
Merge pull request #15484 from hrydgard/prototypes-mem-limit
Add contributed data about a couple of prototypes to auto-expand memory to 64MB
2022-04-16 20:42:31 +02:00
Henrik Rydgård
3d6484ee4e Add contributed data about a couple of prototypes to auto-expand memory to 64MB
They were probably only ever running on devkits, that had more memory
than retail consoles.

Reported in 15453 (doesn't fix that issue though)
2022-04-16 20:38:03 +02:00
Henrik Rydgård
93c39f7595 UWP crashfix - serialize accesses to each loader 2022-04-15 20:34:33 +02:00
Henrik Rydgård
a31608e557 Crashfix 2022-04-15 19:59:24 +02:00
Henrik Rydgård
8d8a553f5b Fix typo and optimize locking pattern in Event, make it the same as LimitedWaitable. 2022-04-15 18:30:21 +02:00
Henrik Rydgård
9b25093585
Merge pull request #15482 from hrydgard/simplify-checkalpha
Delete a lot of specialized alpha checking code.
2022-04-15 14:05:43 +02:00
Henrik Rydgård
900ff64cf1 Buildfix 2022-04-15 13:39:01 +02:00
Henrik Rydgård
3efce3ceca Try a clang pragma to avoid overeager auto-vectorization 2022-04-15 13:26:54 +02:00
Henrik Rydgård
9e60b82c54 Buildfixing, correct NEON type usage 2022-04-15 13:19:03 +02:00
Henrik Rydgård
185b93058e SIMD-optimize CheckMask16 / CopyAndSumMask16 2022-04-15 12:40:10 +02:00
Henrik Rydgård
c4dfbf4f1a Delete a lot of specialized alpha checking code.
This was now only used to check alpha in CLUTs, and the generic functions will not actually be any slower.
2022-04-15 12:34:50 +02:00
Unknown W. Brackets
062423597d
Merge pull request #15474 from hrydgard/sum-alpha-early
Merge CheckAlpha into texture decoding
2022-04-14 20:05:29 -07:00
Unknown W. Brackets
4a88ec0af2
Merge pull request #15481 from hrydgard/fix-bad-neon-checks
Fix some NEON code that had bad compile-time checks
2022-04-14 17:28:33 -07:00
Henrik Rydgård
a5ee1884c1 Address feedback 2022-04-15 01:08:14 +02:00
Henrik Rydgård
a3d650d3e9 One more NEON optimization 2022-04-15 01:03:55 +02:00
Henrik Rydgård
ffcfef6031 Quick NEON optimization of CheckMask32 2022-04-15 00:56:26 +02:00
Henrik Rydgård
8bc2d1a653 SSE optimize a common case for video 2022-04-15 00:56:26 +02:00
Henrik Rydgård
1dae81a98a Yet another bugfix 2022-04-15 00:56:26 +02:00
Henrik Rydgård
3bf9ea8de6 Debug log (remove before merge) 2022-04-15 00:56:25 +02:00
Henrik Rydgård
a0ca968b1e Bugfixes, handle the rest of the cases 2022-04-15 00:56:25 +02:00
Henrik Rydgård
42cd937de2 Simplification and some cleanup 2022-04-15 00:56:25 +02:00
Henrik Rydgård
613df29467 Remove redundant line 2022-04-15 00:56:25 +02:00
Henrik Rydgård
35e0bfeacc Fix DeIndexTexture 2022-04-15 00:56:25 +02:00
Henrik Rydgård
e6df3ab23a Comments 2022-04-15 00:56:25 +02:00
Henrik Rydgård
9f7e0978a9 AND together colors while decoding, and then check against fullAlphaMask. 2022-04-15 00:56:25 +02:00
Henrik Rydgård
1bbaba4103 Fix some NEON code that had bad compile-time checks (and some didn't compile) 2022-04-15 00:54:44 +02:00
Henrik Rydgård
e97996d070
Merge pull request #15477 from hrydgard/remove-non-neon-paths
ARM32: Remove a lot of non-NEON fallback paths
2022-04-13 14:45:15 +02:00
Henrik Rydgård
584e94f01e ARM32: Remove a lot of non-NEON fallback paths 2022-04-13 11:44:55 +02:00
Henrik Rydgård
19261c6c49
Merge pull request #15476 from hrydgard/remove-separate-neon-files
Merge separate NEON functions into the normal functions.
2022-04-13 11:36:20 +02:00
Henrik Rydgård
f54ed3757c Always use the stable quick tex hash. Doesn't actually make a difference except on new CPU archs. 2022-04-13 11:18:18 +02:00
Henrik Rydgård
e6fe31365a Remove more function defines 2022-04-13 10:02:16 +02:00
Henrik Rydgård
a68ddd0a8d Merge separate NEON functions into the normal functions.
We no longer support non-NEON ARM.

It's nice also to have the NEON and SSE implementations "close" to each
other, easier to port optimizations back and forth etc.
2022-04-12 23:43:21 +02:00
Henrik Rydgård
6de574104c Avoid creating a fileloader during shutdown.
Some silliness I found while investigating using SuperLuminal.
2022-04-12 00:16:13 +02:00
Henrik Rydgård
d1e2b19ebb Make the number of threads flexible in the threadmanager test. Increase to 9, just because. 2022-04-10 22:39:42 +02:00
Henrik Rydgård
8d1579ade7
Merge pull request #15472 from unknownbrackets/waitable
ThreadManager: Improve waitable destruction
2022-04-10 22:37:22 +02:00
Unknown W. Brackets
3c3e397215 Replacement: Avoid potential destructor crash. 2022-04-09 09:41:49 -07:00
Unknown W. Brackets
81ace52f53 ThreadManager: Improve waitable destruction. 2022-04-09 09:27:26 -07:00
Henrik Rydgård
5b58b6906a
Merge pull request #15470 from hrydgard/threading-manager-stresstest
Threading manager stresstest and fixes
2022-04-09 09:21:20 +02:00
Henrik Rydgård
0eea0acf13
Merge pull request #15468 from unknownbrackets/switch-merge
Cleanup Switch ignoring of Vulkan
2022-04-08 14:48:04 +02:00
Henrik Rydgård
adfce57d9e Fix race condition in LimitedWaitable between Notify and Wait 2022-04-08 12:29:30 +02:00
Henrik Rydgård
bde54ccdc0 Fix misuses of cond.wait (should return true when you want to stop waiting!) 2022-04-08 12:28:45 +02:00
Henrik Rydgård
5b20ace502 OK, this does crash 2022-04-08 12:04:34 +02:00
Henrik Rydgård
e0f73507f9 Time the stress test 2022-04-08 11:55:49 +02:00