ReinUsesLisp
89c15dd115
common/alignment: Upgrade to use constraints instead of static asserts
4 years ago
ReinUsesLisp
fe494a0ccd
common/alignment: Rename AlignBits to AlignUpLog2
...
AlignUpLog2 describes what the function does better than AlignBits.
4 years ago
Lioncash
91084d9396
common/timer: Remove
...
This is a leftover from citra and dolphin that isn't used at all,
particularly given the <chrono> header exists.
4 years ago
LC
c8bf0caca0
Merge pull request #5354 from ReinUsesLisp/remove-common-color
...
common/color: Remove
4 years ago
LC
6676687694
Merge pull request #5352 from ReinUsesLisp/remove-tester
...
cmake: Remove yuzu_tester
4 years ago
ReinUsesLisp
95fa57f007
common/color: Remove
...
This is a leftover from Citra we no longer use.
4 years ago
LC
7f37822c74
Merge pull request #5353 from ReinUsesLisp/deduplicate-warning-flags
...
{video_,}core/cmake: Remove Werror flags already defined code-base wide
4 years ago
ReinUsesLisp
fb99446f24
core/cmake: Remove Werror flags already defined code-base wide
4 years ago
ReinUsesLisp
cc2c3e447f
video_core/cmake: Remove Werror flags already defined code-base wide
...
These flags are already defined in src/cmake.
4 years ago
LC
28e78d81b2
Merge pull request #5351 from ReinUsesLisp/vc-unused-functions
...
cmake: Enforce -Wunused-function code-base wise
4 years ago
Rodrigo Locatti
185388f341
Merge pull request #5350 from ReinUsesLisp/vk-init-warns
...
vulkan_common: Silence missing initializer warnings
4 years ago
LC
76b465f3ef
Merge pull request #5349 from ReinUsesLisp/anv-fix
...
vulkan_device: Enable shaderStorageImageMultisample conditionally
4 years ago
ReinUsesLisp
af540b0057
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.
4 years ago
ReinUsesLisp
06e0506cb3
cmake: Enforce -Wunused-function code-base wide
4 years ago
ReinUsesLisp
71264ce9a7
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]].
4 years ago
LC
6dc1d48fd1
Merge pull request #5348 from ReinUsesLisp/astc-robustness
...
astc: Make the decoder more robust to invalid data
4 years ago
ReinUsesLisp
3e03391a49
vk_buffer_cache: Remove unused function
4 years ago
ReinUsesLisp
be8fd5490e
vulkan_common: Silence missing initializer warnings
...
Silence warnings explicitly initializing all members on construction.
4 years ago
ReinUsesLisp
ba2ea7eeac
vulkan_device: Enable shaderStorageImageMultisample conditionally
...
Fix Vulkan initialization on ANV.
4 years ago
ReinUsesLisp
22be115eb2
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.
4 years ago
ReinUsesLisp
0ec71b78fb
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.
4 years ago
LC
93f7719eed
Merge pull request #5302 from lat9nq/appimage-update
...
ci/linux: Make Mainline AppImages updateable
4 years ago
bunnei
4038ca2e5d
Merge pull request #5345 from lioncash/unused-var
...
yuzu: Remove unused variables in Qt code
4 years ago
Lioncash
e11e1dcf2d
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.
4 years ago
Morph
f1e278c30f
Merge pull request #5343 from lioncash/qt6
...
configure_motion_touch: Migrate off QRegExp to QRegularExpression
4 years ago
Morph
980973d83e
Merge pull request #5344 from lioncash/move
...
configure_motion_touch: Prevent use after move in ApplyConfiguration()
4 years ago
Lioncash
45aee996c1
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.
4 years ago
Lioncash
a2952ac213
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.
4 years ago
LC
5e35c69f35
Merge pull request #5330 from german77/regexerror
...
Fix IP validator error
4 years ago
bunnei
2c2ef9252f
Merge pull request #5342 from lioncash/qt6
...
yuzu: Migrate off of setMargin() to setContentsMargins()
4 years ago
german
06cf705501
Fix IP validator error where the last octet produced an error if the value was higher than 199
4 years ago
Lioncash
0d7de7c2db
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.
4 years ago
Morph
baff865d7c
Merge pull request #5341 from ReinUsesLisp/anv-storage
...
vulkan_device: Remove requirement on shaderStorageImageMultisample
4 years ago
ReinUsesLisp
d9a15a935b
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.
4 years ago
ReinUsesLisp
7bd603061c
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.
4 years ago
LC
c320da3f63
Merge pull request #5340 from Morph1984/gcc-warnings
...
cmake: Enforce -Werror=switch and -Werror=unused-variable
4 years ago
ReinUsesLisp
a4bfae1b55
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.
4 years ago
Morph
2b98da2ed4
cmake: Enforce -Werror=switch and -Werror=unused-variable
4 years ago
bunnei
0fb19e9bef
Merge pull request #5280 from FearlessTobi/port-5666
...
Port citra-emu/citra#5666 : "Rotate previous log file to "citra_log.txt.old""
4 years ago
bunnei
de1a316369
Merge pull request #5311 from ReinUsesLisp/fence-wait
...
vk_fence_manager: Use timeline semaphores instead of spin waits
4 years ago
Lioncash
b15e1a3501
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.
4 years ago
Lioncash
197b5d19bc
common/tree: Remove unused splay tree defines
...
Makes for less code to take care of.
4 years ago
bunnei
99d2d77062
Merge pull request #5333 from lioncash/define
...
common/parent_of_member: Replace TYPED_STORAGE define with template alias
4 years ago
Lioncash
703c57a119
common/parent_of_member: Replace TYPED_STORAGE define with template alias
...
Provides the same construct, but makes it obey namespacing.
4 years ago
bunnei
eb3cb54aa5
Merge pull request #5266 from bunnei/kernel-synch
...
Rewrite KSynchronizationObject, KConditonVariable, and KAddressArbiter
4 years ago
bunnei
03dfc8d8e7
hle: kernel: thread: Preserve thread wait reason for debugging only.
...
- This is decoupled from core functionality and used for debugging only.
4 years ago
bunnei
81c1bfafea
yuzu: debugger: wait_tree: Handle unknown ThreadState.
4 years ago
bunnei
6b2f653143
hle: kernel: k_scheduler_lock: Fix shadowing errors.
4 years ago
bunnei
354130cd84
core: arm: arm_interface: Fix shadowing errors.
4 years ago
bunnei
82f6037ec2
core: hle: Add missing calls to MicroProfileOnThreadExit.
4 years ago