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
ReinUsesLisp
cefa8135c5
vulkan_device: Enable shaderStorageImageMultisample conditionally
Fix Vulkan initialization on ANV.
5 years ago
ReinUsesLisp
c0c51e4be0
astc: Increase integer encoded vector size
Invalid ASTC textures seem to write more bytes here, increase
the size to something that can't make us push out of bounds.
5 years ago
ReinUsesLisp
185c16d893
astc: Return zero on out of bound bits
Avoid out of bound reads on invalid ASTC textures.
Games can bind invalid textures that make us read or write out of bounds.
5 years ago
LC
3be8aaa593
Merge pull request #5302 from lat9nq/appimage-update
ci/linux: Make Mainline AppImages updateable
5 years ago
bunnei
77b0a75e63
Merge pull request #5345 from lioncash/unused-var
yuzu: Remove unused variables in Qt code
5 years ago
Lioncash
d524f04fc6
yuzu: Remove unused variables in Qt code
Removes two unused variables in out Qt code. In this case the removal of
these two results in less allocations, given std::map allocates on the
heap.
5 years ago
Morph
87eea4e068
Merge pull request #5343 from lioncash/qt6
configure_motion_touch: Migrate off QRegExp to QRegularExpression
5 years ago
Morph
857ac55a48
Merge pull request #5344 from lioncash/move
configure_motion_touch: Prevent use after move in ApplyConfiguration()
5 years ago
Lioncash
bdbb35bc3b
configure_motion_touch: Prevent use after move in ApplyConfiguration()
touch_engine was being compared against after being moved into the
setter for the engine, so this comparison wouldn't behave properly.
5 years ago
Lioncash
cca1d8342d
configure_motion_touch: Migrate off QRegExp to QRegularExpression
QRegularExpression was introduced in Qt 5 as a better replacement for
QRegExp. In Qt 6.0 QRegExp is removed entirely.
To remain forward compatible with Qt 6.0, we can transition over to
using QRegularExpression.
5 years ago
LC
15f13ef605
Merge pull request #5330 from german77/regexerror
Fix IP validator error
5 years ago
bunnei
4726014c46
Merge pull request #5342 from lioncash/qt6
yuzu: Migrate off of setMargin() to setContentsMargins()
5 years ago
german
0da0fff264
Fix IP validator error where the last octet produced an error if the value was higher than 199
5 years ago
Lioncash
1c11424586
yuzu: Migrate off of setMargin() to setContentsMargins()
setMargin() has been deprecated since Qt 5, and replaced with
setContentsMargins(). We can move over to setContentsMargins() to stay
forward-compatible with Qt 6.0.
5 years ago
Morph
642e44e09b
Merge pull request #5341 from ReinUsesLisp/anv-storage
vulkan_device: Remove requirement on shaderStorageImageMultisample
5 years ago
ReinUsesLisp
6c3376b789
vulkan_device: Remove requirement on shaderStorageImageMultisample
yuzu doesn't currently emulate MS image stores. Requiring this makes no
sense for now. Fixes ANV not booting any games on Vulkan.
5 years ago
ReinUsesLisp
e482ac4786
tests: Add unit tests for the GPU range tracking buffer container
Due to how error prone the container design is, this commit adds unit
tests for it.
Some tests taken from here are based on bugs from using this buffer
container in games, so if we ever break it in the future in a way that
might harm games, the tests should fail.
5 years ago
LC
a2e2f21049
Merge pull request #5340 from Morph1984/gcc-warnings
cmake: Enforce -Werror=switch and -Werror=unused-variable
5 years ago