mesa/src/compiler
Emma Anholt 6e087f96c9 nir_lower_mediump: Drop assertion about not containing movs.
A 1D texture operation may need to do a mov to turn a reference to a
channel of an SSA value into a scalar value to be passed as the texture
coordinate (since texture srcs can't do swizzles).  Seen in
amnesia-the-dark-descent/low/46.shader_test() for example, where a 1D
texture is used to remap each of r,g,b from a previous texture result.

Besides, the nir_op_is_vec() case will (perhaps surprisingly) look through
a mov, anyway.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16616>
2022-06-01 22:19:44 +00:00
..
clc clc: disable opaque pointers until they are supported 2022-05-21 12:26:37 +00:00
glsl glsl,nir: Move i/umulExtended lowering to NIR. 2022-06-01 10:56:35 +00:00
isaspec util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
nir nir_lower_mediump: Drop assertion about not containing movs. 2022-06-01 22:19:44 +00:00
spirv vtn: assert that composite members have the same bit size as the result 2022-05-27 14:06:32 +00:00
builtin_type_macros.h glsl: add vec5 glsl types 2022-01-18 16:10:35 +08:00
glsl_types.cpp util: Remove util_cpu_detect 2022-04-20 18:44:35 +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/glsl: wrap component_slots_aligned() 2022-05-16 03:33:18 +00:00
nir_types.h nir/glsl: wrap component_slots_aligned() 2022-05-16 03:33:18 +00:00
shader_enums.c compiler: add VARYING_SLOT_CULL_PRIMITIVE 2022-05-13 09:43:02 +00:00
shader_enums.h compiler: add VARYING_SLOT_CULL_PRIMITIVE 2022-05-13 09:43:02 +00:00
shader_info.h nir: Keep track of cross-invocation mesh shader output access. 2022-05-27 11:22:07 +00:00