mesa/src/gallium/auxiliary/util
Luc Ma 03371887d5 gallium/u_blitter: Fix a few uninitialized fb_state
An uninitialized pipe_framebuffer_state maybe causes some issues
if someone is about to use its members such as `fb_state.layers`.

Signed-off-by: Luc Ma <luc@sietium.com>
Reported-by: Mark Zhou <mark@sietium.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27332>
2024-02-01 10:59:53 +00:00
..
u_async_debug.c util: Rename pipe_debug_type to util_debug_type 2022-04-01 01:52:43 +00:00
u_async_debug.h util: Rename pipe_debug_type to util_debug_type 2022-04-01 01:52:43 +00:00
u_bitcast.h gallium/util: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
u_bitmask.c util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_bitmask.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_blend.h gallium: Remove pipe->compiler BLEND enum translation 2023-07-13 21:03:32 +00:00
u_blitter.c gallium/u_blitter: Fix a few uninitialized fb_state 2024-02-01 10:59:53 +00:00
u_blitter.h gallium: remove unbind_trailing_count from set_vertex_buffers 2024-01-14 21:55:19 +00:00
u_box.h treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
u_cache.c util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_cache.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_compute.c gallium/auxiliary: NIR blit_compute_shader 2023-11-15 16:06:37 +00:00
u_compute.h gallium/auxiliary: Fix util_compute_blit half texel offset with scaling 2023-09-05 21:31:43 +00:00
u_debug_cb.h gallium: Add u_default_set_debug_callback 2022-09-01 14:50:24 +00:00
u_debug_describe.c util:Move only gallium used u_debug_refcnt.* and u_debug_describe.* into src/gallium/auxiliary/util/ 2023-08-02 03:41:24 +00:00
u_debug_describe.h util:Move only gallium used u_debug_refcnt.* and u_debug_describe.* into src/gallium/auxiliary/util/ 2023-08-02 03:41:24 +00:00
u_debug_flush.c util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_debug_flush.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
u_debug_image.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
u_debug_image.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_debug_refcnt.c util:Move only gallium used u_debug_refcnt.* and u_debug_describe.* into src/gallium/auxiliary/util/ 2023-08-02 03:41:24 +00:00
u_debug_refcnt.h util:Move only gallium used u_debug_refcnt.* and u_debug_describe.* into src/gallium/auxiliary/util/ 2023-08-02 03:41:24 +00:00
u_draw.c u/draw: skip zero-sized indirect draws 2023-08-14 15:32:26 +00:00
u_draw.h aux/util: match type of pipe_draw_start_count_bias::start/count 2023-07-06 12:03:43 +00:00
u_draw_quad.c gallium: remove unbind_trailing_count from set_vertex_buffers 2024-01-14 21:55:19 +00:00
u_draw_quad.h gallium/util: fix GALLIUM_TESTS=1 by using cso_set_vertex_buffers_and_elements 2023-10-04 21:39:34 +00:00
u_driconf.c util/driconf: add workarounds for the Chronicles of Riddick 2023-08-24 22:38:56 +00:00
u_driconf.h gallium/dri: Move driConf -> st option processing to aux/util 2021-08-10 15:14:26 +00:00
u_dual_blend.h treewide: style fixes after replace usage of boolean to bool 2023-06-27 18:18:28 +08:00
u_dump.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_dump_defines.c treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
u_dump_state.c gallium: move vertex stride to CSO 2023-08-14 01:23:25 +00:00
u_file.h tree-wide: Convert all usage of defined(PIPE_(OS|ARCH|CC)_*) to DETECT_(OS|ARCH|CC)_* by use grep 2022-11-15 20:35:55 +00:00
u_framebuffer.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
u_framebuffer.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_gen_mipmap.c aux/util: uint -> unsigned 2023-07-06 12:03:43 +00:00
u_gen_mipmap.h aux/util: uint -> unsigned 2023-07-06 12:03:43 +00:00
u_handle_table.c util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_handle_table.h
u_helpers.c gallium: remove unbind_trailing_count from set_vertex_buffers 2024-01-14 21:55:19 +00:00
u_helpers.h gallium: remove unbind_trailing_count from set_vertex_buffers 2024-01-14 21:55:19 +00:00
u_index_modify.c
u_index_modify.h gallium/util: allow including a few files in C++ 2020-12-09 16:01:21 -05:00
u_inlines.h gallium/util: Fix pipe_buffer_copy 2024-01-24 10:02:10 +00:00
u_live_shader_cache.c
u_live_shader_cache.h gallium/util: add some extern "C" guards 2021-10-16 10:41:51 +00:00
u_log.c
u_log.h gallium/util: allow including a few files in C++ 2020-12-09 16:01:21 -05:00
u_prim.c compiler: Rename shader_prim to mesa_prim and replace all usage of pipe_prim_type with mesa_prim 2023-06-03 03:29:03 +00:00
u_prim.h compiler: Make u_decomposed_prims_for_vertices available to CL 2023-11-07 00:05:54 +00:00
u_prim_restart.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
u_prim_restart.h gallium/util: Drop unused translate_prim_restart_ib 2022-11-04 23:20:02 +00:00
u_pstipple.c aux/util: uint -> unsigned 2023-07-06 12:03:43 +00:00
u_pstipple.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_pwr8.h aux/util: use stdint.h types 2023-07-06 12:03:43 +00:00
u_range.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
u_rect.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_resource.c util: Add new helpers for pipe resources 2023-11-16 14:28:45 +00:00
u_resource.h util: Add new helpers for pipe resources 2023-11-16 14:28:45 +00:00
u_sample_positions.c gallium: Add u_default_get_sample_position 2023-04-13 15:40:54 +00:00
u_sample_positions.h gallium: Add u_default_get_sample_position 2023-04-13 15:40:54 +00:00
u_sampler.c gallium, rusticl: Add tex2d_from_buf in image_view and sampler_view 2023-03-07 18:24:56 +00:00
u_sampler.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
u_screen.c gallium: add PIPE_CAP_PERFORMANCE_MONITOR for GL_AMD_performance_monitor 2023-11-28 17:34:26 +00:00
u_screen.h gallium: move etnaviv screen_lookup_or_create function to common code 2023-02-12 17:11:16 +00:00
u_simple_shaders.c gallium/u_simple_shaders: Optimize out ffloors 2023-08-01 14:04:08 +00:00
u_simple_shaders.h aux/util: uint -> unsigned 2023-07-06 12:03:43 +00:00
u_split_draw.c compiler: Rename shader_prim to mesa_prim and replace all usage of pipe_prim_type with mesa_prim 2023-06-03 03:29:03 +00:00
u_split_draw.h
u_split_prim.h aux/util: uint -> unsigned 2023-07-06 12:03:43 +00:00
u_sse.h aux/util: use stdint.h types 2023-07-06 12:03:43 +00:00
u_suballoc.c treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
u_suballoc.h treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
u_surface.c gallium: rename util_clear_texture to util_clear_texture_sw 2023-07-10 15:23:06 +00:00
u_surface.h gallium: rename util_clear_texture to util_clear_texture_sw 2023-07-10 15:23:06 +00:00
u_surface_test.cpp gallium: Allow copy_region blits with matching formats. 2023-01-12 01:04:45 +00:00
u_tests.c gallium/util: add more tests for compute-only contexts 2023-10-04 21:39:34 +00:00
u_tests.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_texture.c treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00
u_texture.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_threaded_context.c gallium: rename PIPE_.._PIN_THREADS_TO_L3_CACHE -> .._UPDATE_THREAD_SCHEDULING 2024-01-29 19:40:46 +00:00
u_threaded_context.h gallium: remove unbind_trailing_count from set_vertex_buffers 2024-01-14 21:55:19 +00:00
u_threaded_context_calls.h util/tc: split out flush and deferred flush calls 2022-10-29 20:19:51 +00:00
u_tile.c aux/util: uint -> unsigned 2023-07-06 12:03:43 +00:00
u_tile.h aux/util: uint -> unsigned 2023-07-06 12:03:43 +00:00
u_trace_gallium.c common/utrace: Refactor and combine all envvars into GPU_TRACES 2022-11-11 13:50:56 +00:00
u_trace_gallium.h misc: replace #ifdef\s\s__cplusplus with #ifdef\s__cplusplus 2022-04-21 14:43:39 +00:00
u_tracepoints.py util/u_trace: auto-generation of serialization funcs for tracepoints 2021-09-10 14:58:28 +03:00
u_transfer.c treewide: use uint64_t / (u)intptr_t in image address calculations 2023-06-07 16:53:36 +00:00
u_transfer.h treewide: use uint64_t / (u)intptr_t in image address calculations 2023-06-07 16:53:36 +00:00
u_transfer_helper.c aux/u_transfer_helper: set rendertarget bind for msaa staging resource 2023-10-27 00:44:49 +00:00
u_transfer_helper.h u_transfer_helper: rip out fake_rgtc code 2022-09-18 13:46:25 +02:00
u_upload_mgr.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
u_upload_mgr.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_vbuf.c gallium: remove unbind_trailing_count from set_vertex_buffers 2024-01-14 21:55:19 +00:00
u_vbuf.h gallium: remove unbind_trailing_count from set_vertex_buffers 2024-01-14 21:55:19 +00:00
u_vertex_state_cache.c gallium: move vertex stride to CSO 2023-08-14 01:23:25 +00:00
u_vertex_state_cache.h gallium/util: add util_vertex_state_cache for deduplicating the states 2021-10-01 14:51:23 +00:00
u_video.h util: include "util/compiler.h" instead of "pipe/p_compiler.h" 2023-06-27 18:18:30 +08:00
u_viewport.h gallium/util: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00