Lines Matching defs:uniform
165 * "All members of a named uniform block declared with a shared or
167 * referenced in any shader in the program. The uniform block itself is
172 * the same way. If the variable is in a uniform block with one of those
185 * hidden uniform then it should be safe to remove as this was a constant
186 * variable that has been lowered to a uniform.
270 * * members of a uniform block;
663 struct gl_uniform_storage *uniform = &prog->data->UniformStorage[i];
665 if (uniform->hidden) {
667 if (!uniform->opaque[j].active ||
668 glsl_get_base_type(uniform->type) != GLSL_TYPE_SUBROUTINE)
675 type, uniform, 0))
682 if (!link_util_should_add_buffer_variable(prog, uniform,
704 block_index = uniform->block_index;
707 GLenum interface = uniform->is_shader_storage ? GL_BUFFER_VARIABLE : GL_UNIFORM;
708 if (!link_util_add_program_resource(prog, resource_set, interface, uniform,
709 uniform->active_shader_mask)) {