Commit Graph

14291 Commits (dcbb39cdae47d2bb2cd51635f00ce3af49abcd85)
 

Author SHA1 Message Date
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
ReinUsesLisp affee77b70 renderer_vulkan/wrapper: Add buffer and image handles 5 years ago
ReinUsesLisp d85ca0ab33 renderer_vulkan/wrapper: Add queue handle 5 years ago
ReinUsesLisp 151ddcf419 renderer_vulkan/wrapper: Add instance handle 5 years ago
Morph 224a75d839
capsrv: Split Capture services into individual files and stub GetAlbumContentsFileListForApplication (#3571)
* Organize capture services into individual files

* Stub GetAlbumContentsFileListForApplication

* Address feedback
5 years ago
Fernando Sahmkow b03c0536ce
Merge pull request #3561 from ReinUsesLisp/f2f-conversion
shader/conversion: Fix F2F rounding operations with different sizes
5 years ago
Fernando Sahmkow 5b95a01463
Merge pull request #3577 from ReinUsesLisp/lea
shader/lea: Fix LEA implementation
5 years ago
ReinUsesLisp 1c5e2b60a7 gl_rasterizer: Mark cleared textures as dirty
Fixes a potential edge case where cleared textures read from the CPU
were not flushed.
5 years ago
Rodrigo Locatti c19425ed69
Merge pull request #3506 from namkazt/patch-9
shader_decode: Implement partial ATOM/ATOMS instr
5 years ago
Nguyen Dac Nam 238c35b2c9
clang-format 5 years ago
Nguyen Dac Nam defb9642da
shader_decode: fix by suggestion 5 years ago
Rodrigo Locatti 69728e8ad5
Merge pull request #3566 from ReinUsesLisp/vk-wrapper-part1
renderer_vulkan/wrapper: Add a Vulkan wrapper (part 1 of 2)
5 years ago
bunnei 4c72190a06
Merge pull request #3560 from ReinUsesLisp/fix-stencil
gl_rasterizer: Synchronize stencil testing on clears
5 years ago
James Rowe f1da3ec584 Frontend: Don't call DoneCurrent if the context isnt already current 5 years ago
namkazy cb0a4151f8 clang-format 5 years ago
namkazy c2665ec9c2 gl_decompiler: min/max op not implement yet 5 years ago
namkazy 4f7bea403a shader_decode: ATOM/ATOMS: add function to avoid code repetition 5 years ago
namkazy c8f6d9effd shader_decode: merge GlobalAtomicOp to AtomicOp 5 years ago
Nguyen Dac Nam 972485ff18 shader_decode: implement ATOM operation for S32 and U32 5 years ago
namkazy 93cac0d294 clang-format 5 years ago
Nguyen Dac Nam 3dc09a6250 shader_decode: implement ATOMS instr partial. 5 years ago
Nguyen Dac Nam a2cc80b605 vk_decompiler: add atomic op and handler function. 5 years ago
Nguyen Dac Nam 552f0ff267 gl_decompiler: add atomic op 5 years ago
Nguyen Dac Nam 2c780db5b9 shader: node - update correct comment 5 years ago
Nguyen Dac Nam c119473c40 shader_decode: add Atomic op for common usage 5 years ago