Fernando Sahmkow
63915bf2de
Fence Manager: Add fences on Reference Count.
5 years ago
Fernando Sahmkow
35327dbde3
Videocore: Address Feedback & CLANG Format.
5 years ago
Fernando Sahmkow
0e4d4b4beb
Buffer Cache: Fix High Downloads and don't predownload on Extreme.
5 years ago
ReinUsesLisp
5a45d295da
vk_buffer_cache: Use emulated null buffers for transform feedback
Vulkan does not support null buffers on transform feedback bindings.
Emulate these using the same null buffer we were using for index
buffers.
5 years ago
ameerj
8284658bac
configure_graphics: Use u8 for bg_color values
5 years ago
Feng Chen
c7ad195fd3
Out of bound blit ( #6531 )
* Fix out of bound blit error
* Fix code read
* Fix ci error
Co-authored-by: Feng Chen <chen.feng@gloritysolutions.com>
5 years ago
lat9nq
2f0e1f5d02
util_shaders: Fix BindImageTexture
According to
https://gitlab.freedesktop.org/mesa/mesa/-/issues/3820#note_753371 we
need to set these to true for use with 3D textures.
Fixes BOTW teleporting on RadeonSI and iris.
5 years ago
Fernando Sahmkow
c6a9e91784
Texture Cache: Fix collision with multiple overlaps of the same sparse texture.
5 years ago
Fernando Sahmkow
a8a0927d42
Texture Cache: Fix GCC & Clang.
5 years ago
Fernando Sahmkow
8f9f142956
Texture Cache: Address feedback.
5 years ago
Fernando Sahmkow
fd98fcf7f0
Texture Cache: Improve accuracy of sparse texture detection.
5 years ago
Fernando Sahmkow
38165fb7e3
Texture Cache: Initial Implementation of Sparse Textures.
5 years ago
Fernando Sahmkow
0aab55d26a
TextureCacheOGL: Implement Image Copies for 1D and 1D Array.
5 years ago
Fernando Sahmkow
ebaa7e391c
TextureCache: Fix 1D to 2D overlapps.
5 years ago
Kelebek1
208a04dcff
Slightly refactor NVDEC and codecs for readability and safety
5 years ago
lat9nq
7a8de138df
yuzu qt: Make most UISettings a BasicSetting
For simple primitive settings, moves their defaults and labels to
definition time.
Also fixes typo and clang-format
yuzu qt: config: Fix rng_seed
5 years ago
lat9nq
b91b76df4f
general: Make most settings a BasicSetting
Creates a new BasicSettings class in common/settings, and forces setting
a default and label for each setting that uses it in common/settings.
Moves defaults and labels from both frontends into common settings.
Creates a helper function in each frontend to facillitate reading the
settings now with the new default and label properties.
Settings::Setting is also now a subclass of Settings::BasicSetting. Also
adds documentation for both Setting and BasicSetting.
5 years ago
Morph
22d7b89c15
video_core: Remove #pragma warning directives for external headers
5 years ago
Morph
a47704f4dd
video_core: Enforce C4242
5 years ago
Morph
d3d6613d33
video_core: Silence signed/unsigned mismatch warnings
5 years ago
ReinUsesLisp
9476309d53
buffer_cache: Only flush downloaded size
Fixes a regression unintentionally introduced by the garbage collector.
This makes regular memory downloads only flush the requested sizes.
This negatively affected Koei Tecmo games.
5 years ago
ReinUsesLisp
03abe8bf85
video_core: Enforce C4244
Enforce implicit integer casts to a smaller type as errors.
5 years ago
ReinUsesLisp
05bd50a1cf
codec,vic: Disable warnings in ffmpeg headers
5 years ago
ReinUsesLisp
3ab5bf6454
vk_buffer_cache: Silence implicit cast warnings
5 years ago
ReinUsesLisp
b4894faeae
buffer_cache/texture_cache: Make GC functions private
5 years ago
ReinUsesLisp
e79d02bf38
buffer_cache: Silence implicit cast warning
5 years ago
ReinUsesLisp
99b859db55
vulkan_device: Make device memory match the rest of the file
Match the style in the file.
5 years ago
Wunkolo
4569f39c7c
common: Replace common_sizes into user-literals
Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc
user-literals within literals.h.
To keep the global namespace clean, users will have to use:
```
using namespace Common::Literals;
```
to access these literals.
5 years ago
Lioncash
d0b1f2bd05
General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
5 years ago
Lioncash
be6844c1ed
maxwell3d: Add missing return in default SizeInBytes() case
We were returning '1' in ComponentCount()'s default case but were
neglecting to do the same with SizeInBytes().
5 years ago
Fernando Sahmkow
f9b940a442
Reaper: Set minimum cleaning limit on OGL.
5 years ago
Morph
81b1b71993
common: fs: Remove [[nodiscard]] attribute on Remove* functions
There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal.
As such, removing the [[nodiscard]] attribute is best for these functions.
5 years ago
ReinUsesLisp
4009ae1da2
bootmanager: Use std::stop_source for stopping emulation
Use its std::stop_token to abort shader cache loading.
Using std::stop_token instead of std::atomic_bool allows the usage of
other utilities like std::stop_callback.
5 years ago
ReinUsesLisp
cf116a28a6
vk_master_semaphore: Use jthread for debug thread
5 years ago
lat9nq
a01459df3d
gl_device: Expand on Mesa driver names
Makes this list a bit more capable at identifying Mesa drivers. Tries to
deal with two of the overloaded vendor strings in a more generic
fashion.
5 years ago
ameerj
fb16cbb17e
video_core: Add GPU vendor name to window title bar
5 years ago
Fernando Sahmkow
569a1962c0
Reaper: Guarantee correct deletion.
5 years ago
ameerj
851c76233d
util_shaders: Specify ASTC decoder memory barrier bits
5 years ago
ameerj
ace20ba4a4
astc_decoder.comp: Remove unnecessary LUT SSBOs
We can move them to instead be compile time constants within the shader.
5 years ago
ameerj
31b125ef57
astc: Various robustness enhancements for the gpu decoder
These changes should help in reducing crashes/drivers panics that may
occur due to synchronization issues between the shader completion and
later access of the decoded texture.
5 years ago
ameerj
0b172d12c0
vulkan_debug_callback: Skip logging known false-positive validation errors
Avoids overwhelming the log with validation errors that are not applicable
5 years ago
Fernando Sahmkow
719a6dd5a1
Reaper: Correct size calculation on Vulkan.
5 years ago
Fernando Sahmkow
ca6f47c686
Reaper: Change memory restrictions on TC depending on host memory on VK.
5 years ago
Fernando Sahmkow
0dd98842bf
Reaper: Address Feedback.
5 years ago
Fernando Sahmkow
954ad2a61e
Reaper: Setup settings and final tuning.
5 years ago
Fernando Sahmkow
d8ad6aa187
Reaper: Tune it up to be an smart GC.
5 years ago
ReinUsesLisp
a11bc4a382
Initial Reaper Setup
WIP
6 years ago
ReinUsesLisp
5b1efe522e
vulkan_memory_allocator: Release allocations with no commits
6 years ago
ameerj
5fc8393125
astc_decoder: Fix LDR CEM1 endpoint calculation
Per the spec, L1 is clamped to the value 0xff if it is greater than 0xff. An oversight caused us to take the maximum of L1 and 0xff, rather than the minimum.
Huge thanks to wwylele for finding this.
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
5 years ago
ameerj
b2955479e5
configure_graphics: Add Accelerate ASTC decoding setting
5 years ago