/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_link.cpp | 46 struct gl_linked_shader *vs = sh_prog->_LinkedShaders[MESA_SHADER_VERTEX]; in brw_shader_precompile() 47 struct gl_linked_shader *tcs = sh_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]; in brw_shader_precompile() 48 struct gl_linked_shader *tes = sh_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in brw_shader_precompile() 49 struct gl_linked_shader *gs = sh_prog->_LinkedShaders[MESA_SHADER_GEOMETRY]; in brw_shader_precompile() 50 struct gl_linked_shader *fs = sh_prog->_LinkedShaders[MESA_SHADER_FRAGMENT]; in brw_shader_precompile() 51 struct gl_linked_shader *cs = sh_prog->_LinkedShaders[MESA_SHADER_COMPUTE]; in brw_shader_precompile() 231 for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) { in brw_link_shader() 232 struct gl_linked_shader *shader = shProg->_LinkedShaders[stage]; in brw_link_shader() 264 if (!shProg->_LinkedShaders[i]) in brw_link_shader() 282 if (shProg->_LinkedShaders[i] == NULL) in brw_link_shader() [all …]
|
D | brw_tes.c | 234 if (shader_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]) { in brw_tes_precompile() 236 shader_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]->Program; in brw_tes_precompile()
|
D | brw_program.c | 104 !shader_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]); in brw_create_nir() 112 assert(shader_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]); in brw_create_nir() 114 shader_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]; in brw_create_nir()
|
D | brw_tcs.c | 371 shader_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in brw_tcs_precompile()
|
/external/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 803 struct gl_linked_shader *sh = prog->_LinkedShaders[MESA_SHADER_GEOMETRY]; in validate_geometry_shader_emissions() 1174 if (prog->_LinkedShaders[i] == NULL) in cross_validate_uniforms() 1177 cross_validate_globals(prog, prog->_LinkedShaders[i]->ir, &variables, in cross_validate_uniforms() 1197 if (prog->_LinkedShaders[i]) { in interstage_cross_validate_uniform_blocks() 1200 prog->_LinkedShaders[i]->Program->info.num_ssbos; in interstage_cross_validate_uniform_blocks() 1203 prog->_LinkedShaders[i]->Program->info.num_ubos; in interstage_cross_validate_uniform_blocks() 1209 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in interstage_cross_validate_uniform_blocks() 1221 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ssbos; in interstage_cross_validate_uniform_blocks() 1224 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ubos; in interstage_cross_validate_uniform_blocks() 1260 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in interstage_cross_validate_uniform_blocks() [all …]
|
D | standalone.cpp | 524 whole_program->_LinkedShaders[stage] = in standalone_compile_shader() 535 if (whole_program->_LinkedShaders[stage] != NULL) { in standalone_compile_shader() 542 whole_program->_LinkedShaders[stage]->ir; in standalone_compile_shader() 570 struct gl_linked_shader *shader = whole_program->_LinkedShaders[i]; in standalone_compile_shader() 585 struct gl_linked_shader *shader = whole_program->_LinkedShaders[i]; in standalone_compile_shader() 599 if (whole_program->_LinkedShaders[i]) in standalone_compile_shader() 600 ralloc_free(whole_program->_LinkedShaders[i]->Program); in standalone_compile_shader() 611 if (whole_program->_LinkedShaders[i]) in standalone_compiler_cleanup() 612 ralloc_free(whole_program->_LinkedShaders[i]->Program); in standalone_compiler_cleanup()
|
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() 355 struct gl_program *prog = shProg->_LinkedShaders[xfb_stage]->Program; in read_xfb() 572 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in write_uniform_remap_tables() [all …]
|
D | standalone_scaffolding.cpp | 134 if (shProg->_LinkedShaders[i] != NULL) { in _mesa_clear_shader_program_data() 135 _mesa_delete_linked_shader(ctx, shProg->_LinkedShaders[i]); in _mesa_clear_shader_program_data() 136 shProg->_LinkedShaders[i] = NULL; in _mesa_clear_shader_program_data()
|
D | link_atomics.cpp | 158 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in find_active_atomic_counters() 269 if (prog->_LinkedShaders[j] && num_atomic_buffers[j] > 0) { in link_assign_atomic_counter_resources() 270 struct gl_program *gl_prog = prog->_LinkedShaders[j]->Program; in link_assign_atomic_counter_resources()
|
D | link_uniform_initializers.cpp | 136 gl_linked_shader *shader = prog->_LinkedShaders[sh]; in set_opaque_binding() 266 gl_linked_shader *shader = prog->_LinkedShaders[sh]; in set_uniform_initializer() 286 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in link_set_uniform_initializers()
|
D | link_varyings.cpp | 651 gl_linked_shader *sh = prog->_LinkedShaders[stage]; in validate_sso_explicit_locations() 2767 if (prog->_LinkedShaders[i]) { in link_varyings() 2769 process_xfb_layout_qualifiers(mem_ctx, prog->_LinkedShaders[i], in link_varyings() 2812 reserved_varying_slot(prog->_LinkedShaders[last], ir_var_shader_out); in link_varyings() 2814 prog->_LinkedShaders[last], NULL, in link_varyings() 2823 prog->_LinkedShaders[first], in link_varyings() 2826 prog->_LinkedShaders[last], in link_varyings() 2831 gl_linked_shader *const sh = prog->_LinkedShaders[last]; in link_varyings() 2860 if (prog->_LinkedShaders[i] == NULL && i != 0) in link_varyings() 2863 gl_linked_shader *const sh_i = prog->_LinkedShaders[i]; in link_varyings() [all …]
|
D | link_uniforms.cpp | 723 prog->_LinkedShaders[shader_type]->Program->sh.ImageAccess[i] = access; in handle_images() 736 prog->_LinkedShaders[shader_type]->Program->sh.NumSubroutineUniforms++; in handle_subroutines() 1295 struct gl_program *p = prog->_LinkedShaders[j]->Program; in link_setup_uniform_remap_tables() 1327 struct gl_program *p = prog->_LinkedShaders[j]->Program; in link_setup_uniform_remap_tables() 1384 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in link_assign_uniform_storage() 1478 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in link_assign_uniform_locations()
|
/external/mesa3d/src/mesa/main/ |
D | shaderapi.c | 587 shProg->_LinkedShaders[MESA_SHADER_GEOMETRY] != NULL) { in check_gs_query() 612 shProg->_LinkedShaders[MESA_SHADER_TESS_CTRL] != NULL) { in check_tcs_query() 638 shProg->_LinkedShaders[MESA_SHADER_TESS_EVAL] != NULL) { in check_tes_query() 774 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 782 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 790 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 798 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 861 if (shProg->_LinkedShaders[MESA_SHADER_COMPUTE] == NULL) { in get_programiv() 867 params[i] = shProg->_LinkedShaders[MESA_SHADER_COMPUTE]-> in get_programiv() 881 *params = shProg->_LinkedShaders[MESA_SHADER_TESS_CTRL]-> in get_programiv() [all …]
|
D | program_binary.c | 174 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in write_program_payload() 186 struct gl_program *prog = sh_prog->_LinkedShaders[stage]->Program; in write_program_payload() 201 for (stage = 0; stage < ARRAY_SIZE(sh_prog->_LinkedShaders); stage++) { in read_program_payload() 202 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in read_program_payload()
|
D | shaderobj.c | 329 if (shProg->_LinkedShaders[sh] != NULL) { in _mesa_clear_shader_program_data() 330 _mesa_delete_linked_shader(ctx, shProg->_LinkedShaders[sh]); in _mesa_clear_shader_program_data() 331 shProg->_LinkedShaders[sh] = NULL; in _mesa_clear_shader_program_data()
|
D | shader_query.cpp | 147 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_GetActiveAttrib() 199 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) in _mesa_GetAttribLocation() 217 || shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_count_active_attribs() 237 || shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_longest_attribute_name_length() 377 if (shProg->_LinkedShaders[MESA_SHADER_FRAGMENT] == NULL) in _mesa_GetFragDataIndex() 412 if (shProg->_LinkedShaders[MESA_SHADER_FRAGMENT] == NULL) in _mesa_GetFragDataLocation() 973 if (!shProg->_LinkedShaders[stage]) in is_resource_referenced() 1327 p = shProg->_LinkedShaders[_mesa_shader_stage_from_subroutine_uniform(res->Type)]->Program; in _mesa_program_resource_prop()
|
D | uniform_query.cpp | 718 if (shProg->_LinkedShaders[i] == NULL) 721 const struct gl_program *const prog = shProg->_LinkedShaders[i]->Program; 1130 struct gl_linked_shader *const sh = shProg->_LinkedShaders[i]; in _mesa_uniform() 1180 struct gl_linked_shader *sh = shProg->_LinkedShaders[i]; in _mesa_uniform() 1472 struct gl_linked_shader *const sh = shProg->_LinkedShaders[i]; in _mesa_uniform_handle() 1495 struct gl_linked_shader *sh = shProg->_LinkedShaders[i]; in _mesa_uniform_handle()
|
D | state.c | 137 f->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program); in update_program() 139 f->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program); in update_program()
|
D | pipelineobj.c | 213 if (shProg && shProg->_LinkedShaders[stage]) in use_program_stage() 214 prog = shProg->_LinkedShaders[stage]->Program; in use_program_stage()
|
D | uniforms.c | 92 struct gl_program *glprog = shProg->_LinkedShaders[stage]->Program; in update_single_shader_texture_used() 108 shProg->_LinkedShaders[prog_stage]; in _mesa_update_shader_textures_used()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_nir.cpp | 549 if (!shader_program->_LinkedShaders[i]) in st_link_nir() 557 struct gl_linked_shader *shader = shader_program->_LinkedShaders[i]; in st_link_nir() 582 struct gl_linked_shader *shader = shader_program->_LinkedShaders[i]; in st_link_nir() 587 &shader_program->_LinkedShaders[next]->Program->nir); in st_link_nir() 593 struct gl_linked_shader *shader = shader_program->_LinkedShaders[i]; in st_link_nir() 635 nir_compact_varyings(shader_program->_LinkedShaders[prev]->Program->nir, in st_link_nir() 642 struct gl_linked_shader *shader = shader_program->_LinkedShaders[i]; in st_link_nir()
|
D | st_shader_cache.c | 303 if (prog->_LinkedShaders[i] == NULL) in st_load_tgsi_from_disk_cache() 306 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_tgsi_from_disk_cache()
|
D | st_program.c | 1822 for (i = 0; i < ARRAY_SIZE(shProg->_LinkedShaders); i++) { in destroy_shader_program_variants_cb() 1823 if (shProg->_LinkedShaders[i]) in destroy_shader_program_variants_cb() 1824 destroy_program_variants(st, shProg->_LinkedShaders[i]->Program); in destroy_shader_program_variants_cb()
|
D | st_glsl_to_tgsi.cpp | 6650 if (program->shader_program->_LinkedShaders[i]) { in st_translate_program() 6930 if (prog->_LinkedShaders[i] == NULL) in st_link_shader() 6933 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in st_link_shader() 7066 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in st_link_shader()
|
/external/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 3002 if (prog->_LinkedShaders[i] == NULL) in _mesa_ir_link_shader() 3006 exec_list *ir = prog->_LinkedShaders[i]->ir; in _mesa_ir_link_shader() 3008 &ctx->Const.ShaderCompilerOptions[prog->_LinkedShaders[i]->Stage]; in _mesa_ir_link_shader() 3039 lower_variable_index_to_cond_assign(prog->_LinkedShaders[i]->Stage, ir, in _mesa_ir_link_shader() 3056 if (prog->_LinkedShaders[i] == NULL) in _mesa_ir_link_shader() 3059 linked_prog = get_mesa_program(ctx, prog, prog->_LinkedShaders[i]); in _mesa_ir_link_shader() 3062 _mesa_copy_linked_program_data(prog, prog->_LinkedShaders[i]); in _mesa_ir_link_shader() 3067 _mesa_reference_program(ctx, &prog->_LinkedShaders[i]->Program, in _mesa_ir_link_shader()
|