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
german
b92717bec6
Always initialize keyboard input
5 years ago
german
df1070a735
Add mutitouch support for touch screens
5 years ago
german
f452fbfc88
Allow to return up to 16 touch inputs per engine
5 years ago
german
2aa888b7e3
Allow all touch inputs at the same time and remove config options that are not longer necesary
5 years ago
german
29cf5313da
Add multitouch support
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
LC
5681af1131
Merge pull request #5351 from ReinUsesLisp/vc-unused-functions
cmake: Enforce -Wunused-function code-base wise
5 years ago
Rodrigo Locatti
e999fdf283
Merge pull request #5350 from ReinUsesLisp/vk-init-warns
vulkan_common: Silence missing initializer warnings
5 years ago
LC
e7e89341f2
Merge pull request #5349 from ReinUsesLisp/anv-fix
vulkan_device: Enable shaderStorageImageMultisample conditionally
5 years ago
ReinUsesLisp
4b3ae78de7
cmake: Remove yuzu_tester
We never ended up using yuzu_tester.
Removing it saves code duplication with yuzu_cmd, and distribution size on
prebuilt packages.
For unit testing, we can use catch2 from guest code and dump the results
to a file. Then execute yuzu from a script on ci if we want this to be
automated.
5 years ago
ReinUsesLisp
4bd143ca76
cmake: Enforce -Wunused-function code-base wide
5 years ago
ReinUsesLisp
4d9ee82fca
video_core: Enforce -Wunused-function
Stops us from merging code with unused functions in the future.
If something is invoked behind conditionally evaluated code in
a way that the language can't see it (e.g. preprocessor macros), the
potentially unused function should use [[maybe_unused]].
5 years ago
LC
31b1271ac3
Merge pull request #5348 from ReinUsesLisp/astc-robustness
astc: Make the decoder more robust to invalid data
5 years ago
ReinUsesLisp
bf1d317892
vk_buffer_cache: Remove unused function
5 years ago
ReinUsesLisp
520685e719
vulkan_common: Silence missing initializer warnings
Silence warnings explicitly initializing all members on construction.
5 years ago