suyu/src/video_core/texture_cache
ReinUsesLisp ff64c3951a
texture_cache/surface_base: Fix out of bounds texture views
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.
2019-11-29 16:51:14 -03:00
..
copy_params.h copy_params: use constexpr for constructor 2019-06-25 17:42:50 -04:00
format_lookup_table.cpp format_lookup_table: Address feedback 2019-11-14 20:57:30 -03:00
format_lookup_table.h format_lookup_table: Address feedback 2019-11-14 20:57:30 -03:00
surface_base.cpp common: Rename binary_find.h to algorithm.h 2019-10-15 15:24:50 -04:00
surface_base.h texture_cache/surface_base: Fix out of bounds texture views 2019-11-29 16:51:14 -03:00
surface_params.cpp texture_cache: Use a table instead of switch for texture formats 2019-11-14 20:57:10 -03:00
surface_params.h texture_cache: Use a table instead of switch for texture formats 2019-11-14 20:57:10 -03:00
surface_view.cpp texture_cache: Minor changes 2019-09-05 23:25:15 -03:00
surface_view.h texture_cache: Minor changes 2019-09-05 23:25:15 -03:00
texture_cache.h texture_cache: Use a table instead of switch for texture formats 2019-11-14 20:57:10 -03:00