/third_party/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 737 struct gl_linked_shader *sh = prog->_LinkedShaders[MESA_SHADER_GEOMETRY]; in validate_geometry_shader_emissions() 1125 if (prog->_LinkedShaders[i] == NULL) in cross_validate_uniforms() 1128 cross_validate_globals(consts, prog, prog->_LinkedShaders[i]->ir, in cross_validate_uniforms() 1148 if (prog->_LinkedShaders[i]) { in interstage_cross_validate_uniform_blocks() 1151 prog->_LinkedShaders[i]->Program->info.num_ssbos; in interstage_cross_validate_uniform_blocks() 1154 prog->_LinkedShaders[i]->Program->info.num_ubos; in interstage_cross_validate_uniform_blocks() 1160 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in interstage_cross_validate_uniform_blocks() 1173 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ssbos; in interstage_cross_validate_uniform_blocks() 1176 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ubos; in interstage_cross_validate_uniform_blocks() 1212 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in interstage_cross_validate_uniform_blocks() [all …]
|
D | gl_nir_linker.c | 527 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in add_interface_variables() 602 if (!prog->_LinkedShaders[i]) in nir_build_program_resource_list() 739 struct gl_program *p = prog->_LinkedShaders[i]->Program; in nir_build_program_resource_list() 763 if (prog->_LinkedShaders[i]) in gl_nir_link_spirv() 764 linked_shader[num_shaders++] = prog->_LinkedShaders[i]; in gl_nir_link_spirv() 778 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in gl_nir_link_spirv() 817 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in check_image_resources() 829 prog->_LinkedShaders[MESA_SHADER_FRAGMENT]; in check_image_resources() 867 if (prog->_LinkedShaders[i] == NULL) in validate_sampler_array_indexing() 874 nir_foreach_function(function, prog->_LinkedShaders[i]->Program->nir) { in validate_sampler_array_indexing() [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() 591 struct gl_linked_shader *const linked = prog->_LinkedShaders[stage]; in gl_nir_link_uniform_blocks()
|
D | standalone.cpp | 523 whole_program->_LinkedShaders[stage] = in standalone_compile_shader() 534 if (whole_program->_LinkedShaders[stage] != NULL) { in standalone_compile_shader() 541 whole_program->_LinkedShaders[stage]->ir; in standalone_compile_shader() 568 struct gl_linked_shader *shader = whole_program->_LinkedShaders[i]; in standalone_compile_shader() 583 struct gl_linked_shader *shader = whole_program->_LinkedShaders[i]; in standalone_compile_shader() 597 if (whole_program->_LinkedShaders[i]) in standalone_compile_shader() 598 _mesa_delete_linked_shader(ctx, whole_program->_LinkedShaders[i]); in standalone_compile_shader() 609 if (whole_program->_LinkedShaders[i]) in standalone_compiler_cleanup() 610 _mesa_delete_linked_shader(NULL, whole_program->_LinkedShaders[i]); in standalone_compiler_cleanup()
|
D | gl_nir_link_varyings.c | 2898 nir_shader *shader = prog->_LinkedShaders[stage]->Program->nir; in remove_unused_shader_inputs_and_outputs() 2935 if (prog->_LinkedShaders[i]) { in link_varyings() 2937 process_xfb_layout_qualifiers(mem_ctx, prog->_LinkedShaders[i], in link_varyings() 2975 if (prog->_LinkedShaders[i]) in link_varyings() 2976 linked_shader[num_shaders++] = prog->_LinkedShaders[i]; in link_varyings() 2982 struct gl_linked_shader *producer = prog->_LinkedShaders[last]; in link_varyings() 3044 NIR_PASS_V(prog->_LinkedShaders[first]->Program->nir, in link_varyings() 3046 NIR_PASS_V(prog->_LinkedShaders[last]->Program->nir, in link_varyings() 3055 canonicalize_shader_io(prog->_LinkedShaders[first]->Program->nir, in link_varyings() 3060 canonicalize_shader_io(prog->_LinkedShaders[last]->Program->nir, in link_varyings() [all …]
|
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() 137 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in write_buffer_blocks() 214 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in read_buffer_blocks() 247 if (prog->_LinkedShaders[i]) { in write_atomic_buffers() 248 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in write_atomic_buffers() 278 if (prog->_LinkedShaders[i]) { in read_atomic_buffers() 279 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in read_atomic_buffers() 384 struct gl_program *prog = shProg->_LinkedShaders[xfb_stage]->Program; in read_xfb() 629 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in write_uniform_remap_tables() [all …]
|
D | standalone_scaffolding.cpp | 154 if (shProg->_LinkedShaders[i] != NULL) { in _mesa_clear_shader_program_data() 155 _mesa_delete_linked_shader(ctx, shProg->_LinkedShaders[i]); in _mesa_clear_shader_program_data() 156 shProg->_LinkedShaders[i] = NULL; in _mesa_clear_shader_program_data()
|
D | linker_util.cpp | 230 struct gl_program *p = prog->_LinkedShaders[i]->Program; in link_util_check_subroutine_resources() 250 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in link_util_check_uniform_resources() 325 struct gl_program *p = prog->_LinkedShaders[i]->Program; in link_util_calculate_subroutine_compat()
|
D | gl_nir_link_atomics.c | 147 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in find_active_atomic_counters() 266 if (prog->_LinkedShaders[stage] == NULL || in gl_nir_link_assign_atomic_counter_resources() 270 struct gl_program *gl_prog = prog->_LinkedShaders[stage]->Program; in gl_nir_link_assign_atomic_counter_resources()
|
D | gl_nir_link_uniform_initializers.c | 65 struct gl_linked_shader *shader = data->shader_prog->_LinkedShaders[sh]; in set_opaque_binding() 245 data->shader_prog->_LinkedShaders[sh]; in set_uniform_initializer() 262 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in gl_nir_set_uniform_initializers()
|
D | gl_nir_link_uniforms.c | 131 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in update_array_sizes() 333 struct gl_program *p = prog->_LinkedShaders[j]->Program; in nir_setup_uniform_remap_tables() 370 struct gl_program *p = prog->_LinkedShaders[j]->Program; in nir_setup_uniform_remap_tables() 785 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in update_uniforms_shader_info() 828 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in update_uniforms_shader_info() 880 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in update_uniforms_shader_info() 1547 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in gl_nir_link_uniforms() 1561 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in gl_nir_link_uniforms() 1576 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in gl_nir_link_uniforms() 1612 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() 128 shader_program->_LinkedShaders[stage]; in get_block_index_offset()
|
D | shader_cache.cpp | 109 struct gl_linked_shader *sh = prog->_LinkedShaders[i]; in shader_cache_write_program_metadata()
|
D | gl_nir_link_xfb.c | 74 struct gl_linked_shader *sh = prog->_LinkedShaders[stage]; in gl_nir_link_assign_xfb_resources()
|
/third_party/mesa3d/src/mesa/main/ |
D | program_binary.c | 177 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in write_program_payload() 188 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in write_program_payload() 190 struct gl_program *prog = sh_prog->_LinkedShaders[stage]->Program; in write_program_payload() 208 for (stage = 0; stage < ARRAY_SIZE(sh_prog->_LinkedShaders); stage++) { in read_program_payload() 209 struct gl_linked_shader *shader = sh_prog->_LinkedShaders[stage]; in read_program_payload() 322 if (sh_prog->_LinkedShaders[stage]) in _mesa_program_binary() 323 prog = sh_prog->_LinkedShaders[stage]->Program; in _mesa_program_binary()
|
D | shaderapi.c | 664 shProg->_LinkedShaders[MESA_SHADER_GEOMETRY] != NULL) { in check_gs_query() 689 shProg->_LinkedShaders[MESA_SHADER_TESS_CTRL] != NULL) { in check_tcs_query() 715 shProg->_LinkedShaders[MESA_SHADER_TESS_EVAL] != NULL) { in check_tes_query() 734 struct gl_linked_shader *linked = shprog->_LinkedShaders[i]; in get_shader_program_completion_status() 857 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 867 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 875 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 883 *params = shProg->_LinkedShaders[MESA_SHADER_GEOMETRY]-> in get_programiv() 935 if (shProg->_LinkedShaders[MESA_SHADER_COMPUTE] == NULL) { in get_programiv() 941 params[i] = shProg->_LinkedShaders[MESA_SHADER_COMPUTE]-> in get_programiv() [all …]
|
D | glspirv.c | 137 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 | 338 if (shProg->_LinkedShaders[sh] != NULL) { in _mesa_clear_shader_program_data() 339 _mesa_delete_linked_shader(ctx, shProg->_LinkedShaders[sh]); in _mesa_clear_shader_program_data() 340 shProg->_LinkedShaders[sh] = NULL; in _mesa_clear_shader_program_data()
|
D | shader_query.cpp | 183 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_GetActiveAttrib() 235 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) in _mesa_GetAttribLocation() 253 || shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_count_active_attribs() 273 || shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) { in _mesa_longest_attribute_name_length() 415 if (shProg->_LinkedShaders[MESA_SHADER_FRAGMENT] == NULL) in _mesa_GetFragDataIndex() 444 if (shProg->_LinkedShaders[MESA_SHADER_FRAGMENT] == NULL) in _mesa_GetFragDataLocation() 1264 if (!shProg->_LinkedShaders[stage]) in is_resource_referenced() 1634 p = shProg->_LinkedShaders[_mesa_shader_stage_from_subroutine_uniform(res->Type)]->Program; in _mesa_program_resource_prop()
|
D | state.c | 231 f->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program); in update_program() 233 f->_LinkedShaders[MESA_SHADER_FRAGMENT]->Program); in update_program()
|
D | uniform_query.cpp | 793 if (shProg->_LinkedShaders[i] == NULL) 796 const struct gl_program *const prog = shProg->_LinkedShaders[i]->Program; 1535 struct gl_linked_shader *const sh = shProg->_LinkedShaders[i]; in _mesa_uniform() 1592 struct gl_linked_shader *sh = shProg->_LinkedShaders[i]; in _mesa_uniform() 2117 struct gl_linked_shader *const sh = shProg->_LinkedShaders[i]; in _mesa_uniform_handle() 2140 struct gl_linked_shader *sh = shProg->_LinkedShaders[i]; in _mesa_uniform_handle()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_ir.cpp | 57 if (prog->_LinkedShaders[i] == NULL) in link_shader() 60 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in link_shader() 157 struct gl_linked_shader *shader = prog->_LinkedShaders[i]; in st_link_shader()
|
D | st_shader_cache.c | 216 if (prog->_LinkedShaders[i] == NULL) in st_load_nir_from_disk_cache() 219 struct gl_program *glprog = prog->_LinkedShaders[i]->Program; in st_load_nir_from_disk_cache()
|
D | st_glsl_to_nir.cpp | 623 shader_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]; in st_lower_patch_vertices_in() 625 shader_prog->_LinkedShaders[MESA_SHADER_TESS_EVAL]; in st_lower_patch_vertices_in() 693 if (shader_program->_LinkedShaders[i]) in st_link_nir() 694 linked_shader[num_shaders++] = shader_program->_LinkedShaders[i]; in st_link_nir()
|
/third_party/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_compiler_cmdline.c | 113 lima_do_glsl_optimizations(prog->_LinkedShaders[stage]->ir); in load_glsl()
|