Home
last modified time | relevance | path

Searched refs:gl_constant_value (Results 1 – 25 of 25) sorted by relevance

/external/mesa3d/src/mesa/program/
Dprog_parameter.h80 typedef union gl_constant_value union
86 } gl_constant_value; typedef
141 gl_constant_value *ParameterValues; /**< Array [Size] of gl_constant_value */
164 const gl_constant_value *values,
170 const gl_constant_value values[4], GLuint size,
175 const gl_constant_value values[4], GLuint size, in _mesa_add_unnamed_constant()
Dprog_parameter.c53 const gl_constant_value v[], GLuint vSize, in lookup_parameter_constant()
155 p->ParameterValues = (gl_constant_value *) in _mesa_new_parameter_list_sized()
156 align_malloc(size * 4 *sizeof(gl_constant_value), 16); in _mesa_new_parameter_list_sized()
214 paramList->ParameterValues = (gl_constant_value *) in _mesa_reserve_parameter_storage()
216 oldNum * 4 * sizeof(gl_constant_value),/* old sz */ in _mesa_reserve_parameter_storage()
217 paramList->Size*4*sizeof(gl_constant_value),/*new*/ in _mesa_reserve_parameter_storage()
242 const gl_constant_value *values, in _mesa_add_parameter()
326 const gl_constant_value values[4], GLuint size, in _mesa_add_typed_unnamed_constant()
348 gl_constant_value *pVal = paramList->ParameterValues + offset; in _mesa_add_typed_unnamed_constant()
Dprog_parameter_layout.c100 gl_constant_value *pv_dst = in copy_indirect_accessed_array()
102 gl_constant_value *pv_src = in copy_indirect_accessed_array()
197 const gl_constant_value *const v = in _mesa_layout_parameters()
Dprog_opt_constant_fold.c58 (gl_constant_value *) &val, 1, &swiz); in src_reg_for_float()
73 (gl_constant_value *) val, 4, &swiz); in src_reg_for_vec4()
94 const gl_constant_value *const value = in get_value()
Dprogram_parser.h102 gl_constant_value data[4];
Dir_to_mesa.cpp497 (const gl_constant_value *)&val, 1, &src.swizzle); in src_reg_for_float()
1873 (gl_constant_value *) values, in visit()
1911 (gl_constant_value *) values, in visit()
2601 gl_constant_value *uni_storage = (gl_constant_value *) in _mesa_associate_uniform_storage()
Dprog_statevars.c58 gl_constant_value *val) in fetch_state()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_constant_state.c157 const int size = prog_data->nr_params * sizeof(gl_constant_value); in gen6_upload_push_constants()
158 gl_constant_value *param; in gen6_upload_push_constants()
168 STATIC_ASSERT(sizeof(gl_constant_value) == sizeof(float)); in gen6_upload_push_constants()
258 gl_constant_value *constants = brw_upload_space(&brw->upload, size, 64, in brw_upload_pull_constants()
261 STATIC_ASSERT(sizeof(gl_constant_value) == sizeof(float)); in brw_upload_pull_constants()
269 const gl_constant_value *row = &constants[i * 4]; in brw_upload_pull_constants()
326 STATIC_ASSERT(sizeof(gl_constant_value) == sizeof(float)); in brw_upload_cs_push_constants()
Dbrw_curbe.c204 gl_constant_value *buf; in brw_upload_constant_buffer()
221 STATIC_ASSERT(sizeof(gl_constant_value) == sizeof(float)); in brw_upload_constant_buffer()
Dbrw_nir_uniforms.cpp183 gl_constant_value *components = storage->storage; in brw_nir_setup_glsl_uniform()
/external/mesa3d/src/compiler/glsl/tests/
Duniform_initializer_utils.cpp31 fill_storage_array_with_sentinels(gl_constant_value *storage, in fill_storage_array_with_sentinels()
46 red_zone_is_intact(gl_constant_value *storage, in red_zone_is_intact()
212 uint64_storage(union gl_constant_value *storage) in uint64_storage()
220 double_storage(union gl_constant_value *storage) in double_storage()
239 verify_data(gl_constant_value *storage, unsigned storage_array_size, in verify_data()
Duniform_initializer_utils.h32 fill_storage_array_with_sentinels(gl_constant_value *storage,
47 verify_data(gl_constant_value *storage, unsigned storage_array_size,
Dcopy_constant_to_storage_tests.cpp32 copy_constant_to_storage(union gl_constant_value *storage,
50 gl_constant_value storage[17];
Dset_uniform_initializer_tests.cpp132 rzalloc_array(prog, union gl_constant_value, total_components); in establish_uniform_storage()
/external/mesa3d/src/mesa/main/
Duniform_query.cpp339 const union gl_constant_value *src; in _mesa_get_uniform()
342 src = (gl_constant_value *) uni->driver_storage[0].data + in _mesa_get_uniform()
371 union gl_constant_value *const dst = in _mesa_get_uniform()
372 (union gl_constant_value *) paramsOut; in _mesa_get_uniform()
670 const union gl_constant_value *v = (const union gl_constant_value *) values; in log_uniform()
1039 copy_uniforms_to_storage(gl_constant_value *storage, in copy_uniforms_to_storage()
1052 const union gl_constant_value *src = in copy_uniforms_to_storage()
1053 (const union gl_constant_value *) values; in copy_uniforms_to_storage()
1061 const union gl_constant_value *src = in copy_uniforms_to_storage()
1062 (const union gl_constant_value *) values; in copy_uniforms_to_storage()
[all …]
Dmtypes.h2938 union gl_constant_value *UniformDataSlots;
2949 union gl_constant_value *UniformDataDefaults;
Dffvertex_prog.c469 gl_constant_value values[4]; in register_const4f()
/external/mesa3d/src/compiler/glsl/
Dir_uniform.h127 union gl_constant_value *storage;
Dlink_uniform_initializers.cpp48 copy_constant_to_storage(union gl_constant_value *storage, in copy_constant_to_storage()
309 sizeof(union gl_constant_value) * prog->data->NumUniformDataSlots); in link_set_uniform_initializers()
Dgl_nir_link_uniform_initializers.c113 copy_constant_to_storage(union gl_constant_value *storage, in copy_constant_to_storage()
305 sizeof(union gl_constant_value) * prog->data->NumUniformDataSlots); in gl_nir_set_uniform_initializers()
Dserialize.cpp486 sizeof(union gl_constant_value) * vec_size); in write_uniforms()
495 union gl_constant_value *data; in read_uniforms()
505 data = rzalloc_array(uniforms, union gl_constant_value, in read_uniforms()
509 rzalloc_array(uniforms, union gl_constant_value, in read_uniforms()
556 sizeof(union gl_constant_value) * vec_size); in read_uniforms()
564 sizeof(union gl_constant_value) * prog->data->NumUniformDataSlots); in read_uniforms()
1044 sizeof(gl_constant_value) * params->NumParameterValues); in write_shader_parameters()
1078 sizeof(gl_constant_value) * params->NumParameterValues); in read_shader_parameters()
Dlink_uniforms.cpp686 union gl_constant_value *values, in parcel_out_uniform_storage()
1231 union gl_constant_value *values;
1588 union gl_constant_value *data; in link_assign_uniform_storage()
1594 union gl_constant_value, num_data_slots); in link_assign_uniform_storage()
1597 union gl_constant_value, num_data_slots); in link_assign_uniform_storage()
1603 union gl_constant_value *data_end = &data[num_data_slots]; in link_assign_uniform_storage()
Dgl_nir_link_uniforms.c193 union gl_constant_value *data = in nir_setup_uniform_remap_tables()
195 union gl_constant_value, prog->data->NumUniformDataSlots); in nir_setup_uniform_remap_tables()
204 union gl_constant_value, prog->data->NumUniformDataSlots); in nir_setup_uniform_remap_tables()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_constbuf.c127 gl_constant_value *constbuf = params->ParameterValues; in st_upload_constants()
Dst_glsl_to_tgsi.cpp141 immediate_storage(gl_constant_value *values, int size32, GLenum type) in immediate_storage()
143 memcpy(this->values, values, size32 * sizeof(gl_constant_value)); in immediate_storage()
149 gl_constant_value values[4];
252 int add_constant(gl_register_file file, gl_constant_value values[8],
895 gl_constant_value values[8], int size, in add_constant()
929 slot_size * sizeof(gl_constant_value))) in add_constant()
958 union gl_constant_value uval; in st_src_reg_for_float()
970 union gl_constant_value uval[2]; in st_src_reg_for_double()
982 union gl_constant_value uval; in st_src_reg_for_int()
996 union gl_constant_value uval[2]; in st_src_reg_for_int64()
[all …]