summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/surface_params.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* texture_cache: Optimize GetMipBlockHeight and GetMipBlockDepthFernando Sahmkow2019-06-211-13/+6
|
* video_core: Use un-shifted block sizes to avoid integer divisionsReinUsesLisp2019-06-211-19/+20
| | | | | | | | | | | | 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).
* Reduce amount of size calculations.Fernando Sahmkow2019-06-211-30/+1
|
* Correct Surface Base and Views for new Texture CacheFernando Sahmkow2019-06-211-135/+75
|
* texture_cache: Split texture cache into different filesReinUsesLisp2019-06-211-0/+412