mesa/src/compiler
Boris Brezillon 34ffa4cd10 nir/lower_blend: Fix nir_blend_logicop() for 8/16-bit integer formats
src and dst can be integer types, and doing an f2f on such types
messes up with the original value. Make sure we keep the original type
when {up,down}sizing the src, dst and out values.

Fixes: f3de2bd6c2 ("nir: Add blend lowering pass")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28839>
2024-04-22 09:58:41 +02:00
..
clc fix(FTBFS): clc: adapt to new LLVM 19 DiagnosticHandlerTy 2024-04-02 11:27:31 +00:00
glsl glsl: remove UsesEndPrimitive field 2024-04-13 11:36:08 +00:00
isaspec isaspec: deocde: Remove generic functions from public interface 2024-03-21 07:51:18 +00:00
nir nir/lower_blend: Fix nir_blend_logicop() for 8/16-bit integer formats 2024-04-22 09:58:41 +02:00
spirv nir: Take a nir_def in nir_goto_if() 2024-03-25 15:55:48 +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 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 glsl_types: derive ht 2024-03-12 19:41:50 +00:00
glsl_types.h compiler/types: Fix glsl_dvec*_type() helpers 2024-03-04 15:22:32 +00:00
meson.build meson: do not pull in clc for clover 2024-02-21 20:53:36 +00:00
shader_enums.c radv: Remove ray_launch_size_addr_amd system value. 2024-02-17 11:08:16 +00:00
shader_enums.h compiler: Add helper for counting tess level components. 2024-03-28 09:41:08 +00:00
shader_info.h nir: change "user_data_amd" sysval from 4 to 8 components 2024-04-13 16:45:08 +00:00