Commit Graph

6976 Commits (f2c2383c8b43772abcc29f3f86b64bd53a267d44)
 

Author SHA1 Message Date
fearlessTobi f2c2383c8b Port #3513 (partly) from Citra 7 years ago
bunnei e197476344
Merge pull request #631 from lioncash/dynarmic
externals: Update dynarmic to f7d11baa1
7 years ago
Lioncash 650c89bbbc
externals: Update dynarmic to f7d11baa1 7 years ago
bunnei bebe09a1aa
Merge pull request #630 from FearlessTobi/remove-citra-references
Remove some references to Citra
7 years ago
Zach Hilman 77c684c114 Virtual Filesystem (#597)
* Add VfsFile and VfsDirectory classes

* Finish abstract Vfs classes

* Implement RealVfsFile (computer fs backend)

* Finish RealVfsFile and RealVfsDirectory

* Finished OffsetVfsFile

* More changes

* Fix import paths

* Major refactor

* Remove double const

* Use experimental/filesystem or filesystem depending on compiler

* Port partition_filesystem

* More changes

* More Overhaul

* FSP_SRV fixes

* Fixes and testing

* Try to get filesystem to compile

* Filesystem on linux

* Remove std::filesystem and document/test

* Compile fixes

* Missing include

* Bug fixes

* Fixes

* Rename v_file and v_dir

* clang-format fix

* Rename NGLOG_* to LOG_*

* Most review changes

* Fix TODO

* Guess 'main' to be Directory by filename
7 years ago
fearlessTobi c9aadff9a9 Remove some references to Citra 7 years ago
bunnei 51bd76a5fd
Merge pull request #629 from Subv/depth_test
GPU: Allow using the old NV04 values for the depth test function.
7 years ago
Subv 9f6a5660e8 GPU: Allow using the old NV04 values for the depth test function.
These seem to be just a valid as the GL token values. Thanks @ReinUsesLisp

This restores graphical output to Disgaea 5
7 years ago
bunnei 762bf6a522
Merge pull request #626 from Subv/shader_sync
GPU: Stub the shader SYNC and DEPBAR instructions.
7 years ago
bunnei 637f9d780a
Merge pull request #624 from Subv/f2f_round
GPU: Implemented the F2F 'round' rounding mode.
7 years ago
bunnei 956b5db52e
Merge pull request #623 from Subv/vertex_types
GPU: Implement the Size_16_16 and Size_10_10_10_2 vertex attribute types
7 years ago
bunnei 8b815877a6
Merge pull request #622 from Subv/unused_tex
GPU: Ignore unused textures and corrected the TEX shader instruction decoding.
7 years ago
bunnei 1b0a74e23f
Merge pull request #621 from Subv/psetp_
GPU: Implemented the PSETP shader instruction.
7 years ago
bunnei 9a3c0b161e
Merge pull request #620 from Subv/depth_z32f
GPU: Implemented the 32 bit float depth buffer format.
7 years ago
Subv d800a02b4b GPU: Implemented the F2F 'round' rounding mode.
It's implemented via the GLSL 'roundEven()' function.
7 years ago
Subv 77cfe4f027 GPU: Stub the shader SYNC and DEPBAR instructions.
It is unknown at this moment if we actually need to do something with these instructions or if the GLSL compiler takes care of that for us.
7 years ago
Subv ce39ae3e57 GPU: Implement the Size_16_16 and Size_10_10_10_2 vertex attribute types.
Both signed and unsigned variants.
7 years ago
Subv 4bda9693be GPU: Ignore textures that the GLSL compiler deemed unused when binding textures to the shaders. 7 years ago
Subv c42b818cf9 GPU: Corrected the decoding for the TEX shader instruction. 7 years ago
Subv 53a55bd751 GPU: Implemented the PSETP shader instruction.
It's similar to the isetp and fsetp instructions but it works on predicates instead.
7 years ago
bunnei 2355460d7c
Merge pull request #619 from Subv/flip_cull
GPU: Flip the triangle front face winding if the GPU is configured to not flip the triangles.
7 years ago
Subv 016e357c75 GPU: Implemented the 32 bit float depth buffer format. 7 years ago
Subv c1bebdef5e GPU: Flip the triangle front face winding if the GPU is configured to not flip the triangles.
OpenGL's default behavior is already correct when the GPU is configured to flip the triangles.

This fixes 1-2 Switch's splash screen.
7 years ago
bunnei 81a44d38ee
Merge pull request #618 from Subv/clear_used_buffers
GPU: Only configure the used framebuffers during clear.
7 years ago
Subv 5a9df3c675 GPU: Only configure the used framebuffers during clear.
Don't try to configure the color buffer if it is not being cleared, it may not be completely valid at this point.
7 years ago
bunnei c996787d84
Merge pull request #609 from Subv/clear_buffers
GPU: Implemented the CLEAR_BUFFERS register.
7 years ago
bunnei 4030f600dc
Merge pull request #616 from bunnei/s8z24
gl_rasterizer_cache: Implement PixelFormat S8Z24.
7 years ago
Subv 78443a7f29 GPU: Factor out the framebuffer configuration code for both Clear and Draw commands. 7 years ago
Subv c1811ed3d1 GPU: Support clears that don't clear the color buffer. 7 years ago
Subv be51120d23 GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to. 7 years ago
Subv 827bb08c91 GPU: Added registers for the CLEAR_BUFFERS and CLEAR_COLOR methods. 7 years ago
bunnei c164f02c48
Merge pull request #613 from jroweboy/qt-style
Add qt windowsvistastyle dll to the build
7 years ago
bunnei 9da1552417 gl_rasterizer_cache: Implement PixelFormat S8Z24. 7 years ago
James Rowe 6ff20dc6a7 Add qt windowsvistastyle dll to the build 7 years ago
David 3dab0e284b Update AudioRenderer Voice Sections (#614)
* voice section updating

* fixed slight offset miscalculation

* fixed overflow
7 years ago
bunnei 15e68cdbaa
Merge pull request #607 from jroweboy/logging
Logging - Customizable backends
7 years ago
bunnei e3ca561ea0
Merge pull request #612 from bunnei/fix-cull
gl_rasterizer: Only set cull mode and front face if enabled.
7 years ago
bunnei ddb767f1b6
Merge pull request #611 from Subv/enabled_depth_test
GPU: Don't try to parse the depth test function if the depth test is disabled and use only the least significant 3 bits in the depth test func
7 years ago
bunnei 5410b4659d
Merge pull request #610 from Subv/mufu_8
GPU: Implemented MUFU suboperation 8, sqrt.
7 years ago
bunnei a9cacd03f6 gl_rasterizer: Only set cull mode and front face if enabled. 7 years ago
Subv 6e0eba9917 GPU: Use only the least significant 3 bits when reading the depth test func.
Some games set the full GL define value here (including nouveau), but others just seem to set those last 3 bits.
7 years ago
Subv 65c664560c GPU: Don't try to parse the depth test function if the depth test is disabled. 7 years ago
bunnei 76b475faf7 Fix build and address review feedback 7 years ago
James Rowe 6269a01b4e Add configurable logging backends 7 years ago
James Rowe 0d46f0df12 Update clang format 7 years ago
James Rowe 638956aa81 Rename logging macro back to LOG_* 7 years ago
bunnei 92c7135065
Merge pull request #608 from Subv/depth
GPU: Implemented the depth buffer and depth test + culling
7 years ago
Subv a6d4903aaf GPU: Set up the culling configuration on each draw. 7 years ago
Subv 6e4e0b2b41 GPU: Implemented MUFU suboperation 8, sqrt. 7 years ago
Sebastian Valle 055f1546d7
Merge pull request #606 from Subv/base_vertex
GPU: Fixed the index offset and implement BaseVertex when doing indexed rendering.
7 years ago