nir: allow nir_lower_uniforms_to_ubo to be run repeatedly

for st/mesa

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Marek Olšák
2019-10-18 19:49:44 -04:00
parent aa8515463e
commit a0b711d8e9
2 changed files with 7 additions and 1 deletions

View File

@@ -151,6 +151,9 @@ typedef struct shader_info {
/* The size of the gl_CullDistance[] array, if declared. */
unsigned cull_distance_array_size;
/* Whether the first UBO is the default uniform buffer, i.e. uniforms. */
bool first_ubo_is_default_ubo;
/* Whether or not separate shader objects were used */
bool separate_shader;