From 95e50d198fd8585dc60d253ad779a764333cdb10 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 20 Jul 2022 13:01:44 -0700 Subject: [PATCH] intel/vec4: Set lower_usub_sat Reviewed-by: Emma Anholt Closes: #6900 Fixes: 90a8fb03 ("nir/lower_io: Fix array length of buffers larger than INT32_MAX.") Part-of: --- 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,