summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/surface_base.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-29texture_cache/surface_base: Fix out of bounds texture viewsReinUsesLisp1-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-15common: Rename binary_find.h to algorithm.hLioncash1-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-06texture_cache: Minor changesReinUsesLisp1-6/+6
2019-07-14Texture_Cache: Address FeedbackFernando Sahmkow1-1/+3
2019-07-14Texture_Cache: Force Framebuffer reset if an active render target is unregistered.Fernando Sahmkow1-1/+7
2019-07-05texture_cache: Address FeedbackFernando Sahmkow1-2/+2
2019-06-29texture_cache: Address feedbackReinUsesLisp1-1/+1
2019-06-24texture_cache/surface_base: Address feedbackReinUsesLisp1-2/+6
2019-06-21texture_cache: Style and CorrectionsFernando Sahmkow1-1/+2
2019-06-21texture_cache: Implement Irregular Views in surfacesFernando Sahmkow1-4/+21
2019-06-21texture_cache: Implement siblings texture formats.Fernando Sahmkow1-0/+4
2019-06-21texture_cache: move some large methods to cpp filesFernando Sahmkow1-99/+7
2019-06-21texture_cache uncompress-compress is untopological.Fernando Sahmkow1-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-21texture_cache: Correct copying between compressed and uncompressed formatsFernando Sahmkow1-5/+4
2019-06-21texture_cache: Handle uncontinuous surfaces.Fernando Sahmkow1-4/+30
2019-06-21texture_cache: Add checks for texture buffers.Fernando Sahmkow1-2/+16
2019-06-21texture_cache: Fermi2D reform and implement View MirageFernando Sahmkow1-5/+10
This also does some fixes on compressed textures reinterpret and on the Fermi2D engine in general.
2019-06-21texture_cache: General FixesFernando Sahmkow1-0/+4
Fixed ASTC mipmaps loading Fixed alignment on openGL upload/download Fixed Block Height Calculation Removed unalign_height
2019-06-21Remove Framebuffer reconfiguration and restrict rendertarget protectionFernando Sahmkow1-5/+10
2019-06-21Reduce amount of size calculations.Fernando Sahmkow1-18/+10
2019-06-21texture_cache: Correct premature texceptionsFernando Sahmkow1-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-21Fixes to mipmap's process and reconstruct processFernando Sahmkow1-2/+2
2019-06-21surface_base: Add parenthesis to EmplaceOverview's predicateReinUsesLisp1-3/+2
2019-06-21surface_view: Add constructor for ViewParamsReinUsesLisp1-27/+12
2019-06-21surface_base: Split BreakDown into layered and non-layered variantsReinUsesLisp1-45/+48
2019-06-21surface_base: Silence truncation warnings and minor renames and reorderingReinUsesLisp1-16/+19
2019-06-21copy_params: Use constructor instead of C-like initializationReinUsesLisp1-33/+20
2019-06-21Correct Mipmaps View method in Texture CacheFernando Sahmkow1-3/+2
2019-06-21Change texture_cache chaching from GPUAddr to CacheAddrFernando Sahmkow1-15/+15
This also reverses the changes to make invalidation and flushing through the GPU address.
2019-06-21Corrections to Structural MatchingFernando Sahmkow1-21/+45
The texture will now be reconstructed if the width only matches on GoB alignment.
2019-06-21Correct Surface Base and Views for new Texture CacheFernando Sahmkow1-77/+220
2019-06-21texture_cache: Remove execution context copies from the texture cacheReinUsesLisp1-5/+3
This is done to simplify the OpenGL implementation, it is needed for Vulkan.
2019-06-21texture_cache: Split texture cache into different filesReinUsesLisp1-0/+172