citra/src/core
GPUCode dfa2fd0e0d
Add vulkan backend (#6512)
* code: Prepare frontend for vulkan support

* citra_qt: Add vulkan options to the GUI

* vk_instance: Collect tooling info

* renderer_vulkan: Add vulkan backend

* qt: Fix fullscreen and resize issues on macOS. (#47)

* qt: Fix bugged macOS full screen transition.

* renderer/vulkan: Fix swapchain recreation destroying in-use semaphore.

* renderer/vulkan: Make gl_Position invariant. (#48)

This fixes an issue with black artifacts in Pokemon games on Apple GPUs.
If the vertex calculations differ slightly between render passes, it can
cause parts of model faces to fail depth test.

* vk_renderpass_cache: Bump pixel format count

* android: Custom driver code

* vk_instance: Set moltenvk configuration

* rasterizer_cache: Proper surface unregister

* citra_qt: Fix invalid characters

* vk_rasterizer: Correct special unbind

* android: Allow async presentation toggle

* vk_graphics_pipeline: Fix async shader compilation

* We were actually waiting for the pipelines regardless of the setting, oops

* vk_rasterizer: More robust attribute loading

* android: Move PollEvents to OpenGL window

* Vulkan does not need this and it causes problems

* vk_instance: Enable robust buffer access

* Improves stability on mali devices

* vk_renderpass_cache: Bring back renderpass flushing

* externals: Update vulkan-headers

* gl_rasterizer: Separable shaders for everyone

* vk_blit_helper: Corect depth to color convertion

* renderer_vulkan: Implement reinterpretation with copy

* Allows reinterpreteration with simply copy on AMD

* vk_graphics_pipeline: Only fast compile if no shaders are pending

* With this shaders weren't being compiled in parallel

* vk_swapchain: Ensure vsync doesn't lock framerate

* vk_present_window: Match guest swapchain size to vulkan image count

* Less latency and fixes crashes that were caused by images being deleted before free

* vk_instance: Blacklist VK_EXT_pipeline_creation_cache_control with nvidia gpus

* Resolves crashes when async shader compilation is enabled

* vk_rasterizer: Bump async threshold to 6

* Many games have fullscreen quads with 6 vertices. Fixes pokemon textures missing with async shaders

* android: More robust surface recreation

* renderer_vulkan: Fix dynamic state being lost

* vk_pipeline_cache: Skip cache save when no pipeline cache exists

* This is the cache when loading a save state

* sdl: Fix surface initialization on macOS. (#49)

* sdl: Fix surface initialization on macOS.

* sdl: Fix render window events not being handled under Vulkan.

* renderer/vulkan: Fix binding/unbinding of shadow rendering buffer.

* vk_stream_buffer: Respect non coherent access alignment

* Required by nvidia GPUs on MacOS

* renderer/vulkan: Support VK_EXT_fragment_shader_interlock for shadow rendering. (#51)

* renderer_vulkan: Port some recent shader fixes

* vk_pipeline_cache: Improve shadow detection

* vk_swapchain: Add missing check

* renderer_vulkan: Fix hybrid screen

* Revert "gl_rasterizer: Separable shaders for everyone"

Causes crashes on mali GPUs, will need separate PR

This reverts commit d22d556d30ff641b62dfece85738c96b7fbf7061.

* renderer_vulkan: Fix flipped screenshot

---------

Co-authored-by: Steveice10 <1269164+Steveice10@users.noreply.github.com>
2023-09-13 01:28:50 +03:00
..
arm arm: Do not try to access null page table. (#6930) 2023-08-27 17:26:31 +02:00
cheats code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00
dumping code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00
file_sys core: De-globalize movie (#6659) 2023-08-01 02:57:38 +02:00
frontend Add vulkan backend (#6512) 2023-09-13 01:28:50 +03:00
gdbstub Miscallenious fixes to gl backend and qt frontend (#6834) 2023-08-02 01:40:39 +03:00
hle service: Downgrade some spammy logs to trace level. (#6936) 2023-08-30 19:19:38 +02:00
hw gpu: Correct display transfer output with vertical flip+crop lines (#6952) 2023-09-11 00:30:06 +03:00
loader core: De-globalize movie (#6659) 2023-08-01 02:57:38 +02:00
rpc rpc: Fix class hierarchy. (#6694) 2023-07-13 16:29:54 -07:00
tracer code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00
3ds.h Move screen size constants from video_core to core 2017-05-27 18:41:24 -07:00
CMakeLists.txt build: Enable link time optimization in release builds. (#6887) 2023-08-26 11:15:13 -07:00
core.cpp Fix compilation without ENABLE_WEB_SERVICE (#6856) 2023-08-06 12:23:53 -07:00
core.h Fix compilation without ENABLE_WEB_SERVICE (#6856) 2023-08-06 12:23:53 -07:00
core_timing.cpp Implement/Fix more SOC related functions (#6267) 2023-05-21 19:01:08 -07:00
core_timing.h Implement/Fix more SOC related functions (#6267) 2023-05-21 19:01:08 -07:00
global.h Refactored out the horrible static var in CoreTiming 2020-03-28 15:47:36 +00:00
memory.cpp Miscallenious fixes to gl backend and qt frontend (#6834) 2023-08-02 01:40:39 +03:00
memory.h Miscallenious fixes to gl backend and qt frontend (#6834) 2023-08-02 01:40:39 +03:00
mmio.h clang-format fixes 2020-02-13 17:39:15 +08:00
movie.cpp core: De-globalize movie (#6659) 2023-08-01 02:57:38 +02:00
movie.h core: De-globalize movie (#6659) 2023-08-01 02:57:38 +02:00
nus_download.cpp build: Fix web service functionality. (#6903) 2023-08-19 17:34:35 -07:00
nus_download.h build: Fix web service functionality. (#6903) 2023-08-19 17:34:35 -07:00
perf_stats.cpp Add per game configuration options (#6187) 2022-12-08 13:27:25 +02:00
perf_stats.h citra_qt: Allow enabling frame advance before emulation start 2021-02-08 11:25:37 +08:00
precompiled_headers.h Port yuzu-emu/yuzu#9300: "CMake: Use precompiled headers to improve compile times" (#6213) 2022-12-17 16:06:38 +01:00
savestate.cpp savestates: save the build name to be displayed when there's a version mismatch (#6493) 2023-08-10 20:55:22 -07:00
savestate.h savestates: save the build name to be displayed when there's a version mismatch (#6493) 2023-08-10 20:55:22 -07:00
savestate_data.h savestates: save the build name to be displayed when there's a version mismatch (#6493) 2023-08-10 20:55:22 -07:00
system_titles.cpp core: Update minimal system title set. (#6573) 2023-05-31 17:34:31 -07:00
system_titles.h Rework system title handling with up-to-date title list and region detection support. (#6356) 2023-03-29 13:55:29 +02:00
telemetry_session.cpp core: De-globalize movie (#6659) 2023-08-01 02:57:38 +02:00
telemetry_session.h common/telemetry: Migrate namespace into the Common namespace 2021-01-04 05:17:13 +01:00