summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/surface_base.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-15Texture Cache: Read current data when flushing a 3D segment.Fernando Sahmkow1-0/+6
This PR corrects flushing of 3D segments when data of other segments is mixed, this aims to preserve the data in place.
2020-04-06Texture Cache: Use vAddr instead of physical memory for caching.Fernando Sahmkow1-32/+10
2020-04-01video_core: Use native ASTC when availableReinUsesLisp1-19/+20
2020-02-16surface_base: Implement texture buffer flushesReinUsesLisp1-0/+4
Implement downloads to guest memory from texture buffers on the generic cache and OpenGL.
2020-01-27texture_cache/surface_base: Fix layered break downReinUsesLisp1-1/+1
Layered break downs was passing "layer" as a "depth" parameter. This commit addresses that.
2019-10-15common: Rename binary_find.h to algorithm.hLioncash1-0/+1
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-07-19video_core: Resolve -Wreorder warningsLioncash1-3/+2
Ensures that the constructor members are always initialized in the order that they're declared in.
2019-07-14Texture_Cache: Correct Linear Structural Match.Fernando Sahmkow1-3/+6
2019-06-24texture_cache/surface_base: Address feedbackReinUsesLisp1-0/+4
2019-06-21texture_cache: Style and CorrectionsFernando Sahmkow1-1/+1
2019-06-21texture_cache: Implement Irregular Views in surfacesFernando Sahmkow1-0/+3
2019-06-21texture_cache: move some large methods to cpp filesFernando Sahmkow1-0/+103
2019-06-21texture_cache: Handle uncontinuous surfaces.Fernando Sahmkow1-8/+39
2019-06-21texture_cache: loose TryReconstructSurface when accurate GPU is not on.Fernando Sahmkow1-1/+1
Also corrects some asserts.
2019-06-21texture_cache: General FixesFernando Sahmkow1-3/+15
Fixed ASTC mipmaps loading Fixed alignment on openGL upload/download Fixed Block Height Calculation Removed unalign_height
2019-06-21video_core: Use un-shifted block sizes to avoid integer divisionsReinUsesLisp1-2/+1
Instead of storing all block width, height and depths in their shifted form: block_width = 1U << block_shift; Store them like they are provided by the emulated hardware (their block_shift form). This way we can avoid doing the costly Common::AlignUp operation to align texture sizes and drop CPU integer divisions with bitwise logic (defined in Common::AlignBits).
2019-06-21Reduce amount of size calculations.Fernando Sahmkow1-7/+15
2019-06-21texture_cache: Implement guest flushingFernando Sahmkow1-8/+11
2019-06-21surface_base: Silence truncation warnings and minor renames and reorderingReinUsesLisp1-16/+18
2019-06-21Change texture_cache chaching from GPUAddr to CacheAddrFernando Sahmkow1-2/+3
This also reverses the changes to make invalidation and flushing through the GPU address.
2019-06-21Correct Surface Base and Views for new Texture CacheFernando Sahmkow1-46/+62
2019-06-21texture_cache: Remove execution context copies from the texture cacheReinUsesLisp1-4/+4
This is done to simplify the OpenGL implementation, it is needed for Vulkan.
2019-06-21texture_cache: Split texture cache into different filesReinUsesLisp1-0/+118