mesa/src/compiler
Emma Anholt 8c4b88ee48 gallium+glsl: Remove EmitNoSat/PIPE_CAP_VERTEX_SHADER_SATURATE
The drivers not setting it were:

- nv30, which gets lowering using NIR's lower_fsat flag.
- r300, which gets lowering using NIR's lower_fsat flag.
- a2xx, which has was getting it optimized back to fsat anyway.

This drops the check for the cap from gallium nine.  While nine does have
a non-nir path, I think it's safe to assume that if you have SM3
texturing, you can do fsat.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16823>
2022-06-07 02:38:42 +00:00
..
clc clc: Fix build with llvm-15. 2022-06-04 22:27:55 -07:00
glsl gallium+glsl: Remove EmitNoSat/PIPE_CAP_VERTEX_SHADER_SATURATE 2022-06-07 02:38:42 +00:00
isaspec util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
nir ac/nir: Add remappability to tess and ESGS I/O lowering passes. 2022-06-07 01:40:14 +00:00
spirv spirv: Workaround for RelaxedPrecision on OpLogical* in 3DMark 2022-06-03 07:50:53 +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 mesa: pass select result buffer offset as attribute/varying 2022-06-06 18:23:49 +00:00
shader_info.h nir: Keep track of cross-invocation mesh shader output access. 2022-05-27 11:22:07 +00:00