/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_from_mesa.c | 61 unsigned *semantic_name, in tgsi_get_gl_varying_semantic() argument 66 *semantic_name = TGSI_SEMANTIC_PRIMID; in tgsi_get_gl_varying_semantic() 70 *semantic_name = TGSI_SEMANTIC_POSITION; in tgsi_get_gl_varying_semantic() 74 *semantic_name = TGSI_SEMANTIC_COLOR; in tgsi_get_gl_varying_semantic() 78 *semantic_name = TGSI_SEMANTIC_COLOR; in tgsi_get_gl_varying_semantic() 82 *semantic_name = TGSI_SEMANTIC_BCOLOR; in tgsi_get_gl_varying_semantic() 86 *semantic_name = TGSI_SEMANTIC_BCOLOR; in tgsi_get_gl_varying_semantic() 90 *semantic_name = TGSI_SEMANTIC_FOG; in tgsi_get_gl_varying_semantic() 94 *semantic_name = TGSI_SEMANTIC_PSIZE; in tgsi_get_gl_varying_semantic() 98 *semantic_name = TGSI_SEMANTIC_CLIPDIST; in tgsi_get_gl_varying_semantic() [all …]
|
D | tgsi_ureg.c | 115 unsigned semantic_name; member 130 unsigned semantic_name; member 136 unsigned semantic_name; member 284 unsigned semantic_name, in ureg_DECL_fs_input_cyl_centroid_layout() argument 300 if (ureg->input[i].semantic_name == semantic_name && in ureg_DECL_fs_input_cyl_centroid_layout() 315 ureg->input[i].semantic_name = semantic_name; in ureg_DECL_fs_input_cyl_centroid_layout() 337 unsigned semantic_name, in ureg_DECL_fs_input_cyl_centroid() argument 346 semantic_name, semantic_index, interp_mode, cylindrical_wrap, interp_location, in ureg_DECL_fs_input_cyl_centroid() 365 unsigned semantic_name, in ureg_DECL_input_layout() argument 373 semantic_name, semantic_index, 0, 0, 0, in ureg_DECL_input_layout() [all …]
|
D | tgsi_ureg.h | 171 unsigned semantic_name, 183 unsigned semantic_name, 193 unsigned semantic_name, in ureg_DECL_fs_input_cyl() argument 199 semantic_name, in ureg_DECL_fs_input_cyl() 208 unsigned semantic_name, in ureg_DECL_fs_input() argument 213 semantic_name, in ureg_DECL_fs_input() 225 unsigned semantic_name, 234 unsigned semantic_name, 241 unsigned semantic_name, 246 unsigned semantic_name, [all …]
|
D | tgsi_from_mesa.h | 38 unsigned *semantic_name, 47 unsigned *semantic_name,
|
D | tgsi_build.c | 262 unsigned semantic_name, in tgsi_build_declaration_semantic() argument 273 assert( semantic_name <= TGSI_SEMANTIC_COUNT ); in tgsi_build_declaration_semantic() 276 ds.Name = semantic_name; in tgsi_build_declaration_semantic()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 101 unsigned semantic_name; member 113 unsigned semantic_name; member 120 unsigned semantic_name; member 126 unsigned semantic_name; member 279 unsigned semantic_name, in ureg_DECL_fs_input_cyl_centroid() argument 288 if (ureg->fs_input[i].semantic_name == semantic_name && in ureg_DECL_fs_input_cyl_centroid() 295 ureg->fs_input[i].semantic_name = semantic_name; in ureg_DECL_fs_input_cyl_centroid() 324 unsigned semantic_name, in ureg_DECL_gs_input() argument 329 ureg->gs_input[ureg->nr_gs_inputs].semantic_name = semantic_name; in ureg_DECL_gs_input() 344 unsigned semantic_name, in ureg_DECL_system_value() argument [all …]
|
D | tgsi_ureg.h | 165 unsigned semantic_name, 173 unsigned semantic_name, in ureg_DECL_fs_input_cyl() argument 179 semantic_name, in ureg_DECL_fs_input_cyl() 188 unsigned semantic_name, in ureg_DECL_fs_input() argument 193 semantic_name, in ureg_DECL_fs_input() 206 unsigned semantic_name, 212 unsigned semantic_name, 217 unsigned semantic_name, 223 unsigned semantic_name,
|
D | tgsi_build.c | 252 unsigned semantic_name, in tgsi_build_declaration_semantic() argument 263 assert( semantic_name <= TGSI_SEMANTIC_COUNT ); in tgsi_build_declaration_semantic() 266 ds.Name = semantic_name; in tgsi_build_declaration_semantic()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_nir.c | 204 unsigned semantic_name, semantic_index; in si_nir_scan_shader() local 237 &semantic_name, &semantic_index); in si_nir_scan_shader() 239 info->input_semantic_name[i] = semantic_name; in si_nir_scan_shader() 242 if (semantic_name == TGSI_SEMANTIC_PRIMID) in si_nir_scan_shader() 262 if (semantic_name == TGSI_SEMANTIC_COLOR) { in si_nir_scan_shader() 315 unsigned semantic_name, semantic_index; in si_nir_scan_shader() local 319 &semantic_name, &semantic_index); in si_nir_scan_shader() 327 &semantic_name, &semantic_index); in si_nir_scan_shader() 337 info->output_semantic_name[i] = semantic_name; in si_nir_scan_shader() 378 switch (semantic_name) { in si_nir_scan_shader() [all …]
|
D | si_shader.h | 637 unsigned si_shader_io_get_unique_index_patch(unsigned semantic_name, unsigned index); 638 unsigned si_shader_io_get_unique_index(unsigned semantic_name, unsigned index);
|
D | si_shader.c | 56 unsigned semantic_name; member 176 unsigned si_shader_io_get_unique_index_patch(unsigned semantic_name, unsigned index) in si_shader_io_get_unique_index_patch() argument 178 switch (semantic_name) { in si_shader_io_get_unique_index_patch() 198 unsigned si_shader_io_get_unique_index(unsigned semantic_name, unsigned index) in si_shader_io_get_unique_index() argument 200 switch (semantic_name) { in si_shader_io_get_unique_index() 1581 unsigned semantic_name = info->input_semantic_name[input_index]; in si_llvm_load_input_gs() local 1586 param = si_shader_io_get_unique_index(semantic_name, semantic_index); in si_llvm_load_input_gs() 1657 unsigned semantic_name = info->input_semantic_name[reg->Register.Index]; in fetch_input_gs() local 1658 if (swizzle != ~0 && semantic_name == TGSI_SEMANTIC_PRIMID) in fetch_input_gs() 1733 unsigned semantic_name, in interp_fs_input() argument [all …]
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.h | 31 unsigned *semantic_name, unsigned *semantic_index); 34 unsigned *semantic_name, unsigned *semantic_index);
|
D | tgsi_to_nir.c | 152 unsigned *semantic_name, unsigned *semantic_index) in varying_slot_to_tgsi_semantic() argument 174 *semantic_name = TGSI_SEMANTIC_GENERIC; in varying_slot_to_tgsi_semantic() 180 *semantic_name = TGSI_SEMANTIC_TEXCOORD; in varying_slot_to_tgsi_semantic() 190 *semantic_name = map[slot][0]; in varying_slot_to_tgsi_semantic() 200 unsigned *semantic_name, unsigned *semantic_index) in frag_result_to_tgsi_semantic() argument 215 *semantic_name = map[slot][0]; in frag_result_to_tgsi_semantic() 382 int semantic_name = decl->Semantic.Name; in ttn_emit_declaration() local 398 switch (semantic_name) { in ttn_emit_declaration() 427 tgsi_varying_semantic_to_slot(semantic_name, semantic_index); in ttn_emit_declaration()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_flatshade.c | 168 uint semantic_name, uint semantic_index) in find_interp() argument 173 if ((semantic_name == TGSI_SEMANTIC_COLOR || in find_interp() 174 semantic_name == TGSI_SEMANTIC_BCOLOR) && in find_interp() 185 if (semantic_name == fs->info.input_semantic_name[j] && in find_interp() 251 draw->extra_shader_outputs.semantic_name[j], in flatshade_init_state()
|
D | draw_context.c | 544 uint semantic_name, uint semantic_index) in draw_alloc_extra_vertex_attrib() argument 550 slot = draw_find_shader_output(draw, semantic_name, semantic_index); in draw_alloc_extra_vertex_attrib() 558 assert(n < ARRAY_SIZE(draw->extra_shader_outputs.semantic_name)); in draw_alloc_extra_vertex_attrib() 560 draw->extra_shader_outputs.semantic_name[n] = semantic_name; in draw_alloc_extra_vertex_attrib() 636 uint semantic_name, uint semantic_index) in draw_find_shader_output() argument 642 if (info->output_semantic_name[i] == semantic_name && in draw_find_shader_output() 649 if (draw->extra_shader_outputs.semantic_name[i] == semantic_name && in draw_find_shader_output()
|
D | draw_pipe_clip.c | 769 uint semantic_name, uint semantic_index) in find_interp() argument 774 if ((semantic_name == TGSI_SEMANTIC_COLOR || in find_interp() 775 semantic_name == TGSI_SEMANTIC_BCOLOR) && in find_interp() 778 } else if (semantic_name == TGSI_SEMANTIC_POSITION || in find_interp() 779 semantic_name == TGSI_SEMANTIC_CLIPVERTEX) { in find_interp() 789 if (semantic_name == TGSI_SEMANTIC_LAYER || in find_interp() 790 semantic_name == TGSI_SEMANTIC_VIEWPORT_INDEX) { in find_interp() 798 if (semantic_name == fs->info.input_semantic_name[j] && in find_interp() 904 draw->extra_shader_outputs.semantic_name[j], in clip_init_state()
|
D | draw_private.h | 318 uint semantic_name[10]; member 413 uint semantic_name, uint semantic_index);
|
D | draw_context.h | 139 uint semantic_name, uint semantic_index);
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_shader.cpp | 632 ubyte semantic_name = info->input_semantic_name[slot]; in CompileGS() local 635 unsigned vs_slot = locate_linkage(semantic_name, semantic_idx, &ctx->vs->info.base); in CompileGS() 642 if (semantic_name == TGSI_SEMANTIC_POSITION) in CompileGS() 979 ubyte semantic_name; in swr_so_adjust_attrib() local 985 semantic_name = swr_vs->info.base.output_semantic_name[in_attrib]; in swr_so_adjust_attrib() 986 if (semantic_name == TGSI_SEMANTIC_POSITION) { in swr_so_adjust_attrib() 988 } else if (semantic_name == TGSI_SEMANTIC_PSIZE) { in swr_so_adjust_attrib() 990 } else if (semantic_name == TGSI_SEMANTIC_LAYER) { in swr_so_adjust_attrib() 1127 ubyte semantic_name = swr_fs->info.base.input_semantic_name[attrib]; in CompileFS() local 1130 if (semantic_name == TGSI_SEMANTIC_FACE) { in CompileFS() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_program.c | 432 unsigned semantic_name, semantic_index; in st_translate_vertex_program() local 434 &semantic_name, &semantic_index); in st_translate_vertex_program() 435 output_semantic_name[slot] = semantic_name; in st_translate_vertex_program() 1327 unsigned semantic_name, semantic_index; in st_translate_program_common() local 1329 &semantic_name, &semantic_index); in st_translate_program_common() 1330 input_semantic_name[slot] = semantic_name; in st_translate_program_common() 1363 unsigned semantic_name, semantic_index; in st_translate_program_common() local 1365 &semantic_name, &semantic_index); in st_translate_program_common() 1366 output_semantic_name[slot] = semantic_name; in st_translate_program_common()
|
/external/virglrenderer/src/ |
D | vrend_shader.h | 33 int semantic_name; member
|
D | vrend_shader.c | 4852 sinfo->interpinfo[index].semantic_name = ctx->inputs[i].name; in fill_fragment_interpolants() 5106 switch (fs_info->interpinfo[i].semantic_name) { in vrend_patch_vertex_shader_interpolants() 5129 fprintf(stderr,"unhandled semantic: %x\n", fs_info->interpinfo[i].semantic_name); in vrend_patch_vertex_shader_interpolants()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.h | 184 int r600_get_lds_unique_index(unsigned semantic_name, unsigned index);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_info.c | 616 unsigned semantic_name = info->base.output_semantic_name[index]; in lp_build_tgsi_info() local 618 if (semantic_name == TGSI_SEMANTIC_COLOR && in lp_build_tgsi_info()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_vgpu10.c | 2184 enum tgsi_semantic semantic_name, unsigned index) in emit_system_value_declaration() argument 2186 switch (semantic_name) { in emit_system_value_declaration() 2352 enum tgsi_semantic semantic_name = emit->info.input_semantic_name[i]; in emit_input_declarations() local 2360 if (semantic_name == TGSI_SEMANTIC_POSITION) { in emit_input_declarations() 2370 else if (semantic_name == TGSI_SEMANTIC_FACE) { in emit_input_declarations() 2377 else if (semantic_name == TGSI_SEMANTIC_PRIMID) { in emit_input_declarations() 2411 enum tgsi_semantic semantic_name = emit->info.input_semantic_name[i]; in emit_input_declarations() local 2433 if (semantic_name == TGSI_SEMANTIC_PRIMID) { in emit_input_declarations() 2446 else if (semantic_name == TGSI_SEMANTIC_POSITION) { in emit_input_declarations() 2496 const enum tgsi_semantic semantic_name = in emit_output_declarations() local [all …]
|