Home
last modified time | relevance | path

Searched refs:UniformStorage (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/glsl/tests/
Dset_uniform_initializer_tests.cpp111 prog->UniformStorage = rzalloc_array(prog, struct gl_uniform_storage, in establish_uniform_storage()
115 prog->UniformStorage[index_to_set].name = (char *) name; in establish_uniform_storage()
116 prog->UniformStorage[index_to_set].type = type; in establish_uniform_storage()
117 prog->UniformStorage[index_to_set].array_elements = array_size; in establish_uniform_storage()
118 prog->UniformStorage[index_to_set].initialized = false; in establish_uniform_storage()
119 prog->UniformStorage[index_to_set].sampler = ~0; in establish_uniform_storage()
120 prog->UniformStorage[index_to_set].num_driver_storage = 0; in establish_uniform_storage()
121 prog->UniformStorage[index_to_set].driver_storage = NULL; in establish_uniform_storage()
122 prog->UniformStorage[index_to_set].storage = in establish_uniform_storage()
125 fill_storage_array_with_sentinels(prog->UniformStorage[index_to_set].storage, in establish_uniform_storage()
[all …]
/external/mesa3d/src/mesa/main/
Duniform_query.cpp59 const struct gl_uniform_storage *const uni = &shProg->UniformStorage[index]; in _mesa_GetActiveUniformARB()
109 const struct gl_uniform_storage *uni = &shProg->UniformStorage[index]; in _mesa_GetActiveUniformsiv()
237 if (shProg->UniformStorage[*loc].array_elements == 0 && count > 1) { in validate_uniform_parameters()
248 unsigned limit = shProg->UniformStorage[*loc].array_elements; in validate_uniform_parameters()
276 uni = &shProg->UniformStorage[loc]; in _mesa_get_uniform()
592 uni = &shProg->UniformStorage[loc]; in _mesa_uniform()
845 uni = &shProg->UniformStorage[loc]; in _mesa_uniform_matrix()
1015 || strcmp(name_copy, shProg->UniformStorage[location].name) == 0); in _mesa_get_uniform_location()
1031 && offset >= shProg->UniformStorage[location].array_elements) { in _mesa_get_uniform_location()
1049 &shProg->UniformStorage[i]; in _mesa_sampler_uniforms_are_valid()
Dshaderobj.c282 if (shProg->UniformStorage) { in _mesa_clear_shader_program_data()
285 _mesa_uniform_detach_all_driver_storage(&shProg->UniformStorage[i]); in _mesa_clear_shader_program_data()
286 ralloc_free(shProg->UniformStorage); in _mesa_clear_shader_program_data()
288 shProg->UniformStorage = NULL; in _mesa_clear_shader_program_data()
Duniforms.c532 if (shProg->UniformStorage[index].block_index != -1) in _mesa_GetUniformLocationARB()
799 shProg->UniformStorage[uniformIndex].name); in _mesa_GetActiveUniformName()
Dshaderapi.c518 const GLint len = strlen(shProg->UniformStorage[i].name) + 1; in get_programiv()
Dmtypes.h2360 struct gl_uniform_storage *UniformStorage; member
/external/mesa3d/src/mesa/program/
Dsampler.cpp122 return shader_program->UniformStorage[location].sampler + getname.offset; in _mesa_get_sampler_uniform_value()
Dir_to_mesa.cpp2427 &this->shader_program->UniformStorage[location]; in visit_field()
2493 &shader_program->UniformStorage[location]; in _mesa_associate_uniform_storage()
/external/mesa3d/src/glsl/
Dlink_uniforms.cpp522 ralloc_free(prog->UniformStorage); in link_assign_uniform_locations()
523 prog->UniformStorage = NULL; in link_assign_uniform_locations()
642 prog->UniformStorage = uniforms; in link_assign_uniform_locations()
Dlink_uniform_initializers.cpp112 get_storage(prog->UniformStorage, in set_uniform_initializer()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c147 const struct gl_uniform_storage *u = &shProg[j]->UniformStorage[i]; in check_uniforms()
Dst_glsl_to_tgsi.cpp4557 &program->shader_program->UniformStorage[i]; in st_translate_program()