Matías Locatti
26211ac339
Replace GLSL as the default OpenGL shader backend
...
GLASM is not very compatible with the latest games, and too many people have the special superpower to break their Vulkan support.
2022-11-26 17:27:04 -03:00
bunnei
1fb33bd1e1
Merge pull request #9234 from liamwhite/data-cash-money
...
kernel: implement data cache management operations
2022-11-18 13:18:36 -08:00
Morph
e5a446a0df
Merge pull request #9229 from Docteh/achy_breaky_heart
...
Add break for default cases
2022-11-17 19:20:18 -05:00
Kyle Kienapfel
6fa3faec65
Add break for default cases
...
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
2022-11-13 16:30:55 -08:00
Liam
70ea1c2000
common: add cache management functions
2022-11-12 11:26:56 -05:00
Matías Locatti
69768ec71e
Add CPU core count to log files
2022-11-11 23:50:48 -03:00
bunnei
d05b183f21
Merge pull request #9198 from liamwhite/arm64
...
Initial ARM64 support
2022-11-10 17:11:27 -08:00
Liam
cbaf642ffe
Initial ARM64 support
2022-11-09 16:58:49 -05:00
Enrico Mancuso
d581a4a367
Add break statement in default cases
...
According to the contributing page (https://github.com/yuzu-emu/yuzu/wiki/Contributing ) the default cases should have a break statement
default:
// Yes, even break for the last case
break;
2022-11-09 15:34:26 +01:00
Morph
8b4d5aeb4f
concepts: Use the std::contiguous_iterator concept
...
This also covers std::span, which does not have a const iterator.
Also renames IsSTLContainer to IsContiguousContainer to explicitly convey its semantics.
2022-10-26 00:41:54 -04:00
liamwhite
77803d96be
Merge pull request #9107 from german77/gidoly_rules
...
input_common: cache vibration tests
2022-10-25 12:13:18 -04:00
Morph
3822e31323
CMakeLists: Disable C4100 and C4324
...
Disabling C4100 is similar to -Wno-unused-parameter
2022-10-22 15:02:04 -04:00
Morph
cae108404a
CMakeLists: Remove redundant warnings
...
These warnings are already included in /W3.
2022-10-22 15:02:04 -04:00
Morph
f3c40f4a20
CMakeLists: Treat MSVC warnings as errors
2022-10-22 15:02:04 -04:00
Morph
e6ab1f673b
general: Enforce C4800 everywhere except in video_core
2022-10-22 15:02:04 -04:00
Morph
93297d14d8
CMakeLists: Remove all redundant warnings
...
These are already explicitly or implicitly set in src/CMakeLists.txt
2022-10-22 15:02:04 -04:00
german77
7f66050f0c
input_common: cache vibration tests
2022-10-21 00:24:08 -05:00
Lioncash
6e1c6297a3
fixed_point: Mark default constructor as constexpr
...
Ensures that a fixed-point value is always initialized
This likely also fixes several cases of uninitialized values being
operated on, since we have multiple areas in the codebase where the
default constructor is being used like:
Common::FixedPoint<50, 14> current_sample{};
and is then followed up with an arithmetic operation like += or
something else, which operates directly on FixedPoint's internal data
member, which would previously be uninitialized.
2022-10-18 16:06:50 -04:00
Lioncash
b6119a55f9
fixed_point: Mark copy/move assignment operators and constructors as constexpr
...
Given these are just moving a raw value around, these can sensibly be
made constexpr to make the interface more useful.
2022-10-18 16:06:50 -04:00
Lioncash
0cfd90004b
fixed_point: Mark std::swap and move constructor as noexcept
...
These shouldn't throw and can influence how some standard algorithms
will work.
2022-10-18 16:06:50 -04:00
Lioncash
2cc9d94060
fixed_point: Mark relevant member function [[nodiscard]]
...
Marks member functions as discard, where ignoring the return value would
be indicative of a bug or dead code.
2022-10-18 16:06:50 -04:00
Lioncash
0101ef9fb1
fixed_point: Make to_uint() non-const
...
This calls round_up(), which is a non-const member function, so if a
fixed-point instantiation ever calls to_uint(), it'll result in a
compiler error.
This allows the member function to work.
While we're at it, we can actually mark to_long_floor() as const, since
it's not modifying any member state.
2022-10-18 16:06:50 -04:00
Lioncash
9393f90ccf
fixed_point: Use defaulted comparisons
...
Collapses all of the comparison functions down to a single line.
2022-10-18 16:06:50 -04:00
Lioncash
5000d814af
fixed_point: Use variable templates and concepts where applicable
...
Makes a few things a little less noisy and removes the need for SFINAE
in quite a few functions.
2022-10-18 16:06:46 -04:00
bunnei
8649c46c74
Merge pull request #9054 from Docteh/just_lz4
...
CMake: Try add_library "lz4" if "lz4::lz4" is unavailable
2022-10-17 22:51:26 -07:00
Morph
88ccdaf10a
fixed_point: Replace CONSTEXPR14 with constexpr
...
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
2022-10-17 03:16:54 -04:00
Morph
bffbaddb79
general: Add missing pragma once
2022-10-17 03:14:31 -04:00
Kyle Kienapfel
40af1111c2
CMake: Try add library "LZ4::lz4_shared" if "lz4::lz4" is unavailable
...
Right now this looks like a distro specific problem, but we'll have to see.
Over on Gentoo: with lz4 1.9.3 there is a lz4::lz4 library target, with 1.9.4 it's no longer
mentioned in the cmake files provided by the package. (/usr/lib64/cmake/lz4)
arch and openSUSE have lz4 1.9.4 available so I checked there,
they only have .pc files for pkg-config, so asking for "lz4::lz4" works as usual
MSVC does require "lz4::lz4" to be asked for
2022-10-13 17:23:47 -07:00
Morph
e2164f3417
settings: Update aspect_ratio range
...
Since 16:10 was added, the maximum value is now 4.
2022-10-13 12:24:04 -04:00
german77
224a19758e
input_common: have an unique vector in callback status
2022-10-09 12:49:18 -05:00
Fernando Sahmkow
ca3db0d7c9
General: address feedback
2022-10-06 21:00:54 +02:00
Liam
c80ed6d81f
general: rework usages of UNREACHABLE macro
2022-10-06 21:00:54 +02:00
Morph
11e1cbbdbd
address_space: Rename va_start to virt_start
...
Avoids conflicting with the va_start macro
2022-10-06 21:00:54 +02:00
Morph
fa342cae22
address_space: Address feedback
2022-10-06 21:00:54 +02:00
Morph
fedd983f96
general: Format licenses as per SPDX guidelines
2022-10-06 21:00:54 +02:00
Fernando Sahmkow
fe24c65153
General: Fix clang format.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
1a9b71b1c6
Common: Fix variable shadowing.
2022-10-06 21:00:53 +02:00
Liam White
afab6c143c
General: Fix compilation for GCC
2022-10-06 21:00:53 +02:00
bunnei
f5fd6b5c86
DMA & InlineToMemory Engines Rework.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
4d60410dd9
MemoryManager: initial multi paging system implementation.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
e462191482
Refactor VideoCore to use AS sepparate from Channel.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
feb49c822d
NVDRV: Remake ASGPU
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
cbaf3fb433
VideoCore: Update MemoryManager
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
b617874724
Common: implement MultiLevelPageTable.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
3cbe352c18
NVDRV: Refactor and add new NvMap.
2022-10-06 21:00:51 +02:00
Liam
35d3e7db2a
common: remove "yuzu:" prefix from thread names
2022-10-03 18:43:56 -04:00
german77
3ce0ef04dd
service: nfp: address comments
2022-10-02 12:32:26 -05:00
german77
e8d71712e7
input_common: Create virtual amiibo driver
2022-10-02 12:32:26 -05:00
bunnei
465c46387d
Merge pull request #8920 from abouvier/cmake-git
...
cmake: fix git detection
2022-09-24 23:11:45 -07:00
lat9nq
89af4bfba8
yuzu qt: Add option to disable startup Vulkan check
...
The startup check apparently confuses other programs when yuzu launches
2 processes and then quickly closes one of them. Though this isn't
really our issues it's also not a big deal for me to add an option to
work around that issue.
2022-09-19 14:46:12 -04:00