Commit Graph

14265 Commits (cd2a12e78f0f728f713de3a3994159e3077982a4)
 

Author SHA1 Message Date
FearlessTobi 8d0fb33ac4 yuzu: Fixes to game list sorting
Should fix citra-emu/citra#4593.
As the issue might not be entirely clear, I'll offer a short explanation from what I understood from it and found from experimentation.

Currently yuzu offers the user the option to change the text that's displayed in the "Name" column in the game list. Generally, it is expected that the items are sorted based on the displayed text, but yuzu would sort them by title instead.

Made it so that an access to SortRole returns the same as DisplayRole.
There shouldn't be any UI changes, only change in behaviour.

Also fixes a bug with directory sorting, where having the directories out of order would enable you to try to "move up" to the addDirectory button, which would crash the emulator.

Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
5 years ago
Fernando Sahmkow 69277de29d
Merge pull request #3592 from ReinUsesLisp/ipa
shader_decompiler: Remove FragCoord.w hack and change IPA implementation
5 years ago
Fernando Sahmkow 1633fbf99a
Merge pull request #3589 from ReinUsesLisp/fix-clears
gl_rasterizer: Mark cleared textures as dirty
5 years ago
namkazy 730f9b55b3 silent warning (conversion error) 5 years ago
namkazy 9f6ebccf06 shader_decode: SULD.D -> SINT actually same as UNORM. 5 years ago
namkazy 6f2b7087c2 shader_decode: SULD.D fix decode SNORM component 5 years ago
namkazy 69657ff19c clang-format 5 years ago
namkazy 24cc64c5b3 shader_decode: get sampler descriptor from registry. 5 years ago
FearlessTobi aa6214feb7 yuzu/configuration: Only assert that all buttons exist when we are handling the click for a button device
This fixes failed assertions that were present in yuzu master code for 18 months.
5 years ago
FearlessTobi fb8afee077 yuzu/configure_input_simple: Fix "Docked Joycons" controller profile
This was incorrectly using PlayerIndex 1 when calling the ConfigureDialog.
5 years ago
namkazy acd3f0ab37 tweaking. 5 years ago
Nguyen Dac Nam 8370188b3c clang-format 5 years ago
namkazy 3e3afa9be6 cleanup unuse params 5 years ago
namkazy 5cd5857000 cleanup debug code. 5 years ago
namkazy 658112783d reimplement get component type, uncomment mistaken code 5 years ago
namkazy 3ad06e9b2b remove disable optimize 5 years ago
namkazy f24c2e1103 [wip] reimplement SULD.D 5 years ago
namkazy 58bcb86af5 add shader stage when init shader ir 5 years ago
Nguyen Dac Nam 2cefdd92bd clang-fix 5 years ago
Nguyen Dac Nam 1f3d142875 shader: image - import PredCondition 5 years ago
Nguyen Dac Nam 08db60392d shader: SULD.D bits32 implement more complexer method. 5 years ago
Nguyen Dac Nam ed1d8beb13 shader: SULD.D import StoreType 5 years ago
Nguyen Dac Nam 6d235b8631 shader: implement SULD.D bits32 5 years ago
Zach Hilman 59e75f4372 ci: Update to Windows Server 2019 and Visual Studio 2019
This updates to the latest available toolchain for MSVC builds.
5 years ago
ReinUsesLisp 60106531b4 shader/other: Add error message for some S2R registers 5 years ago
ReinUsesLisp 8b719e9e1d shader_bytecode: Rename MOV_SYS to S2R 5 years ago
ReinUsesLisp 9d15feb892 shader_bytecode: Add encoding for BAR 5 years ago
ReinUsesLisp 16ae98dbb3 shader_ir: Add error message for EXIT.FCSM_TR 5 years ago
ReinUsesLisp c02a2dc24a shader_bytecode: Add encoding for VOTE.VTG 5 years ago
ReinUsesLisp 80c4fee4ec Revert "Merge pull request #3499 from ReinUsesLisp/depth-2d-array"
This reverts commit 41905ee467, reversing
changes made to 35145bd529.

It causes regressions in several games.
5 years ago
bunnei e6f02d5725
Merge pull request #3579 from Kewlan/reorder-shoulder
configuration: Reorder shoulder buttons
5 years ago
Fernando Sahmkow 9d8886b1a4
Merge pull request #3563 from bunnei/fix-ldr-memstate
services: ldr: Fix MemoryState for read/write regions of NROs.
5 years ago
bunnei 0d4ca5a8fc
Merge pull request #3595 from ReinUsesLisp/c4715-silence
shader/memory: Silence no return value warning
5 years ago
ReinUsesLisp e1bd89e1c2 shader/memory: Silence no return value warning
Silences a warning about control paths not all returning a value.
5 years ago
Rodrigo Locatti 825a6e2615
Merge pull request #3552 from jroweboy/single-context
Refactor Context management (Fixes renderdoc on opengl issues)
5 years ago
ReinUsesLisp 2339fe199f shader_decompiler: Remove FragCoord.w hack and change IPA implementation
Credits go to gdkchan and Ryujinx. The pull request used for this can
be found here: https://github.com/Ryujinx/Ryujinx/pull/1082

yuzu was already using the header for interpolation, but it was missing
the FragCoord.w multiplication described in the linked pull request.
This commit finally removes the FragCoord.w == 1.0f hack from the shader
decompiler.

While we are at it, this commit renames some enumerations to match
Nvidia's documentation (linked below) and fixes component declaration
order in the shader program header (z and w were swapped).

https://github.com/NVIDIA/open-gpu-doc/blob/master/Shader-Program-Header/Shader-Program-Header.html
5 years ago
ReinUsesLisp dd1232755b gl_texture_cache: Fix software ASTC fallback 5 years ago
ReinUsesLisp 2f0da10dc3 vk_device: Add missing ASTC queries 5 years ago
ReinUsesLisp b6571ca9f0 video_core: Use native ASTC when available 5 years ago
ReinUsesLisp 16270dcfe4 gl_device: Detect if ASTC is reported and expose it 5 years ago
Rodrigo Locatti baf91c920c
Merge pull request #3591 from ReinUsesLisp/vk-wrapper-part2
renderer_vulkan/wrapper: Add a Vulkan wrapper (part 2 of 2)
5 years ago
Vitor K bd0c56c6e7 common: Port some changes from dolphin (#5127)
* IOFile: Make the move constructor and move assignment operator noexcept

Certain parts of the standard library try to determine whether or not a
transfer operation should either be a copy or a move. The prevalent notion
of move constructors/assignment operators is that they should not throw,
they simply move an already existing resource somewhere else.

This is typically done with 'std::move_if_noexcept'. Like the name says,
if a type's move constructor is noexcept, then the functions retrieves an
r-value reference (for move semantics), or an l-value (for copy semantics)
if it is not noexcept.

As IOFile deletes the copy constructor and copy assignment operators,
using IOFile with certain parts of the standard library can fail in
unexcepted ways (especially when used with various container
implementations). This prevents that.

* fix various instances of -1 being assigned to unsigned types

* do not assign in conditional statements

* File/IOFile: Check _tfopen_s properly

* common/file_util.cpp: address review comments

Co-authored-by: Lioncash <mathew1800@gmail.com>
Co-authored-by: Shawn Hoffman <godisgovernment@gmail.com>
Co-authored-by: Sepalani <sepalani@hotmail.fr>
5 years ago
ReinUsesLisp f22f6b72c3 renderer_vulkan/wrapper: Add vkEnumerateInstanceExtensionProperties wrapper 5 years ago
ReinUsesLisp 27dd542c60 renderer_vulkan/wrapper: Add command buffer handle 5 years ago
ReinUsesLisp 5c90d060d8 renderer_vulkan/wrapper: Add physical device handle 5 years ago
ReinUsesLisp 0eb37de98f renderer_vulkan/wrapper: Add device handle 5 years ago
ReinUsesLisp 11774308d3 renderer_vulkan/wrapper: Add swapchain handle 5 years ago
ReinUsesLisp 7fe52ef77f renderer_vulkan/wrapper: Add fence handle 5 years ago
ReinUsesLisp 3a63ae0658 renderer_vulkan/wrapper: Add device memory handle 5 years ago
ReinUsesLisp 397f53dea1 renderer_vulkan/wrapper: Add pool handles 5 years ago