Mesa (main): intel/vec4: Set lower_usub_sat
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jul 22 18:19:42 UTC 2022
Module: Mesa
Branch: main
Commit: 95e50d198fd8585dc60d253ad779a764333cdb10
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95e50d198fd8585dc60d253ad779a764333cdb10
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Wed Jul 20 13:01:44 2022 -0700
intel/vec4: Set lower_usub_sat
Reviewed-by: Emma Anholt <emma at anholt.net>
Closes: #6900
Fixes: 90a8fb03 ("nir/lower_io: Fix array length of buffers larger than INT32_MAX.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17637>
---
src/intel/compiler/brw_compiler.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c
index feb84bc2adf..969eb7ab58e 100644
--- a/src/intel/compiler/brw_compiler.c
+++ b/src/intel/compiler/brw_compiler.c
@@ -90,6 +90,7 @@ static const struct nir_shader_compiler_options vector_nir_options = {
*/
.fdot_replicates = true,
+ .lower_usub_sat = true,
.lower_pack_snorm_2x16 = true,
.lower_pack_unorm_2x16 = true,
.lower_unpack_snorm_2x16 = true,
More information about the mesa-commit
mailing list