From 25608659a03f3aefdb4d3a0c8d56ad96e30130c0 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 22 Dec 2022 09:35:19 +0200 Subject: [PATCH] intel/compiler: mark shader_record_ptr as uniform Signed-off-by: Lionel Landwerlin Reviewed-by: Jason Ekstrand Part-of: --- src/intel/compiler/brw_compiler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_compiler.c b/src/intel/compiler/brw_compiler.c index 8b66716..e7fc905 100644 --- a/src/intel/compiler/brw_compiler.c +++ b/src/intel/compiler/brw_compiler.c @@ -75,7 +75,8 @@ .divergence_analysis_options = \ (nir_divergence_single_prim_per_subgroup | \ nir_divergence_single_patch_per_tcs_subgroup | \ - nir_divergence_single_patch_per_tes_subgroup) + nir_divergence_single_patch_per_tes_subgroup | \ + nir_divergence_shader_record_ptr_uniform) static const struct nir_shader_compiler_options scalar_nir_options = { COMMON_OPTIONS, -- 2.7.4