1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core/texture_cache
Markus Wick 6755025310 Fix GCC undefined behavior sanitizer.
* Wrong alignment in u64 LOG_DEBUG -> memcpy.
* Huge shift exponent in stride calculation for linear buffer, unused result -> skipped.
* Large shift in buffer cache if word = 0, skip checking for set bits.

Non of those were critical, so this should not change any behavior.
At least with the assumption, that the last one used masking behavior, which always yield continuous_bits = 0.
2021-06-10 21:07:27 +02:00
..
accelerated_swizzle.cpp common/alignment: Rename AlignBits to AlignUpLog2 2021-01-15 04:13:33 -03:00
accelerated_swizzle.h renderer_vulkan: Accelerate ASTC decoding 2021-03-13 12:16:03 -05:00
decode_bc4.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
decode_bc4.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
descriptor_table.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
format_lookup_table.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
format_lookup_table.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
formatter.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
formatter.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
image_base.cpp texture_cache: Blacklist BGRA8 copies and views on OpenGL 2021-03-04 14:14:49 -05:00
image_base.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
image_info.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
image_info.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
image_view_base.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
image_view_base.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
image_view_info.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
image_view_info.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
render_targets.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
samples_helper.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
slot_vector.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
texture_cache.h texture_cache: Handle out of bound texture blits 2021-05-07 22:14:21 -04:00
types.h texture_cache: Handle out of bound texture blits 2021-05-07 22:14:21 -04:00
util.cpp Fix GCC undefined behavior sanitizer. 2021-06-10 21:07:27 +02:00
util.h texure_cache/util: Resolve implicit sign conversions with std::reduce 2021-04-12 05:21:53 -04:00