1770 Commits

Author SHA1 Message Date
Wunkolo
98089180c0 GPU/Vulkan: Add debug utility functions
Adds a way to set the name of vulkan
objects, and automatically determining their `VkObjectType` enum value
at compile-time. As well as a utility-object for creating debug-scopes
for `VkQueue` and `VkCommandBuffer` objects. `DebugScope` objects will
automatically emit `Begin` and `End` commands within the ctor and dtor
and allow for C++ scopes to name and color sections of a vulkan command.
These DebugScopes are also able to be nested within each other and will
automatically pick a color depending on the current recursive depth.

These functions are all null-stubbed in non-debug compilations.
2021-08-01 10:56:56 -07:00
Connor McLaughlin
a542fa85d6 CPU/CodeCache: Fix crash when switching from interpreter to recompiler 2021-07-31 13:29:02 +10:00
Connor McLaughlin
b41d56d305 TimingEvent: Fix event list getting unsorted on Delay 2021-07-31 13:25:03 +10:00
Connor McLaughlin
5bf24265aa CPU/CodeCache: Fix compilation without recompiler 2021-07-27 13:11:46 +10:00
Connor McLaughlin
c9f8828448 CPU/CodeCache: Drop block linking warning to dev level 2021-07-27 13:11:42 +10:00
Connor McLaughlin
5ff9783626 CPU/Recompiler/ARM: Optimize icache check 2021-07-24 14:07:37 +10:00
Connor McLaughlin
e2db78b0ef CPU/Recompiler/AArch64: Fix assertion tripping in debug builds 2021-07-24 13:30:35 +10:00
Connor McLaughlin
d9d41de81b CPU/Recompiler: Skip updating current_instruction_pc 2021-07-24 13:30:35 +10:00
Connor McLaughlin
21938e14c6 CPU/Recompiler: Implement block linking 2021-07-24 13:07:11 +10:00
Connor McLaughlin
29bc0c950a System: Reset before loading save state on boot 2021-07-24 13:07:09 +10:00
Connor McLaughlin
9628f0d9d0 CPU/Recompiler: Reduce register usage of LWL/LWR/SWL/SWR 2021-07-24 13:06:53 +10:00
Connor McLaughlin
53299e3c7b CPU/Interpreter: Load delay check should be a debug assertion 2021-07-24 13:04:54 +10:00
Connor McLaughlin
6081e2415f CPU/Recompiler: Simplify PC addressing 2021-07-24 13:03:45 +10:00
Connor McLaughlin
033d85cd90 CPU/Recompiler: Simplify fast map addressing 2021-07-24 13:03:43 +10:00
Connor McLaughlin
d230e7d22f HostInterface: Fix SetUserDirectoryToProgramDirectory() 2021-07-23 18:07:18 +10:00
Connor McLaughlin
89a11519fb D3D12: Use clears instead of draws for simple VRAM fills 2021-07-22 13:58:03 +10:00
Connor McLaughlin
a0fa3a3994 HostInterface: Don't save screenshot when switching renderers 2021-07-22 13:58:03 +10:00
Connor McLaughlin
70209db402 GPU/HW: Implement oversized VRAM fills in hardware
Fixes downscaling in Bugs and Taz PAL.
2021-07-21 19:24:10 +10:00
Connor McLaughlin
7ea78ad2df CPU/CodeCache: Fix incorrect macro for code buffer size 2021-07-20 00:00:43 +10:00
Connor McLaughlin
3cf12e8f0d Controller: Round floating point axis values instead of flooring 2021-07-17 20:38:23 +10:00
Connor McLaughlin
0000750527 System: Fix rewind rate with vsync off 2021-07-17 20:14:40 +10:00
Connor McLaughlin
e9374646e9 GPU/SW: Fix performance regression on 32-bit ARM 2021-07-17 14:03:04 +10:00
Connor McLaughlin
30db081a64 CPU: Simulate stalls from GTE instructions 2021-07-16 12:27:31 +10:00
Anderson_Cardoso
41fc84ae51
Update information about SBI file
A simple update message to make it more clear for end users in regard SBI files.
2021-07-14 10:55:07 -03:00
Connor McLaughlin
c2c204c845 CDROM: Fix async readahead causing lockups in some games 2021-07-14 01:25:49 +10:00
Connor McLaughlin
9723e617f9 GPU/D3D12: Implement VRAM write replacements 2021-07-13 14:17:04 +10:00
Connor McLaughlin
18df8d48e7 GPU/OpenGL: Use linear sampling for VRAM write replacement blit 2021-07-13 14:17:04 +10:00
Connor McLaughlin
d432accf81 GPU/D3D11: Use linear sampling for VRAM write replacement blit 2021-07-13 14:17:04 +10:00
Connor McLaughlin
bb2e459f9f Warning fixes 2021-07-12 22:44:02 +10:00
Connor McLaughlin
c962e9899d CDROM: Reject invalid Setloc commands
Fixes delays in Simple 1500 Series Vol. 31 - The Sound Novel.
2021-07-12 21:14:06 +10:00
Connor McLaughlin
a32ef4a963 CDROMAsyncReader: Support reading ahead more sectors 2021-07-12 21:14:06 +10:00
Connor McLaughlin
552b0098ef GPU/HW: Fix incorrect initial transparency mode
Fixes broken menus in Road Rash after loading state.
2021-07-12 21:14:06 +10:00
Connor McLaughlin
1405ba8a6b GPU/SW: Specialize rasterizing functions further 2021-07-11 21:23:12 +10:00
Connor McLaughlin
b35a1308c4 Core: Make XAudio2 the default backend for UWP 2021-07-11 15:20:38 +10:00
Connor McLaughlin
ca747d8d7a CPU/CodeCache: Support UWP 2021-07-11 15:20:38 +10:00
Connor McLaughlin
c0352eb19f GPU/HW: Clear host display texture on interlace switch 2021-07-11 14:09:11 +10:00
Connor McLaughlin
928b5694ed GPU/D3D12: Fix VRAM getting trashed on interlace switch 2021-07-11 14:07:33 +10:00
Connor McLaughlin
05259bc851 HostInterface: Refresh display on settings change/state load 2021-07-11 14:03:14 +10:00
Connor McLaughlin
bf63be27c6 GPU/D3D12: Fix incorrect descriptor for VRAM copy 2021-07-11 13:43:59 +10:00
Connor McLaughlin
096a92ba84 GPU/HW: Simplify shader compile progress updates 2021-07-11 13:21:41 +10:00
Connor McLaughlin
98af6e7228 GPU/ShaderGen: Use [unroll] for resolve loops 2021-07-11 13:08:25 +10:00
Connor McLaughlin
719710ef98 GPU/D3D12: Fix multisampled resolve 2021-07-11 13:07:55 +10:00
Connor McLaughlin
2937c72721 GPU/D3D12: Fix incorrect samples for textures 2021-07-11 13:07:44 +10:00
Connor McLaughlin
14e7f8fd13 GPU: Add D3D12 renderer 2021-07-10 21:45:10 +10:00
Connor McLaughlin
5da9edceb9 Build: Unify MSBuild options in props files 2021-07-10 21:45:10 +10:00
Connor McLaughlin
79dccc9d05 GPU/SW: Fix regression with non-transparent triangles 2021-07-10 13:23:12 +10:00
Connor McLaughlin
cf51557b7f GPU/Vulkan: Fix possible out-of-range pipeline with depth buffer 2021-07-09 13:07:41 +10:00
Connor McLaughlin
8f3162675f Warning fixes 2021-07-07 19:54:13 +10:00
Connor McLaughlin
2f3512aa33 GPU/D3D11: Fix incorrect state being used with depth buffer on 2021-07-05 21:44:08 +10:00
Connor McLaughlin
acb108f3ea GPU/SW: Improve software blending precision 2021-07-05 21:44:03 +10:00