mesa/src/compiler
Jose Maria Casanova Crespo e7127b3468 nir/algebraic: optimize iand/ior of (n)eq zero when umax/umin not available
Before 8e1b75b330 ("nir/algebraic: optimize iand/ior of (n)eq zero") this
optimization didn't need the use of umax/umin. VC4 HW supports only signed
integer max/min operations.

lower_umin and lower_umax are added to allow enabling previous optimizations
behaviour for this cases.

Fixes: 8e1b75b330 ("nir/algebraic: optimize iand/ior of (n)eq zero")
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7083>
2020-10-10 13:16:37 +02:00
..
glsl disk_cache: build option for disabled-by-default 2020-10-09 16:52:49 +00:00
nir nir/algebraic: optimize iand/ior of (n)eq zero when umax/umin not available 2020-10-10 13:16:37 +02:00
spirv spirv: Move nir_lower_libclc to src/compiler/spirv 2020-10-07 21:52:04 +00:00
Android.glsl.gen.mk Android: Fixes for Q and R 2020-07-15 20:49:24 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk
Android.nir.gen.mk nir: Add missing dependency in Android.nir.gen.mk 2019-08-19 09:53:18 +03:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h nir/vtn: Add support for kernel images to SPIRV-to-NIR. 2020-08-31 21:17:39 +00:00
glsl_types.cpp nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
glsl_types.h nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
Makefile.sources spirv: Move nir_lower_libclc to src/compiler/spirv 2020-10-07 21:52:04 +00:00
meson.build spirv: add some tests for volatile/available/visible 2020-09-01 17:15:22 +00:00
nir_types.cpp nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
nir_types.h nir: Add a pass to lower vec3s to vec4s 2020-10-02 07:30:49 +00:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl util: Move xxd.py to util 2020-10-07 21:52:04 +00:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
shader_enums.c compiler: add INTERP_MODE_COLOR for radeonsi 2020-09-02 23:03:00 -04:00
shader_enums.h compiler: add INTERP_MODE_COLOR for radeonsi 2020-09-02 23:03:00 -04:00
shader_info.h nir: add new helper passes that lower uniforms to literals 2020-10-07 17:30:12 +00:00