4569 Commits

Author SHA1 Message Date
Henrik Rydgård
27122a9e64 Work on previews 2024-12-10 22:09:51 +01:00
Henrik Rydgård
e3aaf93e28 Add a new log category 2024-12-10 10:34:26 +01:00
Henrik Rydgård
bf3e1b4ee1 Add Debugger log category 2024-12-10 09:59:08 +01:00
Henrik Rydgård
b2a8b4168b Core: Minor changes to stepping (and some log changes) 2024-12-10 01:06:19 +01:00
Katharine Chui
49553bcf8d Simplify MacOS AMD GPU workaround
Based on https://github.com/KhronosGroup/MoltenVK/issues/960,
expand MacOS AMD GPU workaround to all dGPU and instead of
changing usage, just append VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
2024-12-09 14:22:56 +01:00
Katharine Chui
286580a6a0 Switch to VMA_MEMORY_USAGE_CPU_ONLY on MacOS AMD
The ideal allocation would be VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT
like in 1.12.3, but vma picked an index that's actually not mappable

VMA_MEMORY_USAGE_GPU_TO_CPU selects VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
which seems to hurt performance

VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT + VK_MEMORY_PROPERTY_HOST_COHERENT_BIT
selection with VMA_MEMORY_USAGE_CPU_ONLY would suffice for the
workaround, and get better performance
2024-12-09 12:32:31 +01:00
Katharine Chui
93009a3178 Work around metal buffer bug on MacOS + AMD GPU
With VMA_MEMORY_USAGE_CPU_TO_GPU buffers, metal buffer appears 0
filled in metal trace during vkCmdCopyBufferToImage triggered
MTLBlitCommandEncoder instance method.

Allocate VMA_MEMORY_USAGE_GPU_TO_CPU instead on MacOS + AMD GPU
2024-12-08 22:13:33 +01:00
Henrik Rydgård
080798b5dd Move out two more functions from Core.cpp. Clean up Windows includes 2024-12-08 12:12:02 +01:00
Henrik Rydgård
b3346df646 ImDebugger: Add a window to inspect upcoming CoreTiming events 2024-12-07 16:28:27 +01:00
Henrik Rydgård
5d0316db6f Tune some log verbosity, remove timestamp on outputdebugstring logs 2024-12-03 22:11:01 +01:00
Henrik Rydgård
3ffff831c7 Refactor LogManager (remove GetInstance()). In headless, add option to log to OutputDebugString on Windows. 2024-12-03 21:39:42 +01:00
Henrik Rydgård
0f97578a35 Replace a bad function 2024-12-03 20:33:12 +01:00
Henrik Rydgård
2b8414b437 Move irrelevant code out of Core.cpp 2024-12-02 13:26:41 +01:00
Henrik Rydgård
e94defbb15 Get the CORE_RUNNING_GE coreState working! 2024-12-01 22:49:18 +01:00
Henrik Rydgård
7f13bc1a34 Add new log category for texture replacements 2024-12-01 14:17:01 +01:00
Henrik Rydgård
cf88d8b693 Fix bug in ini parsing on non-Windows 2024-11-30 13:51:38 +01:00
Henrik Rydgård
36d10b89e2 Remove locks on safe zip file operations (that don't involve the file pointer) 2024-11-30 11:55:36 +01:00
Henrik Rydgård
1f108a0e8c Remove the java-side directory listing filtering, didn't work. 2024-11-30 02:44:01 +01:00
Henrik Rydgård
d88d161822 Fix crash in logging 2024-11-30 02:44:01 +01:00
Henrik Rydgård
ed296e4587 ZipFileReader: Save the zip path so we can log it 2024-11-30 02:44:01 +01:00
Henrik Rydgård
755b062abd Minor perf improvement in ini file parser 2024-11-30 02:43:58 +01:00
Henrik Rydgård
5eeb15b30a Use Exists instead of GetFileInfo in more cases 2024-11-30 00:39:38 +01:00
Henrik Rydgård
011f73fedb Remove unnecessary check when creating subdir chains 2024-11-30 00:37:15 +01:00
Henrik Rydgård
e4adc112ff ImDebugger: Add a basic texture browser 2024-11-29 19:30:38 +01:00
Henrik Rydgård
48bc04b7e1 Add a separate bool for I/O logging 2024-11-29 16:00:34 +01:00