Lime3DS/src/common
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
..
aarch64 build: Update to support multi-arch builds. 2023-01-07 01:09:32 -08:00
dynamic_library Add vulkan backend (#6512) 2023-09-13 01:28:50 +03:00
logging common: Only use libbacktrace if present. (#6827) 2023-07-31 14:24:27 -07:00
serialization Fix memory region serialization (OSK crash) 2020-04-10 16:51:01 +01:00
x64 code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00
alignment.h common: Resolve C4267 warning on MSVC 2022-05-18 00:05:40 -04:00
android_storage.cpp Various miscelaneous changes (#6496) 2023-05-03 17:24:10 +02:00
android_storage.h citra_android: Storage Access Framework implementation (#6313) 2023-03-23 14:30:52 +01:00
announce_multiplayer_room.h core, web_service: Check for error when registering rooms 2019-04-20 12:50:14 +08:00
apple_authorization.cpp common: Add C++ version of Apple authorization logic. (#6616) 2023-06-19 15:50:26 -07:00
apple_authorization.h common: Add C++ version of Apple authorization logic. (#6616) 2023-06-19 15:50:26 -07:00
arch.h build: Update to support multi-arch builds. 2023-01-07 01:09:32 -08:00
archives.h Code review actions (plus hopefully fix the linux CI) 2020-03-31 17:54:28 +01:00
assert.h Chore: Enable warnings as errors on MSVC (#6456) 2023-05-01 22:38:58 +03:00
atomic_ops.h Core: Port Exclusive memory impl from yuzu 2022-10-23 13:19:33 +05:30
bit_field.h Various miscelaneous changes (#6496) 2023-05-03 17:24:10 +02:00
bit_set.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
bounded_threadsafe_queue.h logging: Address some issues 2023-07-03 02:18:35 +03:00
cityhash.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
cityhash.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
CMakeLists.txt build: Enable link time optimization in release builds. (#6887) 2023-08-26 11:15:13 -07:00
color.h Rasterizer cache refactor (#6375) 2023-04-21 10:14:55 +03:00
common_funcs.h Chore: Enable warnings as errors on MSVC (#6456) 2023-05-01 22:38:58 +03:00
common_paths.h qt: Add support for building for iOS. (#6594) 2023-06-07 20:40:53 -07:00
common_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
common_types.h Core: Port Exclusive memory impl from yuzu 2022-10-23 13:19:33 +05:30
construct.h Code review - general gardening 2020-03-29 16:14:36 +01:00
detached_tasks.cpp Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
detached_tasks.h Review comments - part 5 2018-10-20 10:35:55 -04:00
error.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
error.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
expected.h core: backport some ResultCode updates (#6645) 2023-07-03 02:23:53 +02:00
file_util.cpp build: Fixes for a few minor issues (#6886) 2023-08-14 09:47:17 -07:00
file_util.h code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00
hash.h Add vulkan backend (#6512) 2023-09-13 01:28:50 +03:00
linear_disk_cache.h code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00
literals.h Address review comments 2022-11-15 11:20:35 +01:00
math_util.h Rasterizer cache refactor (#6375) 2023-04-21 10:14:55 +03:00
memory_detect.cpp Address review comments 2022-11-15 11:20:35 +01:00
memory_detect.h Address review comments 2022-11-15 11:20:35 +01:00
memory_ref.cpp Added copyright notices on new files 2020-03-28 15:21:10 +00:00
memory_ref.h Chore: Enable warnings as errors on MSVC (#6456) 2023-05-01 22:38:58 +03:00
microprofile.cpp Integrate the MicroProfile profiling library 2015-08-24 22:16:28 -03:00
microprofile.h code: Cleanup and warning fixes from the Vulkan PR (#6163) 2022-11-04 23:32:57 +01:00
microprofileui.h Common: Remove section measurement from profiler (#1731) 2016-04-29 00:07:10 -07:00
misc.cpp android + common: fix warnings 2023-06-17 21:24:20 +05:30
param_package.cpp common/logging: Reduce scope of fmt include 2023-06-30 12:15:52 +03:00
param_package.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
polyfill_thread.h chore: Fix some compiler warnings. (#6578) 2023-05-30 12:36:12 -07: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
quaternion.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
ring_buffer.h code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00
scm_rev.cpp.in Add shader cache version generation 2020-01-15 19:58:33 -07:00
scm_rev.h Add shader cache version generation 2020-01-15 19:58:33 -07:00
scope_exit.h common/scope_exit: Replace std::move with std::forward in ScopeExit() 2019-04-15 17:55:44 +02:00
settings.cpp Add vulkan backend (#6512) 2023-09-13 01:28:50 +03:00
settings.h Add vulkan backend (#6512) 2023-09-13 01:28:50 +03:00
slot_vector.h rasterizer_cache: Remove runtime allocation caching (#6705) 2023-08-01 03:35:41 +03:00
string_literal.h common: Add StringLiteral 2022-11-22 22:52:37 +00:00
string_util.cpp Merge pull request #6602 from SachinVin/wall 2023-06-18 22:37:39 +05:30
string_util.h Chore: Enable warnings as errors on MSVC (#6456) 2023-05-01 22:38:58 +03:00
swap.h general: Fix various spelling errors 2021-01-03 02:39:41 +01:00
telemetry.cpp build: Update to support multi-arch builds. 2023-01-07 01:09:32 -08:00
telemetry.h common/telemetry: Migrate namespace into the Common namespace 2021-01-04 05:17:13 +01:00
texture.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
texture.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
thread_queue_list.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
thread_worker.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
thread.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
thread.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
threadsafe_queue.h common: Replace lock_guard with scoped_lock 2023-06-30 12:15:52 +03:00
timer.cpp common: Resolve C4267 warning on MSVC 2022-05-18 00:05:40 -04:00
timer.h common: Resolve C4267 warning on MSVC 2022-05-18 00:05:40 -04:00
unique_function.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
vector_math.h src/CMakeLists: Enforce multiple warnings on MSVC (#5692) 2022-11-09 23:14:28 +01:00
web_result.h Put WebResult into a seperate file 2018-10-27 00:39:02 +02:00
zstd_compression.cpp code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00
zstd_compression.h code: Use std::span where appropriate (#6658) 2023-07-07 01:52:40 +03:00