Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-06-08 | texture_cache: Implement rendering to 3D textures | ReinUsesLisp | 1 | -4/+9 | |
This allows rendering to 3D textures with more than one slice. Applications are allowed to render to more than one slice of a texture using gl_Layer from a VTG shader. This also requires reworking how 3D texture collisions are handled, for now, this commit allows rendering to slices but not to miplevels. When a render target attempts to write to a mipmap, we fallback to the previous implementation (copying or flushing as needed). - Fixes color correction 3D textures on UE4 games (rainbow effects). - Allows Xenoblade games to render to 3D textures directly. | |||||
2020-04-22 | Texture Cache: Implement OnCPUWrite and SyncGuestHost | Fernando Sahmkow | 1 | -0/+18 | |
2020-04-16 | surface_base: Make IsInside() a const member function | Lioncash | 1 | -2/+2 | |
This doesn't modify internal state, so this can be made const. | |||||
2020-04-06 | Texture Cache: Use vAddr instead of physical memory for caching. | Fernando Sahmkow | 1 | -26/+8 | |
2020-04-01 | video_core: Use native ASTC when available | ReinUsesLisp | 1 | -4/+11 | |
2019-11-29 | texture_cache/surface_base: Fix out of bounds texture views | ReinUsesLisp | 1 | -7/+4 | |
Some texture views were being created out of bounds (with more layers or mipmaps than what the original texture has). This is because of a miscalculation in mipmap bounding. end_layer and end_mipmap are out of bounds (e.g. layer 6 in a cubemap), there's no need to add one more there. Fixes OpenGL errors and Vulkan crashes on Splatoon 2. | |||||
2019-10-15 | common: Rename binary_find.h to algorithm.h | Lioncash | 1 | -3/+2 | |
Makes the header more general for other potential algorithms in the future. While we're at it, include a missing <functional> include to satisfy the use of std::less. | |||||
2019-09-06 | texture_cache: Minor changes | ReinUsesLisp | 1 | -6/+6 | |
2019-07-14 | Texture_Cache: Address Feedback | Fernando Sahmkow | 1 | -1/+3 | |
2019-07-14 | Texture_Cache: Force Framebuffer reset if an active render target is unregistered. | Fernando Sahmkow | 1 | -1/+7 | |
2019-07-05 | texture_cache: Address Feedback | Fernando Sahmkow | 1 | -2/+2 | |
2019-06-29 | texture_cache: Address feedback | ReinUsesLisp | 1 | -1/+1 | |
2019-06-24 | texture_cache/surface_base: Address feedback | ReinUsesLisp | 1 | -2/+6 | |
2019-06-21 | texture_cache: Style and Corrections | Fernando Sahmkow | 1 | -1/+2 | |
2019-06-21 | texture_cache: Implement Irregular Views in surfaces | Fernando Sahmkow | 1 | -4/+21 | |
2019-06-21 | texture_cache: Implement siblings texture formats. | Fernando Sahmkow | 1 | -0/+4 | |
2019-06-21 | texture_cache: move some large methods to cpp files | Fernando Sahmkow | 1 | -99/+7 | |
2019-06-21 | texture_cache uncompress-compress is untopological. | Fernando Sahmkow | 1 | -2/+16 | |
This makes conflicts between non compress and compress textures to be auto recycled. It also limits the amount of mipmaps a texture can have if it goes above it's limit. | |||||
2019-06-21 | texture_cache: Correct copying between compressed and uncompressed formats | Fernando Sahmkow | 1 | -5/+4 | |
2019-06-21 | texture_cache: Handle uncontinuous surfaces. | Fernando Sahmkow | 1 | -4/+30 | |
2019-06-21 | texture_cache: Add checks for texture buffers. | Fernando Sahmkow | 1 | -2/+16 | |
2019-06-21 | texture_cache: Fermi2D reform and implement View Mirage | Fernando Sahmkow | 1 | -5/+10 | |
This also does some fixes on compressed textures reinterpret and on the Fermi2D engine in general. | |||||
2019-06-21 | texture_cache: General Fixes | Fernando Sahmkow | 1 | -0/+4 | |
Fixed ASTC mipmaps loading Fixed alignment on openGL upload/download Fixed Block Height Calculation Removed unalign_height | |||||
2019-06-21 | Remove Framebuffer reconfiguration and restrict rendertarget protection | Fernando Sahmkow | 1 | -5/+10 | |
2019-06-21 | Reduce amount of size calculations. | Fernando Sahmkow | 1 | -18/+10 | |
2019-06-21 | texture_cache: Correct premature texceptions | Fernando Sahmkow | 1 | -3/+14 | |
Due to our current infrastructure, it is possible for a mipmap to be set on as a render target before a texception of that mipmap's superset be set afterwards. This is problematic as we rely on texture views to set up texceptions and protecting render targets targets for 3D texture rendering. One simple solution is to configure framebuffers after texture setup but this brings other problems. This solution, forces a reconfiguration of the framebuffers after such event happens. | |||||
2019-06-21 | Fixes to mipmap's process and reconstruct process | Fernando Sahmkow | 1 | -2/+2 | |
2019-06-21 | surface_base: Add parenthesis to EmplaceOverview's predicate | ReinUsesLisp | 1 | -3/+2 | |
2019-06-21 | surface_view: Add constructor for ViewParams | ReinUsesLisp | 1 | -27/+12 | |
2019-06-21 | surface_base: Split BreakDown into layered and non-layered variants | ReinUsesLisp | 1 | -45/+48 | |
2019-06-21 | surface_base: Silence truncation warnings and minor renames and reordering | ReinUsesLisp | 1 | -16/+19 | |
2019-06-21 | copy_params: Use constructor instead of C-like initialization | ReinUsesLisp | 1 | -33/+20 | |
2019-06-21 | Correct Mipmaps View method in Texture Cache | Fernando Sahmkow | 1 | -3/+2 | |
2019-06-21 | Change texture_cache chaching from GPUAddr to CacheAddr | Fernando Sahmkow | 1 | -15/+15 | |
This also reverses the changes to make invalidation and flushing through the GPU address. | |||||
2019-06-21 | Corrections to Structural Matching | Fernando Sahmkow | 1 | -21/+45 | |
The texture will now be reconstructed if the width only matches on GoB alignment. | |||||
2019-06-21 | Correct Surface Base and Views for new Texture Cache | Fernando Sahmkow | 1 | -77/+220 | |
2019-06-21 | texture_cache: Remove execution context copies from the texture cache | ReinUsesLisp | 1 | -5/+3 | |
This is done to simplify the OpenGL implementation, it is needed for Vulkan. | |||||
2019-06-21 | texture_cache: Split texture cache into different files | ReinUsesLisp | 1 | -0/+172 | |