mesa/src/gallium/drivers/lima
Erico Nunes 0a6043c632 lima: fix plbu block stride calculation
For some specific texture sizes, notably some texture sizes with width
4096, block stride calculation could end up calculating stride 256 which
is an invalid value.
In those specific cases, this could cause rendering artifacts or
application/driver crashes.

Cc: mesa-stable

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25084>
(cherry picked from commit cb1c88d41f)
2023-09-24 13:55:55 -07:00
..
ci ci: mark passing zink and lima tests as expected 2023-07-28 11:33:03 -07:00
drm-shim Use proper types for meson objects 2022-04-18 13:03:08 +03:00
ir nir: Rename nir_reg_{src,dest} -> nir_register_{src,dest} 2023-06-30 18:20:48 -04:00
standalone mesa: handle atomic counter lowering for drivers with big ssbo offset aligns 2022-06-05 23:16:36 +00:00
lima_blit.c lima: wire up MSAA 4x support 2022-06-28 00:00:35 +00:00
lima_blit.h lima: wire up MSAA 4x support 2022-06-28 00:00:35 +00:00
lima_bo.c util: Move src/gallium/auxiliary/os/os_mman.h to src/util/os_mman.h 2022-11-15 19:55:01 +00:00
lima_bo.h
lima_context.c lima: fix refcnt imbalance related to framebuffer 2023-04-17 21:44:15 +00:00
lima_context.h lima: Use u_default_set_debug_callback 2022-09-01 14:50:24 +00:00
lima_disk_cache.c lima: implement shader disk cache 2021-03-25 06:31:41 +00:00
lima_disk_cache.h lima: implement shader disk cache 2021-03-25 06:31:41 +00:00
lima_draw.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
lima_fence.c
lima_fence.h
lima_format.c lima: enable z16 format 2021-05-19 18:15:46 +02:00
lima_format.h util: Move src/gallium/include/pipe/p_format.h to src/util/format/u_formats.h 2022-11-19 03:38:19 +00:00
lima_gpu.h lima: fix plbu block stride calculation 2023-09-24 13:55:55 -07:00
lima_job.c lima: fix plbu block stride calculation 2023-09-24 13:55:55 -07:00
lima_job.h lima: implement lima-specific blitter 2022-06-09 23:25:02 +00:00
lima_parser.c lima: wire up MSAA 4x support 2022-06-28 00:00:35 +00:00
lima_parser.h lima: implement dual source blend 2021-11-29 19:31:59 +00:00
lima_program.c nir: Add a reg_intrinsics flag to nir_convert_from_ssa 2023-07-12 01:34:27 +00:00
lima_program.h
lima_query.c
lima_resource.c treewide: use uint64_t / (u)intptr_t in image address calculations 2023-06-07 16:53:36 +00:00
lima_resource.h lima: fix memory leak related to u_transfer_helper_create() 2023-01-18 17:50:40 +00:00
lima_screen.c gallium: Drop PIPE_SHADER_CAP_PREFERRED_IR. 2023-06-12 17:37:54 +00:00
lima_screen.h lima: replace custom code with u_pipe_screen_lookup_or_create() 2023-02-12 17:11:16 +00:00
lima_state.c lima: fix refcnt imbalance related to framebuffer 2023-04-17 21:44:15 +00:00
lima_texture.c gallium: normalized_coords -> unnormalized_coords 2022-10-10 10:20:02 +00:00
lima_texture.h lima: wire up MSAA 4x support 2022-06-28 00:00:35 +00:00
lima_util.c util: Replace all usage of PIPE_TIMEOUT_INFINITE with OS_TIMEOUT_INFINITE 2023-06-05 05:12:02 +00:00
lima_util.h lima: implement lima-specific blitter 2022-06-09 23:25:02 +00:00
meson.build meson: remove source_root() call in nir compiler path 2022-08-12 13:11:03 +00:00