freedreno/ir3: set lower_uniforms_to_ubo compiler flag

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6316>
This commit is contained in:
Gert Wollny 2020-09-13 21:27:35 +02:00 committed by Marge Bot
parent b155b6869c
commit 7ab804dbb4
1 changed files with 2 additions and 0 deletions

View File

@ -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 *