/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_link.cpp | 49 struct gl_linked_shader *vs = sh_prog->_LinkedShaders[MESA_SHADER_VERTEX]; in brw_shader_precompile() 50 struct gl_linked_shader *tcs = sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]; in brw_shader_precompile() 51 struct gl_linked_shader *tes = sh_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in brw_shader_precompile() 52 struct gl_linked_shader *gs = sh_prog->_LinkedShaders[MESA_SHADER_GEOMETRY]; in brw_shader_precompile() 53 struct gl_linked_shader *fs = sh_prog->_LinkedShaders[MESA_SHADER_FRAGMENT]; in brw_shader_precompile() 54 struct gl_linked_shader *cs = sh_prog->_LinkedShaders[MESA_SHADER_COMPUTE]; in brw_shader_precompile() 234 for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) { in brw_link_shader() 235 struct gl_linked_shader *shader = shProg->_LinkedShaders[stage]; in brw_link_shader() 278 for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) { in brw_link_shader() 279 struct gl_linked_shader *shader = shProg->_LinkedShaders[stage]; in brw_link_shader() [all …]
|
D | brw_tes.c | 200 if (sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]) { in brw_tes_populate_default_key() 202 sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]->Program; in brw_tes_populate_default_key()
|
D | brw_tcs.c | 245 sh_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in brw_tcs_populate_default_key() 282 shader_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in brw_tcs_precompile()
|
/external/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 800 struct gl_linked_shader *sh = prog->_LinkedShaders[MESA_SHADER_GEOMETRY]; in validate_geometry_shader_emissions() 1187 if (prog->_LinkedShaders[i] == NULL) in cross_validate_uniforms() 1190 cross_validate_globals(ctx, prog, prog->_LinkedShaders[i]->ir, in cross_validate_uniforms() 1210 if (prog->_LinkedShaders[i]) { in interstage_cross_validate_uniform_blocks() 1213 prog->_LinkedShaders[i]->Program->info.num_ssbos; in interstage_cross_validate_uniform_blocks() 1216 prog->_LinkedShaders[i]->Program->info.num_ubos; in interstage_cross_validate_uniform_blocks() 1222 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in interstage_cross_validate_uniform_blocks() 1234 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ssbos; in interstage_cross_validate_uniform_blocks() 1237 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ubos; in interstage_cross_validate_uniform_blocks() 1273 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in interstage_cross_validate_uniform_blocks() [all …]
|
D | gl_nir_link_uniform_blocks.c | 224 if (prog->_LinkedShaders[i]) { in nir_interstage_cross_validate_uniform_blocks() 227 prog->_LinkedShaders[i]->Program->info.num_ssbos; in nir_interstage_cross_validate_uniform_blocks() 230 prog->_LinkedShaders[i]->Program->info.num_ubos; in nir_interstage_cross_validate_uniform_blocks() 236 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in nir_interstage_cross_validate_uniform_blocks() 248 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ssbos; in nir_interstage_cross_validate_uniform_blocks() 251 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ubos; in nir_interstage_cross_validate_uniform_blocks() 287 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in nir_interstage_cross_validate_uniform_blocks() 588 struct gl_linked_shader *const linked = prog->_LinkedShaders[stage]; in gl_nir_link_uniform_blocks()
|
D | standalone.cpp | 526 whole_program->_LinkedShaders[stage] = in standalone_compile_shader() 537 if (whole_program->_LinkedShaders[stage] != NULL) { in standalone_compile_shader() 544 whole_program->_LinkedShaders[stage]->ir; in standalone_compile_shader() 572 struct gl_linked_shader *shader = whole_program->_LinkedShaders[i]; in standalone_compile_shader() 587 struct gl_linked_shader *shader = whole_program->_LinkedShaders[i]; in standalone_compile_shader() 601 if (whole_program->_LinkedShaders[i]) in standalone_compile_shader() 602 ralloc_free(whole_program->_LinkedShaders[i]->Program); in standalone_compile_shader() 613 if (whole_program->_LinkedShaders[i]) in standalone_compiler_cleanup() 614 ralloc_free(whole_program->_LinkedShaders[i]->Program); in standalone_compiler_cleanup()
|
D | gl_nir_linker.c | 399 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in add_interface_variables() 447 if (!prog->_LinkedShaders[i]) in nir_build_program_resource_list() 584 struct gl_program *p = prog->_LinkedShaders[i]->Program; in nir_build_program_resource_list() 604 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in gl_nir_link_spirv() 640 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in check_image_resources() 652 prog->_LinkedShaders[MESA_SHADER_FRAGMENT]; in check_image_resources() 668 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in gl_nir_link_glsl()
|
D | serialize.cpp | 46 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in write_subroutines() 76 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in read_subroutines() 136 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in write_buffer_blocks() 212 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in read_buffer_blocks() 245 if (prog->_LinkedShaders[i]) { in write_atomic_buffers() 246 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in write_atomic_buffers() 276 if (prog->_LinkedShaders[i]) { in read_atomic_buffers() 277 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in read_atomic_buffers() 382 struct gl_program *prog = shProg->_LinkedShaders[xfb_stage]->Program; in read_xfb() 625 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in write_uniform_remap_tables() [all …]
|
D | linker_util.cpp | 166 struct gl_program *p = prog->_LinkedShaders[i]->Program; in link_util_check_subroutine_resources() 186 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in link_util_check_uniform_resources() 261 struct gl_program *p = prog->_LinkedShaders[i]->Program; in link_util_calculate_subroutine_compat()
|
D | standalone_scaffolding.cpp | 153 if (shProg->_LinkedShaders[i] != NULL) { in _mesa_clear_shader_program_data() 154 _mesa_delete_linked_shader(ctx, shProg->_LinkedShaders[i]); in _mesa_clear_shader_program_data() 155 shProg->_LinkedShaders[i] = NULL; in _mesa_clear_shader_program_data()
|
D | link_uniform_initializers.cpp | 138 gl_linked_shader *shader = prog->_LinkedShaders[sh]; in set_opaque_binding() 248 gl_linked_shader *shader = prog->_LinkedShaders[sh]; in set_uniform_initializer() 268 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in link_set_uniform_initializers()
|
D | gl_nir_link_uniform_initializers.c | 65 struct gl_linked_shader *shader = data->shader_prog->_LinkedShaders[sh]; in set_opaque_binding() 244 data->shader_prog->_LinkedShaders[sh]; in set_uniform_initializer() 261 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in gl_nir_set_uniform_initializers()
|
D | link_atomics.cpp | 160 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in find_active_atomic_counters() 271 if (prog->_LinkedShaders[j] && num_atomic_buffers[j] > 0) { in link_assign_atomic_counter_resources() 272 struct gl_program *gl_prog = prog->_LinkedShaders[j]->Program; in link_assign_atomic_counter_resources()
|
D | gl_nir_link_atomics.c | 145 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in find_active_atomic_counters() 264 if (prog->_LinkedShaders[stage] == NULL || in gl_nir_link_assign_atomic_counter_resources() 268 struct gl_program *gl_prog = prog->_LinkedShaders[stage]->Program; in gl_nir_link_assign_atomic_counter_resources()
|
D | gl_nir_link_uniforms.c | 129 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in update_array_sizes() 325 struct gl_program *p = prog->_LinkedShaders[j]->Program; in nir_setup_uniform_remap_tables() 362 struct gl_program *p = prog->_LinkedShaders[j]->Program; in nir_setup_uniform_remap_tables() 747 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in update_uniforms_shader_info() 790 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in update_uniforms_shader_info() 842 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in update_uniforms_shader_info() 1508 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in gl_nir_link_uniforms() 1522 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in gl_nir_link_uniforms() 1537 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in gl_nir_link_uniforms() 1573 struct gl_linked_shader *sh = prog->_LinkedShaders[shader_type]; in gl_nir_link_uniforms()
|
D | gl_nir_lower_buffers.c | 82 shader_program->_LinkedShaders[b->shader->info.stage]; in get_block_array_index() 127 shader_program->_LinkedShaders[stage]; in get_block_index_offset()
|
D | link_varyings.cpp | 713 gl_linked_shader *sh = prog->_LinkedShaders[stage]; in validate_first_and_last_interface_explicit_locations() 3083 if (prog->_LinkedShaders[i]) { in link_varyings() 3085 process_xfb_layout_qualifiers(mem_ctx, prog->_LinkedShaders[i], in link_varyings() 3128 reserved_varying_slot(prog->_LinkedShaders[last], ir_var_shader_out); in link_varyings() 3130 prog->_LinkedShaders[last], NULL, in link_varyings() 3139 prog->_LinkedShaders[first], in link_varyings() 3142 prog->_LinkedShaders[last], in link_varyings() 3147 gl_linked_shader *const sh = prog->_LinkedShaders[last]; in link_varyings() 3176 if (prog->_LinkedShaders[i] == NULL && i != 0) in link_varyings() 3179 gl_linked_shader *const sh_i = prog->_LinkedShaders[i]; in link_varyings() [all …]
|
D | link_uniforms.cpp | 226 const gl_linked_shader *sh = shProg->_LinkedShaders[i]; in calculate_array_size_and_stride() 970 prog->_LinkedShaders[shader_type]->Program->sh.ImageAccess[i] = access; in handle_images() 983 prog->_LinkedShaders[shader_type]->Program->sh.NumSubroutineUniforms++; in handle_subroutines() 1522 struct gl_program *p = prog->_LinkedShaders[j]->Program; in link_setup_uniform_remap_tables() 1554 struct gl_program *p = prog->_LinkedShaders[j]->Program; in link_setup_uniform_remap_tables() 1611 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in link_assign_uniform_storage() 1706 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in link_assign_uniform_locations()
|
/external/mesa3d/src/mesa/main/ |
D | program_binary.c | 175 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in write_program_payload() 186 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in write_program_payload() 188 struct gl_program *prog = sh_prog->_LinkedShaders[stage]->Program; in write_program_payload() 206 for (stage = 0; stage < ARRAY_SIZE(sh_prog->_LinkedShaders); stage++) { in read_program_payload() 207 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in read_program_payload() 318 if (sh_prog->_LinkedShaders[stage]) in _mesa_program_binary() 319 prog = sh_prog->_LinkedShaders[stage]->Program; in _mesa_program_binary()
|
D | shaderapi.c | 593 shProg->_LinkedShaders[MESA_SHADER_GEOMETRY] != NULL) { in check_gs_query() 618 shProg->_LinkedShaders[MESA_SHADER_TESS_CTRL] != NULL) { in check_tcs_query() 644 shProg->_LinkedShaders[MESA_SHADER_TESS_EVAL] != NULL) { in check_tes_query() 834 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 844 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 852 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 860 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 930 if (shProg->_LinkedShaders[MESA_SHADER_COMPUTE] == NULL) { in get_programiv() 936 params[i] = shProg->_LinkedShaders[MESA_SHADER_COMPUTE]-> in get_programiv() 950 *params = shProg->_LinkedShaders[MESA_SHADER_TESS_CTRL]-> in get_programiv() [all …]
|
D | glspirv.c | 136 if (prog->_LinkedShaders[shader_type]) { in _mesa_spirv_link_shaders() 169 prog->_LinkedShaders[shader_type] = linked; in _mesa_spirv_link_shaders() 178 prog->last_vert_prog = prog->_LinkedShaders[last_vert_stage - 1]->Program; in _mesa_spirv_link_shaders() 222 struct gl_linked_shader *linked_shader = prog->_LinkedShaders[stage]; in _mesa_spirv_to_nir()
|
D | shaderobj.c | 330 if (shProg->_LinkedShaders[sh] != NULL) { in _mesa_clear_shader_program_data() 331 _mesa_delete_linked_shader(ctx, shProg->_LinkedShaders[sh]); in _mesa_clear_shader_program_data() 332 shProg->_LinkedShaders[sh] = NULL; in _mesa_clear_shader_program_data()
|
D | shader_query.cpp | 146 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_GetActiveAttrib() 198 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) in _mesa_GetAttribLocation() 216 || shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_count_active_attribs() 236 || shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_longest_attribute_name_length() 385 if (shProg->_LinkedShaders[MESA_SHADER_FRAGMENT] == NULL) in _mesa_GetFragDataIndex() 420 if (shProg->_LinkedShaders[MESA_SHADER_FRAGMENT] == NULL) in _mesa_GetFragDataLocation() 1173 if (!shProg->_LinkedShaders[stage]) in is_resource_referenced() 1538 p = shProg->_LinkedShaders[_mesa_shader_stage_from_subroutine_uniform(res->Type)]->Program; in _mesa_program_resource_prop()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_ir.cpp | 69 if (prog->_LinkedShaders[i] == NULL) in st_link_shader() 72 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in st_link_shader()
|
D | st_shader_cache.c | 253 if (prog->_LinkedShaders[i] == NULL) in st_load_ir_from_disk_cache() 256 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_ir_from_disk_cache()
|