Commit Graph

398 Commits (444b25bae125bf318f08774aa1c335dedd502e6a)

Author SHA1 Message Date
liamwhite 020dbcdbc7
Merge pull request #9552 from liamwhite/turbo
vulkan: implement 'turbo mode' clock booster
2 years ago
Wollnashorn 67d4f190f7 yuzu-cmd: Removed `use_vulkan_driver_pipeline_cache` from default_ini.h
The addition of the use_vulkan_driver_pipeline_cache option into the default ini string literal caused the 16,384-byte limit of the MSVC compiler to be exceeded.
2 years ago
Wollnashorn 16809c1fa7 video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelines
As an optional feature which can be enabled in the advanced graphics configuration, all pipelines that get built at the initial shader loading are stored in a VkPipelineCache object and are dumped to the disk.

These vendor specific pipeline cache files are located at `/shader/GAME_ID/vulkan_pipelines.bin`. This feature was mainly added because of an issue with the AMD driver (see yuzu-emu#8507) causing invalidation of the cache files the driver builds automatically.
2 years ago
Liam a4269c285a common: add setting for renderer clock workaround 2 years ago
liamwhite b78328f19a
Merge pull request #9501 from FernandoS27/yfc-rel-2
Yuzu Fried Chicken Part 1.5: MacroHLE Rework and Dynamic State
2 years ago
Fernando Sahmkow 3ecc03ec1b yuzu-ui: Add setting for disabling macro HLE 2 years ago
Alexandre Bouvier eceee8c3d9 cmake: move find-modules to root cmake dir 2 years ago
Chris Oboe 201733d1b5
Disable automatically opening the console on windows yuzu-cmd builds (#9485)
* don't automatically open the console on windows build of yuzu-cmd

* fix formatting
2 years ago
Alexander Orzechowski 09e3029c11 gl_device: Use a more robust way to use strict context mode
Instead of checking a environment variable which may not actually
exist or is just wrong, ask QT if it's running on the wayland
platform.
2 years ago
Alexander Orzechowski 5754456292 emu_window_sdl2: Respect hidpi
Use SDL_GL_GetDrawableSize instead of SDL_GetWindowSize which
will return the true size our swapchain needs to be in even
for hidpi displays.
2 years ago
merry e1f5f4bdea
Merge pull request #9370 from liamwhite/break-unmapped
core: add option to break on unmapped access
2 years ago
Alexandre Bouvier e6ae720c33 cmake: use sdl2 imported target 2 years ago
liamwhite 3b19f741bd
Merge pull request #6833 from abouvier/unbundle
cmake: prefer system libraries
2 years ago
Alexandre Bouvier 8e17b5469f cmake: prefer system libraries 2 years ago
Liam 0cbfdf7ecb yuzu-cmd: link SDL2 correctly 2 years ago
liamwhite 02b10a6e4d
Merge pull request #9374 from liamwhite/externals
externals: update dynarmic, SDL2
2 years ago
Liam 6d2c597371 externals: update dynarmic, SDL2 2 years ago
bunnei f77cc6c412
Merge pull request #9344 from liamwhite/null
video_core: add null backend
2 years ago
liamwhite 75e16547f8
Merge pull request #9300 from ameerj/pch
CMake: Use precompiled headers to improve compile times
2 years ago
Matías Locatti c043ba8467
Merge pull request #9303 from liamwhite/new-vulkan-init
Vulkan: update initialization
2 years ago
Liam 6072b22a0b core: add option to break on unmapped access 2 years ago
ameerj 5b5612c1cc CMake: Consolidate common PCH headers 2 years ago
ameerj 37bc5118ea CMake: Use precompiled headers 2 years ago
Liam 89dd7dc180 video_core: add null backend 2 years ago
liamwhite 6291eec700
Merge pull request #9325 from german77/default_by_default
yuzu-cmd: Fix default config value
2 years ago
german77 aaada241dc yuzu-cmd: Fix default config value 2 years ago
liamwhite a2fde04da9
Merge pull request #9317 from german77/input-crash
yuzu-cmd: Fix input callback crash on close
2 years ago
Liam 2956a33463 Vulkan: update initialization
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
2 years ago
liamwhite 71f2b4ba8f
Merge pull request #9323 from german77/intructions
yuzu-cmd: Update configuration file description
2 years ago
german77 a67e776af9 yuzu-cmd: Fix input callback crash on close 2 years ago
german77 4a46da6fb5 yuzu-cmd: Update configuration file description 2 years ago
Matías Locatti f209e976f4 FSR Sharpening Slider part 1 - only a global slider 2 years ago
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
2 years ago
bunnei a4d11f4427 core: Partially persist emulation state across game boots. 2 years ago
Liam db3eb168cd video_core: add option for pessimistic flushing 3 years ago
FearlessTobi f80c7c4cd5 core, network: Add ability to proxy socket packets 3 years ago
Andrea Pappacoda cdb240f3d4
chore: make yuzu REUSE compliant
[REUSE] is a specification that aims at making file copyright
information consistent, so that it can be both human and machine
readable. It basically requires that all files have a header containing
copyright and licensing information. When this isn't possible, like
when dealing with binary assets, generated files or embedded third-party
dependencies, it is permitted to insert copyright information in the
`.reuse/dep5` file.

Oh, and it also requires that all the licenses used in the project are
present in the `LICENSES` folder, that's why the diff is so huge.
This can be done automatically with `reuse download --all`.

The `reuse` tool also contains a handy subcommand that analyzes the
project and tells whether or not the project is (still) compliant,
`reuse lint`.

Following REUSE has a few advantages over the current approach:

- Copyright information is easy to access for users / downstream
- Files like `dist/license.md` do not need to exist anymore, as
  `.reuse/dep5` is used instead
- `reuse lint` makes it easy to ensure that copyright information of
  files like binary assets / images is always accurate and up to date

To add copyright information of files that didn't have it I looked up
who committed what and when, for each file. As yuzu contributors do not
have to sign a CLA or similar I couldn't assume that copyright ownership
was of the "yuzu Emulator Project", so I used the name and/or email of
the commit author instead.

[REUSE]: https://reuse.software

Follow-up to 01cf05bc75
3 years ago
FearlessTobi 6b5667dfa5 yuzu_cmd: Fix compilation 3 years ago
FearlessTobi 705f7db84d yuzu: Add ui files for multiplayer rooms 3 years ago
Kelebek1 458da8a948 Project Andio 3 years ago
bunnei 02282477e7 yuzu: settings: Remove framerate cap and merge unlocked framerate setting.
- These were all somewhat redundant.
3 years ago
merry 99fbdaf75b common/setting: Make ranged a property of the type
- Avoids new GCC 12 warnings when Type is of form std::optional<T>
- Makes more sense this way, because ranged is not a property which would change over time
3 years ago
lat9nq ca36722a54 settings: Consolidate RangedSetting's with regular ones
The latest git version of GCC has issues with my diamond inheritance
shenanigans. Since that's now two compilers that don't like it I thought
it'd be best to just axe all of it and just have the two templates like
before.

This rolls the features of BasicRangedSetting into BasicSetting, and
likewise RangedSetting into Setting. It also renames them from
BasicSetting and Setting to Setting and SwitchableSetting respectively.
Now longer name corresponds to more complex thing.
3 years ago
Liam a6371fb69d core: fix initialization in single core, sync GPU mode 3 years ago
Nikita Strygin 9e384ed54b Make yuzu-cmd respect log_filter setting
Because logging infrastructure initializes before the loading of the
config, it reads the default setting for log_filter and ignores the one
set in config. To change log_filter after logging initialization some
additional calls need to be made.
3 years ago
Morph 69d92a19a5 yuzu_cmd: Eliminate variable shadowing 3 years ago
Morph a0407a8e64
Merge pull request #8446 from liamwhite/cmd-gdb
core/debugger: support operation in yuzu-cmd
3 years ago
Liam c3cc65a11e yuzu-cmd: ignore bogus timeous from SDL 3 years ago
Liam 1f0fee33ed core/debugger: fix a number of shutdown deadlocks 3 years ago
Liam de6c0defb3 core/debugger: support operation in yuzu-cmd 3 years ago