intel/compiler: mark shader_record_ptr as uniform
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 22 Dec 2022 07:35:19 +0000 (09:35 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 23 Dec 2022 09:22:13 +0000 (09:22 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20413>

src/intel/compiler/brw_compiler.c

index 8b66716..e7fc905 100644 (file)
@@ -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,