Commit Graph

14265 Commits (cd2a12e78f0f728f713de3a3994159e3077982a4)
 

Author SHA1 Message Date
ReinUsesLisp a87b16da9a shader/texture: Remove type mismatches management from shader decoder
Since commit e22816a5bb we handle type mismatches from the CPU.
We don't need to hack our shader decoder due to game bugs anymore.

Removed in this commit.
5 years ago
Fernando Sahmkow f570b129a2
Merge pull request #3623 from ReinUsesLisp/renderdoc-bind-spam
qt/bootmanager: Remove unnecessary glBindFramebuffer
5 years ago
Fernando Sahmkow 7182ef31c9
Merge pull request #3622 from ReinUsesLisp/srgb-texture-border
video_core/texture: Use a LUT to convert sRGB texture borders
5 years ago
ReinUsesLisp 6bf5d2b011 astc: Hard code bit depth changes to 8 and use fast replicate 5 years ago
Rodrigo Locatti 36f607217f
Merge pull request #3610 from FernandoS27/gpu-caches
Refactor all the GPU Caches to use VAddr for cache addressing
5 years ago
ReinUsesLisp bd2c1ab8a0 astc: Use boost's static_vector to avoid heap allocations 5 years ago
ReinUsesLisp 5de130beea astc: Implement a fast precompiled alternative for Replicate 5 years ago
ReinUsesLisp 6b4d4473be astc: Move Replicate to a constexpr LUT when possible 5 years ago
ReinUsesLisp d22a689250 astc: Make InputBitStream constexpr 5 years ago
ReinUsesLisp 0efc230381 astc: OutputBitStream style changes and make it constexpr 5 years ago
bunnei b96fd0bd0e
Merge pull request #3601 from ReinUsesLisp/some-shader-encodings
video_core/shader: Add some instruction and S2R encodings
5 years ago
ReinUsesLisp 6c8f9f40d7 gl_texture_cache: Attach view instead of base texture for layered attachments
This way we are not ignoring the base layer of the current texture.
5 years ago
Fernando Sahmkow 7cd6daf115 VkRasterizer: Eliminate Legacy code. 5 years ago
Fernando Sahmkow 1c18dc6577 Memory: Correct GCC errors. 5 years ago
Fernando Sahmkow 913f42a3a7 Memory: Address Feedback. 5 years ago
Fernando Sahmkow e00d992848 GPUMemoryManager: Improve safety of memory reads. 5 years ago
bunnei 449255675d
Merge pull request #3624 from Kewlan/fix-sl-sr-position
configuration: Fix placement of SL and SR
5 years ago
Kewlan 848d619aec Place SL and SR in the right most column. 5 years ago
bunnei b128beb3a9
Merge pull request #3572 from FearlessTobi/port-5127
Port citra-emu/citra#5127: "common: Port some changes from dolphin"
5 years ago
ReinUsesLisp c6ea0d010b qt/bootmanager: Remove unnecessary glBindFramebuffer
Presentation context always has GL_DRAW_FRAMEBUFFER_BINDING as zero.
There is no need to bind the default framebuffer constantly.

According to Nsight this was using ~0.7ms per frame and it broke
renderdoc captures.
5 years ago
ReinUsesLisp a209d464f9 video_core/textures: Move GetMaxAnisotropy to cpp file 5 years ago
ReinUsesLisp d7db088180 video_core/texture: Use a LUT to convert sRGB texture borders
This is a reversed look up table extracted from
https://gist.github.com/rygorous/2203834#file-gistfile1-cpp-L41-L62

that is used in
04d4e9e587/source/maxwell/tsc_generate.cpp (L38)

Games usually bind 0xFD expecting a float texture border of 1.0f.
The conversion previous to this commit was multiplying the uint8 sRGB
texture border color by 255. This is close to 1.0f but when that
difference matters, some graphical glitches appear.

This look up table is manually changed in the edges, clamping towards
0.0f and 1.0f.

While we are at it, move this logic to its own translation unit.
5 years ago
Zach Hilman 26ed65495d
Merge pull request #3621 from SilverBeamx/fullnamefix
Log version and about section version fix
5 years ago
SilverBeamx 863f7385dc Addressed feedback: switched to snake case and fixed clang-format errors 5 years ago
bunnei f316911248
Merge pull request #3599 from ReinUsesLisp/revert-3499
Revert "Merge pull request #3499 from ReinUsesLisp/depth-2d-array"
5 years ago
SilverBeamx 5a66ca4697 Removed leftover test code 5 years ago
SilverBeamx 6b512d78c9 Addressed feedback: removed CMake hack in favor of building the necessary strings via the supplied title format 5 years ago
ReinUsesLisp bf1d66b7c0 yuzu: Drop SDL2 and Qt frontend Vulkan requirements
Create Vulkan instances and surfaces from the Vulkan backend.
5 years ago
Rodrigo Locatti 487f9ba525
Merge pull request #3489 from namkazt/patch-2
shader: implement SULD.D bits32/64
5 years ago
SilverBeamx 22b5d5211e Hack BUILD_FULLNAME into GenerateSCMRev.cmake 5 years ago
Nguyen Dac Nam 935648ffa9
address nit. 5 years ago
ReinUsesLisp bc1b4b85b0 renderer_vulkan: Query device names from the backend 5 years ago
ReinUsesLisp 7104e01bb3 common/dynamic_library: Import and adapt helper from Dolphin 5 years ago
ReinUsesLisp da706cad25 shader/conversion: Implement I2I sign extension, saturation and selection
Reimplements I2I adding sign extension, saturation (clamp source value
to the destination), selection and destination sizes that are not 32
bits wide.

It doesn't implement CC yet.
5 years ago
Nguyen Dac Nam bf1174c114
Apply suggestions from code review
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
5 years ago
enler 27f122c48c
file_sys: fix LayeredFS error when loading some games made with… (#3602)
* fix LayeredFS error when loading some games made with the Unity
5 years ago
Fernando Sahmkow f9d5718c4b Clang Format. 5 years ago
Fernando Sahmkow ea535d9470 Shader/Pipeline Cache: Use VAddr instead of physical memory for addressing. 5 years ago
Fernando Sahmkow 3dd5c07454 Query Cache: Use VAddr instead of physical memory for adressing. 5 years ago
Fernando Sahmkow 7fcd0fee6d Buffer Cache: Use vAddr instead of physical memory. 5 years ago
Fernando Sahmkow 6ee316cb8f Texture Cache: Use vAddr instead of physical memory for caching. 5 years ago
Fernando Sahmkow 9c0f40a1f5 GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddr 5 years ago
Fernando Sahmkow 588a20be3f
Merge pull request #3513 from ReinUsesLisp/native-astc
video_core: Use native ASTC when available
5 years ago
namkazy 2c98e14d13 shader_decode: SULD.D using std::pair instead of out parameter 5 years ago
namkazy 9efa51311f shader_decode: SULD.D avoid duplicate code block. 5 years ago
namkazy 7f5696513f shader_decode: SULD.D fix conversion error. 5 years ago
namkazy 2906372ba1 shader_decode: SULD.D implement bits64 and reverse shader ir init method to removed shader stage. 5 years ago
ReinUsesLisp 3185245845 shader/memory: Implement RED.E.ADD
Implements a reduction operation. It's an atomic operation that doesn't
return a value.

This commit introduces another primitive because some shading languages
might have a primitive for reduction operations.
5 years ago
ReinUsesLisp fd0a2b5151 shader/memory: Add "using std::move" 5 years ago
ReinUsesLisp 79970c9174 shader/memory: Minor fixes in ATOM 5 years ago