diff options
author | Timothy Arceri <[email protected]> | 2016-11-05 08:44:22 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-06 11:21:41 +1100 |
commit | b792c3897927c1d89968bc0040faef02ec976184 (patch) | |
tree | c2de83abcdb6522dd42b2599127fbc1f1b2dccbe /src/compiler/glsl/glsl_to_nir.cpp | |
parent | a1da57c19c27505b9eab4792355f2f1b5c774a0a (diff) |
st/mesa/glsl/i965: set num_ubos directly in shader_info
This also removes the duplicate field in gl_linked_shader, and
gets num_ubos from shader_info instead.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_to_nir.cpp')
-rw-r--r-- | src/compiler/glsl/glsl_to_nir.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp index 4e0a33a9e74..2620b417498 100644 --- a/src/compiler/glsl/glsl_to_nir.cpp +++ b/src/compiler/glsl/glsl_to_nir.cpp @@ -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; |