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