Commit Graph

6638 Commits (aee356bd107cb01f49595ebb177df586c505881b)
 

Author SHA1 Message Date
Subv fe84842137 ShaderGen: Implemented the fmul32i shader instruction. 8 years ago
Subv 5367935d35 ShaderGen: Fixed a case where the TEXS instruction would use the same registers for the input and the output.
It will now save the coords before writing the outputs in a subscope.
8 years ago
N00byKing 8a47e7e493 Implement Pull #3528 from citra: use nvidia graphics automatically on laptops with optimus (with AMD support) (#271)
* Port 3528: use nvidia graphics automatically on laptops with optimus

* Force dedicated AMD Card for switchable Graphics

* Ran clang-format
8 years ago
James Rowe e90a12f80c
Merge pull request #352 from bunnei/fix-microprofile
nvflinger: Call MicroProfileFlip on NVFlinger::Compose.
8 years ago
bunnei d019bb16f6
Merge pull request #353 from Subv/compressed_formats
GPU: Add support for the DXT23 and DXT45 compressed texture formats.
8 years ago
Subv 057170928c GPU: Add support for the DXT23 and DXT45 compressed texture formats. 8 years ago
bunnei de18592179 nvflinger: Call MicroProfileFlip on NVFlinger::Compose. 8 years ago
bunnei 60e6e8953e
Merge pull request #351 from Subv/tex_formats
GPU: Implemented the B5G6R5 format.
8 years ago
Subv 2985056340 GPU: Implemented the B5G6R5 format. 8 years ago
bunnei ce4f159b1c
gl_shader_gen: Support vertical/horizontal viewport flipping. (#347)
* gl_shader_gen: Support vertical/horizontal viewport flipping.

* fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
8 years ago
bunnei 6a999cf800
Merge pull request #350 from Subv/tex_components
GPU: Fixed the incorrect component order in ABGR8 textures.
8 years ago
Subv 43d98ca8fe GLCache: Added boilerplate code to make supporting configurable texture component types.
For now only the UNORM type is supported.
8 years ago
Subv 5b3fab6766 GLCache: Unify texture and framebuffer formats when converting to OpenGL. 8 years ago
Subv b2c1672e10 GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8. 8 years ago
bunnei d3f9ea90e7
Merge pull request #349 from Subv/texturing
GPU: Support non-tiled textures and configurable block height.
8 years ago
Subv 48d4efbd69 GPU: Pitch textures are now supported, don't assert when encountering them. 8 years ago
Subv a3e82e8e1f GLCache: Take into account the texture's block height when caching and unswizzling. 8 years ago
Subv ac09b5a2e9 GLCache: Added a function to convert cached PixelFormats back to texture formats.
TODO: The way we handle cached formats must change, framebuffer and texture formats are too different to keep them in the same place.
8 years ago
Subv 6b63aaa5b4 GPU: Allow using a configurable block height when unswizzling textures. 8 years ago
Subv db5f2bfa7e GPU/TIC: Added the pitch and block height fields to the TIC structure. 8 years ago
jlachniet f600f6eebd
Technically, yuzu can boot commercial games
Clarifies the yuzu cannot play commercial games to any reasonable extent, rather than not at all.
8 years ago
bunnei c93ea96366
Merge pull request #346 from bunnei/misc-gpu-improvements
Misc gpu improvements
8 years ago
bunnei 71b4a3b9f6
Merge pull request #344 from bunnei/shader-decompiler-p2
Shader decompiler changes part 2
8 years ago
bunnei 9dc0d13ba5
Merge pull request #345 from bunnei/blending
renderer_opengl: Implement BlendEquation and BlendFunc.
8 years ago
bunnei 7222d9a4c3 gl_rasterizer_cache: Add missing LOG statements. 8 years ago
bunnei 9df8e924fb texture: Add missing formats. 8 years ago
bunnei 3ed8a1cac7 gpu: Add several framebuffer formats to RenderTargetFormat. 8 years ago
bunnei 4a8eb6745e maxwell3d: Allow Texture2DNoMipmap as Texture2D. 8 years ago
bunnei 531c25386e shader_bytecode: Make ctor's constexpr and explicit. 8 years ago
bunnei 174cba5c58 renderer_opengl: Implement BlendEquation and BlendFunc. 8 years ago
bunnei e59126809c bit_field: Remove is_pod check, add is_trivially_copyable_v. 8 years ago
bunnei 1f6fe062ca gl_shader_decompiler: Fix warnings with MarkAsUsed. 8 years ago
bunnei ed542a7309 gl_shader_decompiler: Cleanup logging, updating to NGLOG_*. 8 years ago
bunnei ef2d5ab0c1 gl_shader_decompiler: Implement several MUFU subops and abs_d. 8 years ago
bunnei 59f4ff4659 gl_shader_decompiler: Fix swizzle in GetRegister. 8 years ago
bunnei 5a28dce9eb gl_shader_decompiler: Implement FMUL/FADD/FFMA immediate instructions. 8 years ago
bunnei 8d4899d6ea gl_shader_decompiler: Allow vertex position to be used in fragment shader. 8 years ago
bunnei 95144cc39c gl_shader_decompiler: Implement IPA instruction. 8 years ago
bunnei 8b4443c966 gl_shader_decompiler: Add support for TEXS instruction. 8 years ago
bunnei 5ba71369ac gl_shader_decompiler: Use fragment output color for GPR 0-3. 8 years ago
bunnei 5d529698c9 gl_shader_decompiler: Partially implement MUFU. 8 years ago
bunnei 5b9bcbf438
Merge pull request #341 from shinyquagsire23/pfs-hfs-impl
file_sys: Add HFS/PFS helper component
8 years ago
mailwl 5922f2c46d Service/VI: stub SetLayerVisibility, fix GetDisplayResolution output
both SetLayerVisibility() functions used in Lego games, GetDisplayResolution()
fixed according switchbrew.org
8 years ago
bunnei 2b082e2710
Merge pull request #343 from Subv/tex_wrap_4
GPU: Implement some wrap modes
8 years ago
shinyquagsire23 de580ccdd5 file_sys: Use NGLOG 8 years ago
Hexagon12 e52a87b98a Various service name fixes - part 2 (rebased) (#322)
* Updated ACC with more service names

* Updated SVC with more service names

* Updated set with more service names

* Updated sockets with more service names

* Updated SPL with more service names

* Updated time with more service names

* Updated vi with more service names
8 years ago
bunnei 0905dc1ff4
Merge pull request #342 from bunnei/indexed-verts
Implement indexed mode rendering
8 years ago
Subv 636ad34707 MaxwellToGL: Implemented tex wrap mode 1 (Wrap, GL_REPEAT). 8 years ago
Subv 7fc516cc1a MaxwellToGL: Added a TODO and partial implementation of maxwell wrap mode 4 (Clamp, GL_CLAMP).
This clamp mode was removed from OpenGL as of 3.1, we can emulate it by using GL_CLAMP_TO_BORDER to get the border color of the texture, and then manually sampling the edge to mix them in the fragment shader.
8 years ago
bunnei 77bdc49343 gl_rendering: Use NGLOG* for changed code. 8 years ago