mesa/src/compiler
Gert Wollny 9ebe893a61 nir_lower_to_source_mods: Don't sneek in an abs modifier from parent
If the abs source modifiers is not supported for the current
instruction because it is an instruction with three sources we
may still see a parent mov that has the `abs` modifier. In this
case we must not propagate that abs modifier from that parent
instructions.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7350

Fixes: cd73b6174b
    nir/lower_to_source_mods: Stop turning add, sat, and neg into mov

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18902>
2022-10-04 08:36:57 +02:00
..
clc nir: add a nir_opt_if_options enum 2022-08-10 12:55:39 +00:00
glsl glsl: Remove lower_vec_index_to_swizzle. 2022-10-03 17:18:31 +00:00
isaspec isaspec: Move isa_decode(..) declaration 2022-09-03 19:26:04 +00:00
nir nir_lower_to_source_mods: Don't sneek in an abs modifier from parent 2022-10-04 08:36:57 +02:00
spirv spirv: Enable OpEmitMeshTasksEXT workaround for Clay Shader Compiler 2022-10-01 03:59:20 +00:00
builtin_type_macros.h glsl: add vec5 glsl types 2022-01-18 16:10:35 +08:00
glsl_types.cpp compiler/types: Don't place members in the previous substruct's end padding 2022-06-09 22:55:37 +00:00
glsl_types.h compiler/types: Add a texture type 2021-10-16 05:49:34 +00:00
meson.build spirv: Use a single binary for gtests 2021-10-20 17:55:36 +00:00
nir_gl_types.h nir: remove gl.h include from nir headers. 2022-01-19 21:54:58 +00:00
nir_types.cpp nir: Add a pass to lower mediump temps and shared mem. 2022-09-01 22:39:39 +00:00
nir_types.h nir: Add a pass to lower mediump temps and shared mem. 2022-09-01 22:39:39 +00:00
shader_enums.c nir+ir3: Rename load_size_ir3 to load_center_rhw_ir3. 2022-07-11 16:56:05 +00:00
shader_enums.h gallium: use gl shader types as the basis for the gallium ones 2022-08-04 08:17:39 +00:00
shader_info.h nir, anv, hasvk, radv: pull uses_wide_subgroup_intrinsics into shader_info 2022-09-20 10:19:21 +00:00