- 21 Jan, 2021 1 commit
-
-
ReinUsesLisp authored
Setting __GL_SHADER_DISK_CACHE_PATH we can force the cache directory to be in yuzu's user directory to stop commonly distributed malware from deleting our driver shader cache. And by setting __GL_SHADER_DISK_CACHE_SKIP_CLEANUP we can have an unbounded shader cache size. This has only been implemented on Windows, mostly because previous tests didn't seem to work on Linux. Disable the precompiled cache on Nvidia's driver. There's no need to hide information the driver already has in its own cache.
-
- 19 Jan, 2021 1 commit
-
-
bunnei authored
Port citra-emu/citra#5344: "game_list: Fix folder reordering"
-
- 18 Jan, 2021 5 commits
-
-
Rodrigo Locatti authored
texture_cache/util: Resolve -Wsign-compare warning
-
LC authored
configure_service: Only compile FormatEventStatusString when YUZU_ENABLE_BOXCAT is enabled
-
LC authored
npad: Add check for HANDHELD_INDEX in UpdateControllerAt()
-
Morph authored
-
FearlessTobi authored
The bug(s) happened because we swapped the contents on values.game_dirs, but the pointer each item had to their respective game_dir wasn't updated. This made it so that the item had the wrong game_dir associated with it after a "move up" or "move down" operation. It can be observed by choosing "open directory location" after such operation. Changed from raw pointer to an index because it's equivalent but a bit clearer, but the change is not essential. Co-Authored-By: Vitor K <29167336+vitor-k@users.noreply.github.com>
-
- 17 Jan, 2021 7 commits
-
-
lat9nq authored
The function is unused if YUZU_ENABLE_BOXCAT is disabled, causing a -Wunused-funciton error when compiled. Wrapping it with `#ifdef YUZU_ENABLE_BOXCAT` to prevent compiling the function when the variable is disabled. Opting to not use [[maybe unused]] in case the function is totally unused in the future.
-
bunnei authored
core: Silence Wclass-memaccess warnings and enforce it
-
Rodrigo Locatti authored
video_core: Resolve -Wdocumentation warnings
-
bunnei authored
vulkan_debug_callback: Add missing header guard
-
Lioncash authored
Resolves a -Wsign-compare warning on Clang.
-
Lioncash authored
Silences some -Wdocumentation warnings on Clang.
-
Lioncash authored
Prevents inclusion issues from occurring.
-
- 16 Jan, 2021 8 commits
-
-
Rodrigo Locatti authored
input_interpreter: Mark two member functions as const
-
Rodrigo Locatti authored
buffer_cache/buffer_base: Add a range tracking buffer container and tests
-
Lioncash authored
These aren't stateful functions, so we can make use of const. While we're at, we can resolve some -Wdocumentation warnings.
-
bunnei authored
input_interpreter: Add method to check for a button press state
-
Morph authored
This allows to check for continuous input for the duration of a button press/hold
-
bunnei authored
X86/NativeClock: Improve performance of clock calculations on hot path.
-
bunnei authored
common/tree: Convert defines over to templates
-
Rodrigo Locatti authored
vulkan_memory_allocator: Improvements to the memory allocator
-
- 15 Jan, 2021 18 commits
-
-
LC authored
common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT
-
ReinUsesLisp authored
Treat -Wclass-memaccess as an error.
-
ReinUsesLisp authored
This requires making several types trivial and properly initialize them whenever they are called.
-
ReinUsesLisp authored
INSERT_PADDING_BYTES_NOINIT is more descriptive of the underlying behavior.
-
ReinUsesLisp authored
-
ReinUsesLisp authored
Use the Download memory type where it matters.
-
ReinUsesLisp authored
Implements the allocator logic to handle download memory types. This will try to use HOST_CACHED_BIT when available.
-
ReinUsesLisp authored
Allow users of the allocator to hint memory usage for downloads. This removes the non-descriptive boolean passed for "host visible" or not host visible memory commits, and uses an enum to hint device local, upload and download usages.
-
ReinUsesLisp authored
Allow using the abstraction from the OpenGL backend.
-
ReinUsesLisp authored
"Memory manager" collides with the guest GPU memory manager, and a memory allocator sounds closer to what the abstraction aims to be.
-
ReinUsesLisp authored
Fix a bug where the memory allocator could leave gaps between commits. To fix this the allocation algorithm was reworked, although it's still short in number of lines of code. Rework the allocation API to self-contained movable objects instead of naively using an unique_ptr to do the job for us. Remove the VK prefix.
-
bunnei authored
common/timer: Remove
-
LC authored
common/alignment: Rename AlignBits to AlignUpLog2 and use constraints
-
Rodrigo Locatti authored
common/bit_util: Replace CLZ/CTZ operations with standardized ones
-
Lioncash authored
Makes for less code that we need to maintain.
-
ReinUsesLisp authored
-
ReinUsesLisp authored
AlignUpLog2 describes what the function does better than AlignBits.
-
Lioncash authored
This is a leftover from citra and dolphin that isn't used at all, particularly given the <chrono> header exists.
-