Home
last modified time | relevance | path

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

/external/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()
126 struct gl_linked_shader *linked_shader = in get_block_index_offset() local
132 num_blocks = linked_shader->Program->info.num_ubos; in get_block_index_offset()
133 blocks = linked_shader->Program->sh.UniformBlocks; in get_block_index_offset()
136 num_blocks = linked_shader->Program->info.num_ssbos; in get_block_index_offset()
137 blocks = linked_shader->Program->sh.ShaderStorageBlocks; in get_block_index_offset()
Dlinker.cpp2028 struct gl_linked_shader *linked_shader, in link_fs_inout_layout_qualifiers() argument
2037 if (linked_shader->Stage != MESA_SHADER_FRAGMENT || in link_fs_inout_layout_qualifiers()
2082 linked_shader->Program->info.fs.early_fragment_tests |= in link_fs_inout_layout_qualifiers()
2084 linked_shader->Program->info.fs.inner_coverage |= shader->InnerCoverage; in link_fs_inout_layout_qualifiers()
2085 linked_shader->Program->info.fs.post_depth_coverage |= in link_fs_inout_layout_qualifiers()
2087 linked_shader->Program->info.fs.pixel_interlock_ordered |= in link_fs_inout_layout_qualifiers()
2089 linked_shader->Program->info.fs.pixel_interlock_unordered |= in link_fs_inout_layout_qualifiers()
2091 linked_shader->Program->info.fs.sample_interlock_ordered |= in link_fs_inout_layout_qualifiers()
2093 linked_shader->Program->info.fs.sample_interlock_unordered |= in link_fs_inout_layout_qualifiers()
2095 linked_shader->Program->sh.fs.BlendSupport |= shader->BlendSupport; in link_fs_inout_layout_qualifiers()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp659 struct gl_linked_shader *linked_shader[MESA_SHADER_STAGES]; in st_link_nir() local
664 linked_shader[num_shaders++] = shader_program->_LinkedShaders[i]; in st_link_nir()
668 struct gl_linked_shader *shader = linked_shader[i]; in st_link_nir()
721 struct gl_linked_shader *shader = linked_shader[i]; in st_link_nir()
736 st_nir_link_shaders(linked_shader[i]->Program->nir, in st_link_nir()
737 linked_shader[i + 1]->Program->nir); in st_link_nir()
744 st_nir_opts(linked_shader[0]->Program->nir); in st_link_nir()
751 struct gl_program *prog = linked_shader[i]->Program; in st_link_nir()
760 struct gl_linked_shader *shader = linked_shader[i]; in st_link_nir()
798 struct gl_program *prev_shader = linked_shader[i - 1]->Program; in st_link_nir()
[all …]
/external/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()
313 nir_remap_dual_slot_attributes(nir, &linked_shader->Program->DualSlotInputs); in _mesa_spirv_to_nir()