mesa/src/compiler
Rhys Perry bc49045294 nir/opt_shrink_vectors: add assume to silence warning
../../../../../../../mesa/src/compiler/nir/nir_opt_shrink_vectors.c: In function ‘shrink_dest_to_read_mask’:
../../../../../../../mesa/src/compiler/nir/nir_opt_shrink_vectors.c:140:36: warning: writing 16 bytes into a region of size 15 [-Wstringop-overflow=]
  140 |             swizzle[first_bit + i] = i;
      |             ~~~~~~~~~~~~~~~~~~~~~~~^~~
../../../../../../../mesa/src/compiler/nir/nir_opt_shrink_vectors.c:138:18: note: at offset [1, 15] into destination object ‘swizzle’ of size 16
  138 |          uint8_t swizzle[NIR_MAX_VEC_COMPONENTS] = { 0 };
      |                  ^~~~~~~

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34785>
2025-05-05 11:45:42 +00:00
..
clc mesa-clc: add an option to force inclusion of OpenCL headers 2025-04-24 11:40:15 +00:00
glsl compiler/types: add a bfloat16 type 2025-04-29 16:29:36 +00:00
isaspec meson: do not compile libisaspec unless used 2025-03-25 08:32:47 +00:00
libcl clc,libcl: Clean up CL includes 2025-04-11 21:27:37 +00:00
nir nir/opt_shrink_vectors: add assume to silence warning 2025-05-05 11:45:42 +00:00
rust nak,nir: Add an image_load_raw_nv intrinsic 2025-04-08 04:06:45 +00:00
spirv vtn: use nir_const_value_for_raw_uint for bfloat SpecConstantOp/FConvert 2025-05-01 10:52:30 +00:00
builtin_types.py compiler/types: add a bfloat16 type 2025-04-29 16:29:36 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c compiler/types: add a bfloat16 type 2025-04-29 16:29:36 +00:00
glsl_types.h compiler/types: add a bfloat16 type 2025-04-29 16:29:36 +00:00
meson.build nak: Move bitset to compiler crate 2024-08-07 21:08:18 +00:00
shader_enums.c nir: add load_front_face_fsign 2024-12-30 22:31:34 +00:00
shader_enums.h nir: Rename in-bounds-agx to in-bounds 2025-02-19 09:54:11 +00:00
shader_info.h compiler,nir: Gather needs_full_quad_helper_invocations info 2025-03-14 21:55:58 +00:00