/external/mesa3d/src/compiler/glsl/tests/ |
D | set_uniform_initializer_tests.cpp | 118 prog->data->UniformStorage = rzalloc_array(prog, struct gl_uniform_storage, in establish_uniform_storage() 122 prog->data->UniformStorage[index_to_set].name = (char *) name; in establish_uniform_storage() 123 prog->data->UniformStorage[index_to_set].type = type; in establish_uniform_storage() 124 prog->data->UniformStorage[index_to_set].array_elements = array_size; in establish_uniform_storage() 126 prog->data->UniformStorage[index_to_set].opaque[sh].index = ~0; in establish_uniform_storage() 127 prog->data->UniformStorage[index_to_set].opaque[sh].active = false; in establish_uniform_storage() 129 prog->data->UniformStorage[index_to_set].num_driver_storage = 0; in establish_uniform_storage() 130 prog->data->UniformStorage[index_to_set].driver_storage = NULL; in establish_uniform_storage() 131 prog->data->UniformStorage[index_to_set].storage = in establish_uniform_storage() 134 fill_storage_array_with_sentinels(prog->data->UniformStorage[index_to_set].storage, in establish_uniform_storage() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | link_uniforms.cpp | 1420 if (prog->data->UniformStorage[i].type->is_subroutine() || in link_setup_uniform_remap_tables() 1421 prog->data->UniformStorage[i].is_shader_storage) in link_setup_uniform_remap_tables() 1424 if (prog->data->UniformStorage[i].remap_location != in link_setup_uniform_remap_tables() 1428 MAX2(1, prog->data->UniformStorage[i].array_elements); in link_setup_uniform_remap_tables() 1433 prog->data->UniformStorage[i].remap_location + j; in link_setup_uniform_remap_tables() 1437 &prog->data->UniformStorage[i]; in link_setup_uniform_remap_tables() 1445 if (prog->data->UniformStorage[i].type->is_subroutine() || in link_setup_uniform_remap_tables() 1446 prog->data->UniformStorage[i].is_shader_storage) in link_setup_uniform_remap_tables() 1450 if (prog->data->UniformStorage[i].builtin) in link_setup_uniform_remap_tables() 1454 if (prog->data->UniformStorage[i].remap_location != UNMAPPED_UNIFORM_LOC) in link_setup_uniform_remap_tables() [all …]
|
D | gl_nir_link_uniforms.c | 210 struct gl_uniform_storage *uniform = &prog->data->UniformStorage[i]; in nir_setup_uniform_remap_tables() 216 if (prog->data->UniformStorage[i].remap_location == UNMAPPED_UNIFORM_LOC) in nir_setup_uniform_remap_tables() 239 struct gl_uniform_storage *uniform = &prog->data->UniformStorage[i]; in nir_setup_uniform_remap_tables() 260 if (prog->data->UniformStorage[i].block_index == -1) in nir_setup_uniform_remap_tables() 264 link_util_find_empty_block(prog, &prog->data->UniformStorage[i]); in nir_setup_uniform_remap_tables() 307 struct gl_uniform_storage *uniform = &prog->data->UniformStorage[i]; in nir_setup_uniform_remap_tables() 312 if (prog->data->UniformStorage[i].remap_location == UNMAPPED_UNIFORM_LOC) in nir_setup_uniform_remap_tables() 317 MAX2(1, prog->data->UniformStorage[i].array_elements); in nir_setup_uniform_remap_tables() 327 if (!prog->data->UniformStorage[i].opaque[j].active) in nir_setup_uniform_remap_tables() 333 prog->data->UniformStorage[i].remap_location + k; in nir_setup_uniform_remap_tables() [all …]
|
D | serialize.cpp | 420 if (!prog->data->UniformStorage[idx].builtin && in has_uniform_storage() 421 !prog->data->UniformStorage[idx].is_shader_storage && in has_uniform_storage() 422 prog->data->UniformStorage[idx].block_index == -1) in has_uniform_storage() 436 encode_type_to_blob(metadata, prog->data->UniformStorage[i].type); in write_uniforms() 437 blob_write_uint32(metadata, prog->data->UniformStorage[i].array_elements); in write_uniforms() 438 if (prog->data->UniformStorage[i].name) { in write_uniforms() 439 blob_write_string(metadata, prog->data->UniformStorage[i].name); in write_uniforms() 443 blob_write_uint32(metadata, prog->data->UniformStorage[i].builtin); in write_uniforms() 444 blob_write_uint32(metadata, prog->data->UniformStorage[i].remap_location); in write_uniforms() 445 blob_write_uint32(metadata, prog->data->UniformStorage[i].block_index); in write_uniforms() [all …]
|
D | link_atomics.cpp | 123 &prog->data->UniformStorage[*uniform_loc]; in process_atomic_variable() 240 &prog->data->UniformStorage[ab.uniforms[j].uniform_loc]; in link_assign_atomic_counter_resources() 286 prog->data->UniformStorage[atomic_buffer->Uniforms[u]].opaque[j].index = in link_assign_atomic_counter_resources() 288 prog->data->UniformStorage[atomic_buffer->Uniforms[u]].opaque[j].active = in link_assign_atomic_counter_resources()
|
D | gl_nir_linker.c | 508 struct gl_uniform_storage *uniform = &prog->data->UniformStorage[i]; in nir_build_program_resource_list() 534 if (prog->data->UniformStorage[i].offset >= second_element_offset) { in nir_build_program_resource_list() 536 prog->data->UniformStorage[i].offset; in nir_build_program_resource_list() 539 prog->data->UniformStorage[i].top_level_array_size * in nir_build_program_resource_list() 540 prog->data->UniformStorage[i].top_level_array_stride; in nir_build_program_resource_list() 547 prog->data->UniformStorage[i].top_level_array_stride : -1; in nir_build_program_resource_list()
|
D | gl_nir_link_atomics.c | 104 &prog->data->UniformStorage[*uniform_loc]; in process_atomic_variable() 230 &prog->data->UniformStorage[ab->uniforms[j].loc]; in gl_nir_link_assign_atomic_counter_resources() 289 prog->data->UniformStorage[uniform_loc].opaque + stage; in gl_nir_link_assign_atomic_counter_resources()
|
D | gl_nir_lower_samplers_as_deref.c | 168 state->shader_program->data->UniformStorage[location].opaque[stage].active); in lower_deref() 170 binding = state->shader_program->data->UniformStorage[location].opaque[stage].index; in lower_deref()
|
D | gl_nir_link_uniform_initializers.c | 57 data->prog->sh.data->UniformStorage + data->location++; in set_opaque_binding() 217 data->prog->sh.data->UniformStorage + data->location++; in set_uniform_initializer()
|
D | linker.cpp | 4132 if (shProg->data->UniformStorage[i].hidden) in build_program_resource_list() 4136 shProg->data->UniformStorage[i].is_shader_storage; in build_program_resource_list() 4139 &shProg->data->UniformStorage[i], in build_program_resource_list() 4160 if (shProg->data->UniformStorage[i].offset >= second_element_offset) { in build_program_resource_list() 4162 shProg->data->UniformStorage[i].offset; in build_program_resource_list() 4165 shProg->data->UniformStorage[i].top_level_array_size * in build_program_resource_list() 4166 shProg->data->UniformStorage[i].top_level_array_stride; in build_program_resource_list() 4173 shProg->data->UniformStorage[i].top_level_array_stride : -1; in build_program_resource_list() 4176 buffer_block_index = shProg->data->UniformStorage[i].block_index; in build_program_resource_list() 4179 uint8_t stageref = shProg->data->UniformStorage[i].active_shader_mask; in build_program_resource_list() [all …]
|
D | gl_nir_lower_atomics.c | 110 shader_program->data->UniformStorage[uniform_loc].opaque[shader->info.stage].index; in lower_deref_instr()
|
D | standalone_scaffolding.cpp | 160 shProg->data->UniformStorage = NULL; in _mesa_clear_shader_program_data()
|
D | link_uniform_initializers.cpp | 41 return &prog->data->UniformStorage[id]; in get_storage()
|
/external/mesa3d/src/mesa/main/ |
D | shaderobj.c | 215 oldData->UniformStorage); in _mesa_reference_shader_program_data() 218 _mesa_uniform_detach_all_driver_storage(&oldData->UniformStorage[i]); in _mesa_reference_shader_program_data()
|
D | shaderapi.c | 732 if (!shProg->data->UniformStorage[i].is_shader_storage) in get_programiv() 744 if (shProg->data->UniformStorage[i].is_shader_storage) in get_programiv() 757 strlen_or_zero(shProg->data->UniformStorage[i].name); in get_programiv() 763 ((shProg->data->UniformStorage[i].array_elements != 0) ? 3 : 0); in get_programiv()
|
D | shader_query.cpp | 1304 &shProg->data->UniformStorage[idx]); in get_buffer_property()
|
D | mtypes.h | 2925 struct gl_uniform_storage *UniformStorage; member
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_nir_uniforms.cpp | 171 &prog->sh.data->UniformStorage[var->data.location + u]; in brw_nir_setup_glsl_uniform() 353 &prog->sh.data->UniformStorage[var->data.location]; in brw_nir_lower_gl_images()
|
/external/mesa3d/docs/relnotes/ |
D | 10.1.1.rst | 134 UniformStorage
|
/external/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 1644 assert(shader_program->data->UniformStorage[location].opaque[shader].active); in get_sampler_uniform_value() 1645 return shader_program->data->UniformStorage[location].opaque[shader].index + in get_sampler_uniform_value() 2489 &shader_program->data->UniformStorage[location]; in _mesa_associate_uniform_storage()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi.cpp | 4233 *base += this->shader_program->data->UniformStorage[location].opaque[shader].index; in get_deref_offsets() 4234 *index += this->shader_program->data->UniformStorage[location].opaque[shader].index; in get_deref_offsets() 6950 gl_uniform_storage *uni_storage = &prog->sh.data->UniformStorage[ainfo->location]; in st_translate_program()
|