1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core
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
..
buffer_cache Fix GCC undefined behavior sanitizer. 2021-06-10 21:07:27 +02:00
command_classes vp9: Avoid memcpy with null pointers 2021-04-05 00:44:38 -04:00
engines buffer_cache: Simplify uniform disabling logic 2021-06-01 13:26:58 -04:00
host_shaders astc_decoder: Refactor for style and more efficient memory use 2021-03-25 16:53:51 -04:00
macro common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
renderer_opengl buffer_cache: Simplify uniform disabling logic 2021-06-01 13:26:58 -04:00
renderer_vulkan buffer_cache: Simplify uniform disabling logic 2021-06-01 13:26:58 -04:00
shader Review 1 2021-02-15 05:26:28 +00:00
texture_cache Fix GCC undefined behavior sanitizer. 2021-06-10 21:07:27 +02:00
textures decoders: Break instead of continue 2021-06-04 05:12:14 -04:00
vulkan_common vulkan_memory_allocator: Allow textures to be allocated in host memory 2021-05-27 05:50:48 -03:00
cdma_pusher.cpp rebase, fix name shadowing, more const 2021-02-13 13:07:56 -05:00
cdma_pusher.h Address PR feedback 2021-02-13 13:07:56 -05:00
CMakeLists.txt astc_decoder: Refactor for style and more efficient memory use 2021-03-25 16:53:51 -04:00
compatible_formats.cpp texture_cache: Blacklist BGRA8 copies and views on OpenGL 2021-03-04 14:14:49 -05:00
compatible_formats.h texture_cache: Blacklist BGRA8 copies and views on OpenGL 2021-03-04 14:14:49 -05:00
delayed_destruction_ring.h video_core: Add a delayed destruction ring abstraction 2020-12-30 02:10:19 -03:00
dirty_flags.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
dirty_flags.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
dma_pusher.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
dma_pusher.h video_core: Resolve more variable shadowing scenarios 2020-12-04 16:19:09 -05:00
fence_manager.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
framebuffer_config.h video_core: gpu: Refactor out synchronous/asynchronous GPU implementations. 2020-12-28 16:33:48 -08:00
gpu.cpp video_core: gpu: WaitFence: Do not block threads during shutdown. 2021-05-29 01:06:04 -07:00
gpu.h video_core: gpu: WaitFence: Do not block threads during shutdown. 2021-05-29 01:06:04 -07:00
gpu_thread.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
gpu_thread.h video_core: Use a CV for blocking commands. 2021-04-07 22:38:52 +02:00
guest_driver.cpp gl_shader_cache: Rework shader cache and remove post-specializations 2020-03-09 18:40:06 -03:00
guest_driver.h video_core: Resolve more variable shadowing scenarios 2020-12-04 16:19:09 -05:00
memory_manager.cpp buffer_cache: Simplify uniform disabling logic 2021-06-01 13:26:58 -04:00
memory_manager.h Merge branch 'bytes-to-map-end' into new-bufcache-wip 2021-02-13 02:18:35 -03:00
query_cache.h common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
rasterizer_accelerated.cpp video_core: rasterizer_cache: Use u16 for cached page count. 2021-05-27 14:47:24 -07:00
rasterizer_accelerated.h video_core: rasterizer_cache: Use u16 for cached page count. 2021-05-27 14:47:24 -07:00
rasterizer_interface.h buffer_cache: Simplify uniform disabling logic 2021-06-01 13:26:58 -04:00
renderer_base.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
renderer_base.h gpu: Report renderer errors with exceptions 2021-02-13 02:16:19 -03:00
shader_cache.h shader_cache: Make use of std::erase_if 2020-07-14 15:49:15 -04:00
shader_notify.cpp video_core: add missing header after 468bd9c1b0 2021-02-23 00:04:36 +00:00
shader_notify.h async shaders 2020-07-17 14:24:57 +10:00
surface.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
surface.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
video_core.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
video_core.h Frontend/GPU: Refactor context management 2020-03-24 21:03:42 -06:00