bunnei
02dfcb4b8f
Merge pull request #5361 from ReinUsesLisp/vk-shader-comment
vk_shader_decompiler: Show comments as OpUndef with a type
5 years ago
bunnei
867af3bf19
Merge pull request #5743 from german77/HandheldFix
Fix player 1 turning on handheld and not updating handheld settings
5 years ago
bunnei
0f02201fb3
Merge pull request #5755 from FearlessTobi/port-5344
Port citra-emu/citra#5344 : "game_list: Fix folder reordering"
5 years ago
Rodrigo Locatti
cd2d96edb6
Merge pull request #5746 from lioncash/sign-compare
texture_cache/util: Resolve -Wsign-compare warning
5 years ago
LC
7eaaaf5305
Merge pull request #5754 from lat9nq/fix-disable-boxcat
configure_service: Only compile FormatEventStatusString when YUZU_ENABLE_BOXCAT is enabled
5 years ago
LC
a88ceb3700
Merge pull request #5757 from Morph1984/npad-handheld
npad: Add check for HANDHELD_INDEX in UpdateControllerAt()
5 years ago
Morph
1ec37a7c7a
npad: Add check for HANDHELD_INDEX in UpdateControllerAt()
5 years ago
german
27dee554d5
Always update configuration for handheld
5 years ago
FearlessTobi
a4e67c9402
game_list: Fix folder reordering
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>
5 years ago
lat9nq
7b2314bab1
configure_service: Only compile FormatEventStatusString when YUZU_ENABLE_BOXCAT is enabled
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.
5 years ago
german
1b01f3199e
Fix player 1 default connected value
5 years ago
bunnei
2783c5b69e
Merge pull request #5360 from ReinUsesLisp/enforce-memclass-access
core: Silence Wclass-memaccess warnings and enforce it
5 years ago
Rodrigo Locatti
06ca8264a8
Merge pull request #5745 from lioncash/documentation
video_core: Resolve -Wdocumentation warnings
5 years ago
bunnei
18dddd8a1b
Merge pull request #5744 from lioncash/header-guard
vulkan_debug_callback: Add missing header guard
5 years ago
Lioncash
bc509928d4
texture_cache/util: Resolve -Wsign-compare warning
Resolves a -Wsign-compare warning on Clang.
5 years ago
Lioncash
c7bd08aad1
video_core: Resolve -Wdocumentation warnings
Silences some -Wdocumentation warnings on Clang.
5 years ago
Lioncash
edb202eef8
vulkan_debug_callback: Add missing header guard
Prevents inclusion issues from occurring.
5 years ago
Rodrigo Locatti
53957403cf
Merge pull request #5740 from lioncash/const-fn
input_interpreter: Mark two member functions as const
5 years ago
Rodrigo Locatti
2fccc35fa8
Merge pull request #5262 from ReinUsesLisp/buffer-base
buffer_cache/buffer_base: Add a range tracking buffer container and tests
5 years ago
Lioncash
6311c72b03
input_interpreter: Mark two member functions as const
These aren't stateful functions, so we can make use of const.
While we're at, we can resolve some -Wdocumentation warnings.
5 years ago
bunnei
f4e62240cd
Merge pull request #5366 from Morph1984/button-press
input_interpreter: Add method to check for a button press state
5 years ago
Morph
989694f182
input_interpreter: Add method to check for a button press state
This allows to check for continuous input for the duration of a button press/hold
5 years ago
bunnei
74cee15619
Merge pull request #5275 from FernandoS27/fast-native-clock
X86/NativeClock: Improve performance of clock calculations on hot path.
5 years ago
bunnei
1914ab2be9
Merge pull request #5336 from lioncash/tree
common/tree: Convert defines over to templates
5 years ago
Rodrigo Locatti
7f0e5d911f
Merge pull request #5297 from ReinUsesLisp/vulkan-allocator-common
vulkan_memory_allocator: Improvements to the memory allocator
5 years ago
ReinUsesLisp
3d5910da6d
vk_shader_decompiler: Show comments as OpUndef with a type
Silence the new validation layer error about SPIR-V not allowing OpUndef
on a OpTypeVoid, even when the SPIR-V spec doesn't say anything against
it.
They will be inserted as an undefined int to avoid SPIRV-Cross and
validation errors, but only when a debugging tool is attached.
5 years ago
LC
d9a8238acb
Merge pull request #5358 from ReinUsesLisp/rename-insert-padding
common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT
5 years ago
ReinUsesLisp
1af09cf1b5
core/cmake: Enforce Wclass-memaccess
Treat -Wclass-memaccess as an error.
5 years ago
ReinUsesLisp
4854f3291e
core: Silence Wclass-memaccess warnings
This requires making several types trivial and properly initialize
them whenever they are called.
5 years ago
ReinUsesLisp
92ca4929f5
common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT
INSERT_PADDING_BYTES_NOINIT is more descriptive of the underlying behavior.
5 years ago
ReinUsesLisp
d43c0e4c53
vulkan_memory_allocator: Remove unnecesary 'device' memory from commits
5 years ago
ReinUsesLisp
36597c0b38
vk_texture_cache: Use Download memory types for texture flushes
Use the Download memory type where it matters.
5 years ago
ReinUsesLisp
517400fb71
vulkan_memory_allocator: Add allocation support for download types
Implements the allocator logic to handle download memory types. This
will try to use HOST_CACHED_BIT when available.
5 years ago
ReinUsesLisp
60bb77340f
vulkan_memory_allocator: Add "download" memory usage hint
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.
5 years ago
ReinUsesLisp
fa012cc7e6
vulkan_common: Move allocator to the common directory
Allow using the abstraction from the OpenGL backend.
5 years ago
ReinUsesLisp
bb1cc99e64
renderer_vulkan: Rename Vulkan memory manager to memory allocator
"Memory manager" collides with the guest GPU memory manager, and a
memory allocator sounds closer to what the abstraction aims to be.
5 years ago
ReinUsesLisp
550a9cbcb5
vk_memory_manager: Improve memory manager and its API
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.
5 years ago
bunnei
9590588b9b
Merge pull request #5355 from lioncash/timer
common/timer: Remove
5 years ago
LC
4df2d09468
Merge pull request #5357 from ReinUsesLisp/alignment-log2
common/alignment: Rename AlignBits to AlignUpLog2 and use constraints
5 years ago
Rodrigo Locatti
5192e1655f
Merge pull request #5356 from lioncash/clz
common/bit_util: Replace CLZ/CTZ operations with standardized ones
5 years ago
Lioncash
d5bff783bd
common/bit_util: Replace CLZ/CTZ operations with standardized ones
Makes for less code that we need to maintain.
5 years ago
ReinUsesLisp
14ba0b1e68
common/alignment: Upgrade to use constraints instead of static asserts
5 years ago
ReinUsesLisp
4e4056f581
common/alignment: Rename AlignBits to AlignUpLog2
AlignUpLog2 describes what the function does better than AlignBits.
5 years ago
Lioncash
d8771fb857
common/timer: Remove
This is a leftover from citra and dolphin that isn't used at all,
particularly given the <chrono> header exists.
5 years ago
LC
6c998e7370
Merge pull request #5354 from ReinUsesLisp/remove-common-color
common/color: Remove
5 years ago
LC
24e21f88d3
Merge pull request #5352 from ReinUsesLisp/remove-tester
cmake: Remove yuzu_tester
5 years ago
ReinUsesLisp
a815988d5c
common/color: Remove
This is a leftover from Citra we no longer use.
5 years ago
LC
350af2d34f
Merge pull request #5353 from ReinUsesLisp/deduplicate-warning-flags
{video_,}core/cmake: Remove Werror flags already defined code-base wide
5 years ago
ReinUsesLisp
d7b2d16fc4
core/cmake: Remove Werror flags already defined code-base wide
5 years ago
ReinUsesLisp
98ad500af1
video_core/cmake: Remove Werror flags already defined code-base wide
These flags are already defined in src/cmake.
5 years ago