Lines Matching defs:uniform
43 struct gl_uniform_storage *uniform,
49 /* If the uniform is not a shader storage buffer or is not an array return
52 if (!uniform->is_shader_storage || top_level_array_size_in_bytes == 0)
61 if (block_index != uniform->block_index ||
62 uniform->offset >= after_top_level_array ||
63 uniform->offset < second_element_offset) {
108 * uniform.
112 struct gl_uniform_storage *uniform)
114 const unsigned entries = MAX2(1, uniform->array_elements);
118 /* Found a block with enough slots to fit the uniform */
176 * Validate uniform resources used by a program versus the implementation limits
194 linker_warning(prog, "Too many %s shader default uniform block "
200 linker_error(prog, "Too many %s shader default uniform block "
209 linker_warning(prog, "Too many %s shader uniform components, "
214 linker_error(prog, "Too many %s shader uniform components\n",
224 linker_error(prog, "Too many combined uniform blocks (%d/%d)\n",
274 linker_error(prog, "subroutine uniform %s defined but no valid functions found\n", uni->type->name);