Home
last modified time | relevance | path

Searched refs:Uniforms (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/pixelflinger2/
Dshader.cpp264 …ying=%d uniforms=%d \n", program->AttributeSlots, program->VaryingSlots, program->Uniforms->Slots); in GGLShaderProgramLink()
273 for (unsigned i = 0; i < program->Uniforms->NumUniforms; i++) { in GGLShaderProgramLink()
274 const gl_uniform & uniform = program->Uniforms->Uniforms[i]; in GGLShaderProgramLink()
673 *params = program->Uniforms->Slots; in GGLShaderProgramGetiv()
727 for (unsigned i = 0; i < program->Uniforms->NumUniforms; i++) in GGLShaderUniformLocation()
728 if (!strcmp(program->Uniforms->Uniforms[i].Name, name)) in GGLShaderUniformLocation()
735 assert(0 <= location && program->Uniforms->NumUniforms > location); in GGLShaderUniformGetfv()
736 int index = program->Uniforms->Uniforms[location].Pos; in GGLShaderUniformGetfv()
737 assert(0 <= index && program->Uniforms->Slots > index); in GGLShaderUniformGetfv()
743 assert(0 <= location && program->Uniforms->NumUniforms > location); in GGLShaderUniformGetiv()
[all …]
/external/mesa3d/src/glsl/
Dlinker.cpp1110 ul->Uniforms = (gl_uniform *)hieralloc_zero_size(ul, total_uniforms * sizeof(gl_uniform)); in assign_uniform_locations()
1120 memcpy(&ul->Uniforms[idx], node->u, sizeof(gl_uniform)); in assign_uniform_locations()
1129 prog->Uniforms = ul; in assign_uniform_locations()
1130 prog->Uniforms->Slots = next_position; in assign_uniform_locations()
1131 prog->Uniforms->SamplerSlots = next_sampler_pos; in assign_uniform_locations()
1749 …(prog->Uniforms->Slots + prog->Uniforms->SamplerSlots) * sizeof(float) * 4 + sizeof(VertexInput) +… in link_shaders()
1755 …memset(prog->ValuesUniform, 0, sizeof(float) * 4 * (prog->Uniforms->Slots + prog->Uniforms->Sample… in link_shaders()
/external/mesa3d/src/mesa/program/
Dprog_uniform.h68 struct gl_uniform *Uniforms; /**< Array [Size] */ member
/external/mesa3d/src/mesa/main/
Dmtypes.h2127 struct gl_uniform_list *Uniforms; member