st/mesa/glsl/i965: set num_ubos directly in shader_info
[mesa.git] / src / compiler / glsl / glsl_to_nir.cpp
index 4e0a33a9e74d2f407f7da5a97b03b1aa27efe0d8..2620b417498dd55705cfa7ed8a3b9eed89fe89f0 100644 (file)
@@ -150,7 +150,6 @@ glsl_to_nir(const struct gl_shader_program *shader_prog,
    if (shader_prog->Label)
       shader->info->label = ralloc_strdup(shader, shader_prog->Label);
    shader->info->num_textures = util_last_bit(sh->Program->SamplersUsed);
-   shader->info->num_ubos = sh->NumUniformBlocks;
    shader->info->num_ssbos = sh->NumShaderStorageBlocks;
    shader->info->clip_distance_array_size = sh->Program->ClipDistanceArraySize;
    shader->info->cull_distance_array_size = sh->Program->CullDistanceArraySize;