intel/compiler: mark shader_record_ptr as uniform

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>
This commit is contained in:
Lionel Landwerlin
2022-12-22 09:35:19 +02:00
committed by Marge Bot
parent 3af08b9c30
commit 25608659a0

View 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,