yuzu/src/video_core/texture_cache
ReinUsesLisp 345e73f2fe video_core: Use un-shifted block sizes to avoid integer divisions
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-20 21:36:12 -03:00
..
copy_params.h copy_params: Use constructor instead of C-like initialization 2019-06-20 21:36:12 -03:00
surface_base.cpp video_core: Use un-shifted block sizes to avoid integer divisions 2019-06-20 21:36:12 -03:00
surface_base.h Reduce amount of size calculations. 2019-06-20 21:36:12 -03:00
surface_params.cpp video_core: Use un-shifted block sizes to avoid integer divisions 2019-06-20 21:36:12 -03:00
surface_params.h video_core: Use un-shifted block sizes to avoid integer divisions 2019-06-20 21:36:12 -03:00
surface_view.cpp Correct Surface Base and Views for new Texture Cache 2019-06-20 21:36:12 -03:00
surface_view.h surface_view: Add constructor for ViewParams 2019-06-20 21:36:12 -03:00
texture_cache.h video_core: Use un-shifted block sizes to avoid integer divisions 2019-06-20 21:36:12 -03:00