mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
nir: Add option lower_uniforms_to_ubo
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
8939c642e0
commit
2c9fee9b6a
1 changed files with 4 additions and 0 deletions
|
|
@ -3319,6 +3319,10 @@ typedef struct nir_shader_compiler_options {
|
|||
|
||||
unsigned max_unroll_iterations;
|
||||
|
||||
/* For the non-zero value of the enum corresponds multiplier when
|
||||
* calling lower_uniforms_to_ubo */
|
||||
bool lower_uniforms_to_ubo;
|
||||
|
||||
nir_lower_int64_options lower_int64_options;
|
||||
nir_lower_doubles_options lower_doubles_options;
|
||||
} nir_shader_compiler_options;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue