ameerj
cac341dbc7
renderer_vulkan: Accelerate ASTC decoding
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
5 years ago
ameerj
bdec905c4a
host_shaders: Modify shader cmake integration to allow for larger shaders
using a raw string to encapsulate the entire shader code limits us to shaders of size less than 2KB. This change overcomes this limitation.
5 years ago
ameerj
113734e488
renderer_opengl: Accelerate ASTC texture decoding with a compute shader
ASTC texture decoding is currently handled by a CPU decoder for GPU's without native ASTC decoding support (most desktop GPUs). This is the cause for noticeable performance degradation in titles which use the format extensively.
This commit adds support to accelerate ASTC decoding using a compute shader on OpenGL for GPUs without native support.
5 years ago
bunnei
cecec1f261
Merge pull request #6053 from Morph1984/time-CalculateSpanBetween
time: Fix CalculateSpanBetween implementation
5 years ago
bunnei
5922788d3e
Merge pull request #6028 from bunnei/raster-cache
video_core: rasterizer_accelerated: Use a flat array instead of interval_map for cached pages.
5 years ago
bunnei
044f6a53c9
video_core: rasterizer_accelerated: Fix un/signed mismatch.
5 years ago
bunnei
e3e2941274
Merge pull request #5327 from AniLeo/master
qt: Set DISPLAY env var when not present
5 years ago
bunnei
d0933e20e0
Merge pull request #6040 from german77/toggleKeyboard
Enable toggle buttons for keyboard and mouse
5 years ago
zkitx
89577872eb
Fix casing on DeallocateAesKeySlot
5 years ago
zkitx
1cf20b84a7
Update SPL to fit N's service refactor (4.0.0+) which split into new services.
5 years ago
MerryMage
63c5190057
fiber: Double default stack size
Stack overflow occurs with some guest applications
5 years ago
Morph
d63d7bce9c
time: Fix CalculateSpanBetween implementation
CalculateSpanBetween passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments.
Partially fixes Super Smash Bros. Ultimate's Spirit Board
5 years ago
Morph
e715bfd945
time: Assign the current time point to the ClockSnapshot
Fixes the timer in Super Smash Bros Ultimate's Spirit Board.
5 years ago
Rodrigo Locatti
1f0cb72f40
Merge pull request #5891 from ameerj/bgra-ogl
renderer_opengl: Use compute shaders to swizzle BGR textures on copy
5 years ago
bunnei
04c1eff0e4
Merge pull request #6021 from ReinUsesLisp/skip-cache-heuristic
buffer_cache: Heuristically decide to skip cache on uniform buffers
5 years ago
bunnei
f16c081cfd
Merge pull request #5990 from german77/mousePanningV2
InputCommon: Mouse fixes
5 years ago
bunnei
67c57ed215
Merge pull request #6041 from bunnei/fiber-leaks
common: fiber: Use weak_ptr when yielding.
5 years ago
Morph
a8235bbf66
Merge pull request #6047 from lioncash/dynarmic
external: Update dynarmic
5 years ago
Lioncash
e1399faa69
external: Update dynarmic
5 years ago
bunnei
e4b692bd16
common: Fiber: use a reference for YieldTo.
- Fixes another small leak.
5 years ago
Ani
443c883e88
qt: Set DISPLAY env var when not present
Fixes web browser opening (Help > Open Mods Page, Help > Open Quickstart
Guide)
5 years ago
german77
9c42c9e164
Enable mouse toggle buttons
5 years ago
german
0b24257e2c
Add toggle button option for normal buttons
5 years ago
bunnei
a5092f9918
common: fiber: Use weak_ptr when yielding.
- Avoids a memory leak, as taking a strong reference of the fiber here causes a circular reference.
- Supersedes #6006 with a more narrow fix.
5 years ago
german
03c81d5e1f
Enable button toggle for keyboard in the modifier button
5 years ago
bunnei
477adb196e
Merge pull request #6036 from bunnei/thread-leak
hle: kernel: KThread: Rework dummy threads & fix memory leak.
5 years ago
bunnei
75519d107f
hle: kernel: KThread: Rework dummy threads & fix memory leak.
- Dummy threads are created on thread local storage for all host threads.
- Fixes a leak by removing creation of fibers, which are not applicable here.
5 years ago
LC
018d3af3ab
Merge pull request #6029 from Morph1984/compile-utf8
CMakeLists: Add /utf-8 compile option for MSVC
5 years ago
bunnei
9bfeaf4023
Merge pull request #6039 from yuzu-emu/revert-6006-fiber-unique-ptr
Revert "core: Switch to unique_ptr for usage of Common::Fiber."
5 years ago
bunnei
845a217d5e
Revert "core: Switch to unique_ptr for usage of Common::Fiber."
5 years ago
bunnei
643c89399b
Merge pull request #6034 from Morph1984/mbedtls
externals: Update mbedtls to 2.16.9
5 years ago
bunnei
bd30da2afc
Merge pull request #6006 from bunnei/fiber-unique-ptr
core: Switch to unique_ptr for usage of Common::Fiber.
5 years ago
Morph
31a56dafd3
aes_util: Remove malformed mbedtls_cipher_finish function call
5 years ago
Morph
4cb149cbda
externals: Update mbedtls to 2.16.9
mbedtls 2.16 is the last version which has licensing for GPL 2.0. This updates mbedtls to our own fork of mbedtls 2.16
5 years ago
Morph
05ddff8336
CMakeLists: Add /utf-8 compile option for MSVC
Ensures that the source and execution character sets are in UTF-8
5 years ago
ameerj
fb79ff4cab
texture_cache: Blacklist BGRA8 copies and views on OpenGL
In order to force the BGRA8 conversion on Nvidia using OpenGL, we need to forbid texture copies and views with other formats.
This commit also adds a boolean relating to this, as this needs to be done only for the OpenGL api, Vulkan must remain unchanged.
5 years ago
ameerj
594860b216
renderer_opengl: Swizzle BGR textures on copy
OpenGL does not natively support BGR internal formats, which causes many BGR textures to render incorrectly, with Red and Blue channels swapped.
This commit aims to address this by swizzling the blue and red channels on texture copies when a BGR format is encountered.
5 years ago
bunnei
688e937d8f
Merge pull request #5989 from ReinUsesLisp/cmdpool
vk_command_pool: Reduce the command pool size from 4096 to 4
5 years ago
bunnei
7e7de40f0c
Merge pull request #6004 from german77/udprandom
InputCommon: Use an unique client id for each udp socket instance
5 years ago
bunnei
1f1170eb3d
video_core: rasterizer_accelerated: Fix delta check ordering.
5 years ago
bunnei
02870daa16
video_core: rasterizer_accelerated: Improve error handling & fix implicit conversion.
5 years ago
bunnei
6fbbe2572c
Merge pull request #5815 from comex/net-error-reform
Network error handling reform
5 years ago
bunnei
489b5cca7c
video_core: rasterizer_accelerated: Use a flat array instead of interval_map for cached pages.
- Uses a fixed 64MB for the cache instead of an ever growing map.
- Slightly faster by using atomics instead of a single mutex for access.
- Thanks for Rodrigo for the idea.
5 years ago
LC
275a2d62aa
Merge pull request #6020 from bunnei/shutdown-crash-2
core: Shutdown: Move kernel cleanup to later in shutdown.
5 years ago
ReinUsesLisp
06028cda0c
buffer_cache: Heuristically decide to skip cache on uniform buffers
Some games benefit from skipping caches (Pokémon Sword), and others
don't (Animal Crossing: New Horizons). Add an heuristic to decide this
at runtime.
The cache hit ratio has to be ~98% or better to not skip the cache.
There are 16 frames of buffer.
5 years ago
bunnei
0fea01628e
core: Shutdown: Move kernel cleanup to later in shutdown.
- Fixes a shutdown crash due to a race condition with GPU still accessing memory.
5 years ago
bunnei
c876d60464
Merge pull request #6019 from Kelebek1/bcat
[Service::nifm] Fix bcat_backend's default initialisation
5 years ago
Kelebek1
32fd2a3ac6
Fix default bcat_backend init
5 years ago
german
0cb68543e2
inputCommon: Use an unique client id for each socket instance
5 years ago
Morph
d384b5101c
Merge pull request #6016 from ameerj/remove-async-nvdec
gpu_thread: Remove Async NVDEC placeholders
5 years ago