mesa/src/compiler
Caio Oliveira da57fbfb07 nir: Fix constant folding for iadd_sat
Use INT_MIN instead of INT_MAX for underflow.

Fixes: cc4b50b023 ("nir/opcodes: use u_overflow to fix incorrect checks")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pelloux@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40252>
2026-03-06 22:26:07 +00:00
..
clc nir: only set fp_math_ctrl if meaningful 2026-02-18 14:04:22 +00:00
glsl glsl: add workaround for MDK2 HD 2026-03-05 13:09:29 +00:00
isaspec isaspec: Use %g format for float display to ensure round-trip fidelity 2026-03-04 22:42:27 +00:00
libcl libcl_vk: Add VkCopyMemoryIndirectCommandKHR 2026-02-13 20:53:47 +00:00
nir nir: Fix constant folding for iadd_sat 2026-03-06 22:26:07 +00:00
rust nir: add nvidias shared memory non unform address shift 2026-02-11 03:41:23 +01:00
spirv spirv: Remove conversions from vtn_nir_alu_op_for_spirv_opcode() 2026-03-04 22:04:45 +00:00
builtin_types.py compiler: add float8 glsl types 2025-06-23 07:59:24 +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 compiler: Generate files with newline at end 2025-06-24 14:01:04 +00:00
glsl_types.c compiler: Add FP8 types to GLSL type decoder 2025-12-19 00:09:53 +00:00
glsl_types.h spirv: Fix spec constant to handle Select for non-native floats 2026-03-04 22:04:45 +00:00
list.h nir: remove unused stuff from list.h 2025-07-31 20:23:04 +00:00
meson.build nir, glsl: Add support for softfloat32 2025-11-14 19:31:17 +00:00
shader_enums.c nir, ir3: Make ir3 GS varyings use a proper index 2026-01-21 20:54:15 +00:00
shader_enums.h nir: add ACCESS_SPARSE 2026-02-02 17:56:52 +00:00
shader_info.h glsl/nir: Add texture_buffers to shader info 2026-01-13 10:00:58 +01:00