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:
parent
b155b6869c
commit
7ab804dbb4
|
@ -78,6 +78,7 @@ static const nir_shader_compiler_options options = {
|
||||||
* supported there.
|
* supported there.
|
||||||
*/
|
*/
|
||||||
.lower_int64_options = (nir_lower_int64_options)~0,
|
.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: */
|
/* 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.
|
* supported there.
|
||||||
*/
|
*/
|
||||||
.lower_int64_options = (nir_lower_int64_options)~0,
|
.lower_int64_options = (nir_lower_int64_options)~0,
|
||||||
|
.lower_uniforms_to_ubo = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
const nir_shader_compiler_options *
|
const nir_shader_compiler_options *
|
||||||
|
|
Loading…
Reference in New Issue