diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index f10ec8b9e87..f3ca62063dd 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -78,6 +78,7 @@ static const nir_shader_compiler_options options = { * supported there. */ .lower_int64_options = (nir_lower_int64_options)~0, + .lower_uniforms_to_ubo = true, }; /* we don't want to lower vertex_id to _zero_based on newer gpus: */ @@ -129,6 +130,7 @@ static const nir_shader_compiler_options options_a6xx = { * supported there. */ .lower_int64_options = (nir_lower_int64_options)~0, + .lower_uniforms_to_ubo = true, }; const nir_shader_compiler_options *