Home | History | Annotate | Download | only in glsl

Lines Matching refs:Uniforms

37  *   - Types and qualifiers of uniforms, outputs, and global variables defined
39 * - Initializers for uniforms and global variables defined
56 * - Types of uniforms defined in multiple shader stages with the same name
58 * - Initializers for uniforms defined in multiple shader stages with the
323 /* Examine all of the uniforms in all of the shaders and cross validate
435 * Perform validation of uniforms used across multiple shader stages
987 add_uniform(void *mem_ctx, exec_list *uniforms, struct hash_table *ht,
998 int firstIndex = add_uniform(mem_ctx, uniforms, ht, field_name, field_type,
1014 int firstIndex = add_uniform(mem_ctx, uniforms, ht, elem_name, array_elem_type,
1054 uniforms->push_tail(&n->link);
1068 exec_list uniforms;
1075 uniforms
1090 * builtin uniforms. It's permitted by spec, and we'll
1096 var->location = add_uniform(mem_ctx, &uniforms, ht, var->name, var->type,
1106 ul->Uniforms = (gl_uniform *)hieralloc_zero_size(ul, total_uniforms * sizeof(gl_uniform));
1110 for (uniform_node *node = (uniform_node *) uniforms.head
1116 memcpy(&ul->Uniforms[idx], node->u, sizeof(gl_uniform));
1125 prog->Uniforms = ul;
1126 prog->Uniforms->Slots = next_position;
1127 prog->Uniforms->SamplerSlots = next_sampler_pos;
1627 * performed, then locations are assigned for uniforms, attributes, and
1657 * uniforms, and varyings. Later optimization could possibly make
1745 (prog->Uniforms->Slots + prog->Uniforms->SamplerSlots) * sizeof(float) * 4 + sizeof(VertexInput) + sizeof(VertexOutput) + 16);
1750 // initialize uniforms to zero after link
1751 memset(prog->ValuesUniform, 0, sizeof(float) * 4 * (prog->Uniforms->Slots + prog->Uniforms->SamplerSlots));