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
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
ReinUsesLisp
a815988d5c
common/color: Remove
This is a leftover from Citra we no longer use.
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
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
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
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
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
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
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
ReinUsesLisp
77efe79868
buffer_cache/buffer_base: Add a range tracking buffer container
It keeps track of the modified CPU and GPU ranges on a CPU page
granularity, notifying the given rasterizer about state changes
in the tracking behavior of the buffer.
Use a small vector optimization to store buffers smaller than 256 KiB
locally instead of using free store memory allocations.
5 years ago
Morph
854e3e0b00
cmake: Enforce -Werror=switch and -Werror=unused-variable
5 years ago
Lioncash
d11b3ebfc4
common/tree: Convert defines over to templates
Reworks the tree header to operate off of templates as opposed to a
series of defines.
This allows all tree facilities to obey namespacing rules, and also
allows this code to be used within modules once compiler support is in
place.
This also gets rid to use a macro to define functions and structs for
necessary data types. With templates, these will be generated when
they're actually used, eliminating the need for the separate
declaration.
5 years ago
Lioncash
17044f999a
common/tree: Remove unused splay tree defines
Makes for less code to take care of.
5 years ago
Lioncash
6d1212fdb9
common/parent_of_member: Replace TYPED_STORAGE define with template alias
Provides the same construct, but makes it obey namespacing.
5 years ago
bunnei
e89be18c79
hle: kernel: thread: Preserve thread wait reason for debugging only.
- This is decoupled from core functionality and used for debugging only.
5 years ago
bunnei
e19dca9193
yuzu: debugger: wait_tree: Handle unknown ThreadState.
5 years ago
bunnei
42b25c1a2c
hle: kernel: k_scheduler_lock: Fix shadowing errors.
5 years ago
bunnei
6cbeabce0d
core: arm: arm_interface: Fix shadowing errors.
5 years ago
bunnei
7f4d928f77
core: hle: Add missing calls to MicroProfileOnThreadExit.
5 years ago
bunnei
e5cfd63ba4
core: hle: Integrate new KConditionVariable and KAddressArbiter implementations.
5 years ago
bunnei
8f3987d3df
core: hle: kernel: Update KAddressArbiter.
5 years ago
bunnei
75610701a3
core: hle: kernel: Update KConditionVariable.
5 years ago
bunnei
c37b0da7d0
core: hle: kernel: Begin moving common SVC defintions to its own header.
5 years ago
bunnei
02071333ca
hle: kernel: Remove unnecessary AddressArbiter definition.
5 years ago
bunnei
bf73b6ed86
common: common_funcs: Add R_UNLESS macro.
5 years ago
bunnei
99a3953705
hle: kernel: k_scheduler: Cleanup OnThreadPriorityChanged.
5 years ago
bunnei
818ff3901a
hle: kernel: Rename thread "status" to "state".
5 years ago
bunnei
9744afa8b1
hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ThreadState.
- This is how the real kernel works, and is more accurate and simpler.
5 years ago
bunnei
d103a3656b
core: hle: kernel: Add some useful functions for checking kernel addresses.
5 years ago
bunnei
f3f7d42d63
core: hle: kernel: svc_types: Add type definitions for KAddressArbiter.
5 years ago
bunnei
eeb0493b5d
common: Introduce useful tree structures.
5 years ago
bunnei
2feb4d56e9
core: hle: kernel: Update KSynchronizationObject.
5 years ago
bunnei
eafd021b14
core: hle: kernel: Begin moving common SVC results to its own header.
5 years ago
bunnei
a45d39c9d6
hle: service: nfp: Remove incorrect signaling behavior in GetDeviceState.
5 years ago