mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-29 06:20:05 +00:00
345e73f2fe
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). |
||
---|---|---|
.. | ||
copy_params.h | ||
surface_base.cpp | ||
surface_base.h | ||
surface_params.cpp | ||
surface_params.h | ||
surface_view.cpp | ||
surface_view.h | ||
texture_cache.h |