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
8 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
8 years ago
Subv
d800a02b4b
GPU: Implemented the F2F 'round' rounding mode.
It's implemented via the GLSL 'roundEven()' function.
8 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.
8 years ago
Subv
ce39ae3e57
GPU: Implement the Size_16_16 and Size_10_10_10_2 vertex attribute types.
Both signed and unsigned variants.
8 years ago
Subv
4bda9693be
GPU: Ignore textures that the GLSL compiler deemed unused when binding textures to the shaders.
8 years ago
Subv
c42b818cf9
GPU: Corrected the decoding for the TEX shader instruction.
8 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.
8 years ago
Subv
016e357c75
GPU: Implemented the 32 bit float depth buffer format.
8 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.
8 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.
8 years ago
Subv
78443a7f29
GPU: Factor out the framebuffer configuration code for both Clear and Draw commands.
8 years ago
Subv
c1811ed3d1
GPU: Support clears that don't clear the color buffer.
8 years ago
Subv
be51120d23
GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to.
8 years ago
Subv
827bb08c91
GPU: Added registers for the CLEAR_BUFFERS and CLEAR_COLOR methods.
8 years ago
bunnei
9da1552417
gl_rasterizer_cache: Implement PixelFormat S8Z24.
8 years ago
David
3dab0e284b
Update AudioRenderer Voice Sections ( #614 )
* voice section updating
* fixed slight offset miscalculation
* fixed overflow
8 years ago
bunnei
a9cacd03f6
gl_rasterizer: Only set cull mode and front face if enabled.
8 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.
8 years ago
Subv
65c664560c
GPU: Don't try to parse the depth test function if the depth test is disabled.
8 years ago
bunnei
76b475faf7
Fix build and address review feedback
8 years ago
James Rowe
6269a01b4e
Add configurable logging backends
8 years ago
James Rowe
0d46f0df12
Update clang format
8 years ago
James Rowe
638956aa81
Rename logging macro back to LOG_*
8 years ago
Subv
a6d4903aaf
GPU: Set up the culling configuration on each draw.
8 years ago
Subv
6e4e0b2b41
GPU: Implemented MUFU suboperation 8, sqrt.
8 years ago
Subv
18c8ae7750
GPU: Set up the depth test state on every draw.
8 years ago
Subv
d480b63e0d
MaxwellToGL: Added conversion functions for depth test and cull mode.
8 years ago
Subv
c1f55c32c8
GPU: Added registers for depth test and cull mode.
8 years ago
Subv
0f929762b3
GPU: Implemented the Z24S8 depth format and load the depth framebuffer.
8 years ago
Subv
4c59105adf
GPU: Implement offsetted rendering when using non-indexed drawing.
8 years ago
Subv
fca3d1cc65
GPU: Fixed the index offset rendering, and implemented the base vertex functionality.
This fixes Stardew Valley.
8 years ago
Subv
cc73bad293
GPU: Added register definitions for the vertex buffer base element.
8 years ago
Subv
ca633a5a3c
GPU: Directly copy the pixels when performing a same-layout DMA.
8 years ago
Subv
80c5e8ae99
GPU: Ignore disabled textures and textures with an invalid address.
8 years ago
Subv
e9d147349b
GPU: Allow GpuToCpuAddress to return boost::none for unmapped addresses.
8 years ago
Subv
6c0c81dfdc
GPU: Remove a surface from the cache when its backing memory is being unmapped from the GPU's MMU.
8 years ago
Subv
a093feca62
nvmap: Return the address of the nvmap object when Freeing it for the last time.
This behavior is confirmed by reverse engineering.
8 years ago
Subv
f33e406ff2
GPU: Corrected the size of the MUFU subop field, and removed incorrect "min" operation.
8 years ago
Subv
c0e2d52758
GPU: Implemented the RGBA32_UINT rendertarget format.
8 years ago
Subv
b11072d54a
GLCache: Specify the component type along the texture type in the format tuple.
8 years ago
bunnei
c96da97630
gl_shader_decompiler: Implement predicate NotEqualWithNan.
8 years ago
bunnei
c18425ef98
gl_rasterizer_cache: Only dereference color_surface/depth_surface if valid.
8 years ago
bunnei
7fa9177830
gl_shader_decompiler: Add a return path for unknown instructions.
8 years ago
bunnei
1dd754590f
gl_rasterizer_cache: Implement caching for texture and framebuffer surfaces.
gl_rasterizer_cache: Improved cache management based on Citra's implementation.
gl_surface_cache: Add some docstrings.
8 years ago
bunnei
8af1ae46aa
gl_rasterizer_cache: Various fixes for ASTC handling.
8 years ago
bunnei
c7c379bd19
gl_rasterizer_cache: Use SurfaceParams as a key for surface caching.
8 years ago
bunnei
6a28a66832
maxwell_3d: Add a struct for RenderTargetConfig.
8 years ago
bunnei
1bbbd26563
settings: Add a configuration for use_accurate_framebuffers.
8 years ago
bunnei
3f9f047375
gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers.
8 years ago