mesa/src/compiler
Jesse Natalie f56bb3ec4b nir_lower_mem_access_bit_sizes: Fix write-mask-constrained 3-byte stores as atomics
The code here handled stores of actual 3-byte values (8-bit, 3-component), but didn't
correctly handle stores of larger 8-bit vectors that were constrained by write mask to
just 3 bytes. In that case, the pad-to-vec4 step was unnecessary and problematic.

Seen in CL CTS test_basic vector_swizzle test group for char3 with CLOn12.

Fixes: c70d94a8 ("nir_lower_mem_access_bit_sizes: Support unaligned stores via a pair of atomics")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26034>
(cherry picked from commit cd0cff951a)
2023-11-15 21:21:24 +00:00
..
clc nir/load_libclc: fix libclc memory leak 2023-10-11 03:05:23 +00:00
glsl glsl: Retire dround lowering. 2023-10-24 00:16:30 +00:00
isaspec isaspec : fix isaspec build error in aosp 2023-10-13 11:09:40 +00:00
nir nir_lower_mem_access_bit_sizes: Fix write-mask-constrained 3-byte stores as atomics 2023-11-15 21:21:24 +00:00
spirv nir: Add NV-specific texture opcodes 2023-10-24 22:21:18 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py compiler/types: Use a string table for builtin type names 2023-09-16 15:17:01 +00:00
builtin_types_cpp_h.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_h.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
glsl_types.c compiler/types: Remove warnings about potential fallthrough 2023-10-25 01:51:12 +00:00
glsl_types.h compiler/types: Move comments and reorganize declarations 2023-10-25 01:51:12 +00:00
glsl_types_impl.h compiler/types: Add remaining type extraction functions and use them in C++ 2023-10-25 01:51:12 +00:00
meson.build compiler/types: Rename glsl_types.cpp to glsl_types.c 2023-10-25 01:51:12 +00:00
nir_gl_types.h compiler/types: Flip wrapping of remaining small data getters 2023-10-25 01:51:12 +00:00
nir_types.h compiler/types: Move C declarations into glsl_types.h 2023-10-07 00:42:54 +00:00
shader_enums.c nir: Add shader enqueue data structures and handling 2023-08-18 16:57:22 +00:00
shader_enums.h nir: split FLOAT_CONTROLS_SIGNED_ZERO_INF_NAN_PRESERVE_FP* flags 2023-10-17 17:27:12 +00:00
shader_info.h nir: split FLOAT_CONTROLS_SIGNED_ZERO_INF_NAN_PRESERVE_FP* flags 2023-10-17 17:27:12 +00:00