Home
last modified time | relevance | path

Searched refs:linked_shader (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_buffers.c81 struct gl_linked_shader *linked_shader = in get_block_array_index() local
87 num_blocks = linked_shader->Program->info.num_ubos; in get_block_array_index()
88 blocks = linked_shader->Program->sh.UniformBlocks; in get_block_array_index()
91 num_blocks = linked_shader->Program->info.num_ssbos; in get_block_array_index()
92 blocks = linked_shader->Program->sh.ShaderStorageBlocks; in get_block_array_index()
127 struct gl_linked_shader *linked_shader = in get_block_index_offset() local
133 num_blocks = linked_shader->Program->info.num_ubos; in get_block_index_offset()
134 blocks = linked_shader->Program->sh.UniformBlocks; in get_block_index_offset()
137 num_blocks = linked_shader->Program->info.num_ssbos; in get_block_index_offset()
138 blocks = linked_shader->Program->sh.ShaderStorageBlocks; in get_block_index_offset()
Dgl_nir_linker.c759 struct gl_linked_shader *linked_shader[MESA_SHADER_STAGES]; in gl_nir_link_spirv() local
764 linked_shader[num_shaders++] = prog->_LinkedShaders[i]; in gl_nir_link_spirv()
773 gl_nir_link_opts(linked_shader[i]->Program->nir, in gl_nir_link_spirv()
774 linked_shader[i + 1]->Program->nir); in gl_nir_link_spirv()
943 struct gl_linked_shader *linked_shader[MESA_SHADER_STAGES]; in gl_nir_link_glsl() local
948 linked_shader[num_shaders++] = prog->_LinkedShaders[i]; in gl_nir_link_glsl()
957 gl_nir_link_opts(linked_shader[i]->Program->nir, in gl_nir_link_glsl()
958 linked_shader[i + 1]->Program->nir); in gl_nir_link_glsl()
966 gl_nir_opts(linked_shader[0]->Program->nir); in gl_nir_link_glsl()
Dlinker.cpp1967 struct gl_linked_shader *linked_shader, in link_fs_inout_layout_qualifiers() argument
1976 if (linked_shader->Stage != MESA_SHADER_FRAGMENT || in link_fs_inout_layout_qualifiers()
2021 linked_shader->Program->info.fs.early_fragment_tests |= in link_fs_inout_layout_qualifiers()
2023 linked_shader->Program->info.fs.inner_coverage |= shader->InnerCoverage; in link_fs_inout_layout_qualifiers()
2024 linked_shader->Program->info.fs.post_depth_coverage |= in link_fs_inout_layout_qualifiers()
2026 linked_shader->Program->info.fs.pixel_interlock_ordered |= in link_fs_inout_layout_qualifiers()
2028 linked_shader->Program->info.fs.pixel_interlock_unordered |= in link_fs_inout_layout_qualifiers()
2030 linked_shader->Program->info.fs.sample_interlock_ordered |= in link_fs_inout_layout_qualifiers()
2032 linked_shader->Program->info.fs.sample_interlock_unordered |= in link_fs_inout_layout_qualifiers()
2034 linked_shader->Program->info.fs.advanced_blend_modes |= shader->BlendSupport; in link_fs_inout_layout_qualifiers()
[all …]
Dgl_nir.h57 struct gl_linked_shader *linked_shader,
Dgl_nir_link_varyings.c2971 struct gl_linked_shader *linked_shader[MESA_SHADER_STAGES]; in link_varyings() local
2976 linked_shader[num_shaders++] = prog->_LinkedShaders[i]; in link_varyings()
2995 struct gl_linked_shader *consumer = linked_shader[0]; in link_varyings()
3006 gl_nir_opts(linked_shader[0]->Program->nir); in link_varyings()
3015 linked_shader[i + 1]->Stage == MESA_SHADER_FRAGMENT ? in link_varyings()
3019 linked_shader[i], in link_varyings()
3020 linked_shader[i + 1], in link_varyings()
3030 link_shader_opts(&vm, linked_shader[i]->Program->nir, in link_varyings()
3031 linked_shader[i + 1]->Program->nir, in link_varyings()
3034 remove_unused_shader_inputs_and_outputs(prog, linked_shader[i]->Stage, in link_varyings()
[all …]
Dgl_nir_lower_packed_varyings.c1030 struct gl_linked_shader *linked_shader, in gl_nir_lower_packed_varyings() argument
1035 nir_shader *shader = linked_shader->Program->nir; in gl_nir_lower_packed_varyings()
1071 state.ifc_exposed_to_query_api = linked_shaders[0] == linked_shader; in gl_nir_lower_packed_varyings()
1075 linked_shaders[num_shaders - 1] == linked_shader; in gl_nir_lower_packed_varyings()
/third_party/mesa3d/src/mesa/main/
Dglspirv.c222 struct gl_linked_shader *linked_shader = prog->_LinkedShaders[stage]; in _mesa_spirv_to_nir() local
223 assert (linked_shader); in _mesa_spirv_to_nir()
225 struct gl_shader_spirv_data *spirv_data = linked_shader->spirv_data; in _mesa_spirv_to_nir()
280 nir->info.separate_shader = linked_shader->Program->info.separate_shader; in _mesa_spirv_to_nir()
317 nir_remap_dual_slot_attributes(nir, &linked_shader->Program->DualSlotInputs); in _mesa_spirv_to_nir()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp689 struct gl_linked_shader *linked_shader[MESA_SHADER_STAGES]; in st_link_nir() local
694 linked_shader[num_shaders++] = shader_program->_LinkedShaders[i]; in st_link_nir()
698 struct gl_linked_shader *shader = linked_shader[i]; in st_link_nir()
752 gl_nir_opts(linked_shader[0]->Program->nir); in st_link_nir()
767 struct gl_program *prog = linked_shader[i]->Program; in st_link_nir()
776 struct gl_linked_shader *shader = linked_shader[i]; in st_link_nir()
831 struct gl_program *prev_shader = linked_shader[i - 1]->Program; in st_link_nir()
851 struct gl_linked_shader *first_shader = linked_shader[0]; in st_link_nir()
852 struct gl_linked_shader *last_shader = linked_shader[num_shaders - 1]; in st_link_nir()
867 struct gl_linked_shader *shader = linked_shader[i]; in st_link_nir()
[all …]