/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_from_mesa.c | 62 unsigned *semantic_index) in tgsi_get_gl_varying_semantic() argument 67 *semantic_index = 0; in tgsi_get_gl_varying_semantic() 71 *semantic_index = 0; in tgsi_get_gl_varying_semantic() 75 *semantic_index = 0; in tgsi_get_gl_varying_semantic() 79 *semantic_index = 1; in tgsi_get_gl_varying_semantic() 83 *semantic_index = 0; in tgsi_get_gl_varying_semantic() 87 *semantic_index = 1; in tgsi_get_gl_varying_semantic() 91 *semantic_index = 0; in tgsi_get_gl_varying_semantic() 95 *semantic_index = 0; in tgsi_get_gl_varying_semantic() 99 *semantic_index = 0; in tgsi_get_gl_varying_semantic() [all …]
|
D | tgsi_ureg.c | 119 unsigned semantic_index; member 134 unsigned semantic_index; member 140 unsigned semantic_index; member 289 unsigned semantic_index, in ureg_DECL_fs_input_cyl_centroid_layout() argument 305 ureg->input[i].semantic_index == semantic_index) { in ureg_DECL_fs_input_cyl_centroid_layout() 320 ureg->input[i].semantic_index = semantic_index; in ureg_DECL_fs_input_cyl_centroid_layout() 342 unsigned semantic_index, in ureg_DECL_fs_input_cyl_centroid() argument 350 semantic_name, semantic_index, interp_mode, in ureg_DECL_fs_input_cyl_centroid() 371 unsigned semantic_index, in ureg_DECL_input_layout() argument 378 semantic_name, semantic_index, in ureg_DECL_input_layout() [all …]
|
D | tgsi_from_mesa.h | 44 unsigned *semantic_index); 53 unsigned *semantic_index);
|
D | tgsi_ureg.h | 177 unsigned semantic_index, 189 unsigned semantic_index, 199 unsigned semantic_index, in ureg_DECL_fs_input_cyl() argument 205 semantic_index, in ureg_DECL_fs_input_cyl() 214 unsigned semantic_index, in ureg_DECL_fs_input() argument 219 semantic_index, in ureg_DECL_fs_input() 231 unsigned semantic_index, 240 unsigned semantic_index, 247 unsigned semantic_index); 252 unsigned semantic_index, [all …]
|
D | tgsi_build.c | 264 unsigned semantic_index, in tgsi_build_declaration_semantic() argument 275 assert( semantic_index <= 0xFFFF ); in tgsi_build_declaration_semantic() 278 ds.Index = semantic_index; in tgsi_build_declaration_semantic()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 153 unsigned semantic_name, semantic_index; in gather_intrinsic_load_deref_info() local 155 &semantic_name, &semantic_index); in gather_intrinsic_load_deref_info() 159 info->colors_read |= mask << (semantic_index * 4); in gather_intrinsic_load_deref_info() 498 unsigned semantic_name, semantic_index; in nir_tgsi_scan_shader() local 527 &semantic_name, &semantic_index); in nir_tgsi_scan_shader() 530 info->input_semantic_index[i] = semantic_index; in nir_tgsi_scan_shader() 596 unsigned semantic_name, semantic_index; in nir_tgsi_scan_shader() local 612 &semantic_name, &semantic_index); in nir_tgsi_scan_shader() 616 semantic_index++; in nir_tgsi_scan_shader() 620 &semantic_name, &semantic_index); in nir_tgsi_scan_shader() [all …]
|
D | nir_to_tgsi.c | 106 unsigned *semantic_name, unsigned *semantic_index) in ntt_get_gl_varying_semantic() argument 114 *semantic_index = location - VARYING_SLOT_VAR0; in ntt_get_gl_varying_semantic() 119 semantic_name, semantic_index); in ntt_get_gl_varying_semantic() 203 unsigned semantic_name, semantic_index; in ntt_setup_inputs() local 205 &semantic_name, &semantic_index); in ntt_setup_inputs() 225 semantic_index, in ntt_setup_inputs() 1319 unsigned semantic_name, semantic_index; in ntt_emit_load_input() local 1321 &semantic_name, &semantic_index); in ntt_emit_load_input() 1328 semantic_index, in ntt_emit_load_input() 1421 unsigned semantic_name, semantic_index; in ntt_emit_store_output() local [all …]
|
D | tgsi_to_nir.c | 370 int semantic_index = decl->Semantic.Index; in ttn_emit_declaration() local 398 if (dual_src_blend && (semantic_index == 1)) { in ttn_emit_declaration() 405 var->data.location = FRAG_RESULT_DATA0 + semantic_index; in ttn_emit_declaration() 424 tgsi_varying_semantic_to_slot(semantic_name, semantic_index); in ttn_emit_declaration()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.c | 112 unsigned semantic_index; member 124 unsigned semantic_index; member 131 unsigned semantic_index; member 137 unsigned semantic_index; member 292 unsigned semantic_index, in ureg_DECL_fs_input_cyl_centroid() argument 301 ureg->fs_input[i].semantic_index == semantic_index) { in ureg_DECL_fs_input_cyl_centroid() 308 ureg->fs_input[i].semantic_index = semantic_index; in ureg_DECL_fs_input_cyl_centroid() 337 unsigned semantic_index) in ureg_DECL_gs_input() argument 342 ureg->gs_input[ureg->nr_gs_inputs].semantic_index = semantic_index; in ureg_DECL_gs_input() 357 unsigned semantic_index) in ureg_DECL_system_value() argument [all …]
|
D | tgsi_ureg.h | 166 unsigned semantic_index, 174 unsigned semantic_index, in ureg_DECL_fs_input_cyl() argument 180 semantic_index, in ureg_DECL_fs_input_cyl() 189 unsigned semantic_index, in ureg_DECL_fs_input() argument 194 semantic_index, in ureg_DECL_fs_input() 207 unsigned semantic_index); 213 unsigned semantic_index); 218 unsigned semantic_index, 224 unsigned semantic_index );
|
D | tgsi_build.c | 253 unsigned semantic_index, in tgsi_build_declaration_semantic() argument 264 assert( semantic_index <= 0xFFFF ); in tgsi_build_declaration_semantic() 267 ds.Index = semantic_index; in tgsi_build_declaration_semantic()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_flatshade.c | 168 uint semantic_name, uint semantic_index) in find_interp() argument 175 semantic_index < 2) { in find_interp() 176 interp = indexed_interp[semantic_index]; in find_interp() 186 semantic_index == fs->info.input_semantic_index[j]) { in find_interp() 252 draw->extra_shader_outputs.semantic_index[j]); in flatshade_init_state()
|
D | draw_context.c | 603 uint semantic_name, uint semantic_index) in draw_alloc_extra_vertex_attrib() argument 609 slot = draw_find_shader_output(draw, semantic_name, semantic_index); in draw_alloc_extra_vertex_attrib() 620 draw->extra_shader_outputs.semantic_index[n] = semantic_index; in draw_alloc_extra_vertex_attrib() 697 uint semantic_name, uint semantic_index) in draw_find_shader_output() argument 704 info->output_semantic_index[i] == semantic_index) in draw_find_shader_output() 711 draw->extra_shader_outputs.semantic_index[i] == semantic_index) { in draw_find_shader_output()
|
D | draw_pipe_clip.c | 728 uint semantic_name, uint semantic_index) in find_interp() argument 735 semantic_index < 2) { in find_interp() 736 interp = indexed_interp[semantic_index]; in find_interp() 758 semantic_index == fs->info.input_semantic_index[j]) { in find_interp() 864 draw->extra_shader_outputs.semantic_index[j]); in clip_init_state()
|
D | draw_private.h | 363 uint semantic_index[10]; member 472 uint semantic_name, uint semantic_index);
|
D | draw_context.h | 146 uint semantic_name, uint semantic_index);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_point.c | 253 unsigned semantic_index = shader->info.base.input_semantic_index[slot]; in setup_point_coefficients() local 257 if (semantic_index < PIPE_MAX_SHADER_OUTPUTS && in setup_point_coefficients() 258 (setup->sprite_coord_enable & (1u << semantic_index))) { in setup_point_coefficients()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_info.c | 623 unsigned semantic_index = info->base.output_semantic_index[index]; in lp_build_tgsi_info() local 625 semantic_index < PIPE_MAX_COLOR_BUFS) { in lp_build_tgsi_info() 626 info->cbuf[semantic_index] = info->output[index]; in lp_build_tgsi_info()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_program.c | 550 unsigned semantic_name, semantic_index; in st_translate_vertex_program() local 552 &semantic_name, &semantic_index); in st_translate_vertex_program() 554 output_semantic_index[slot] = semantic_index; in st_translate_vertex_program() 1608 unsigned semantic_name, semantic_index; in st_translate_common_program() local 1610 &semantic_name, &semantic_index); in st_translate_common_program() 1612 input_semantic_index[slot] = semantic_index; in st_translate_common_program() 1644 unsigned semantic_name, semantic_index; in st_translate_common_program() local 1646 &semantic_name, &semantic_index); in st_translate_common_program() 1648 output_semantic_index[slot] = semantic_index; in st_translate_common_program()
|
/external/virglrenderer/src/ |
D | vrend_shader.h | 58 int semantic_index; member
|
D | vrend_shader.c | 6768 sinfo->interpinfo[index].semantic_index = ctx->inputs[i].sid; in fill_fragment_interpolants() 7154 if (fs_info->interpinfo[i].semantic_index == 1) { in vrend_patch_vertex_shader_interpolants() 7162 snprintf(glsl_name, 64, "ex_c%d", fs_info->interpinfo[i].semantic_index); in vrend_patch_vertex_shader_interpolants() 7164 snprintf(glsl_name, 64, "ex_bc%d", fs_info->interpinfo[i].semantic_index); in vrend_patch_vertex_shader_interpolants() 7169 snprintf(glsl_name, 64, "%s_g%d", oprefix, fs_info->interpinfo[i].semantic_index); in vrend_patch_vertex_shader_interpolants()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nvfx_vertprog.c | 803 unsigned semantic_index = fdec->Semantic.Index; in nvfx_vertprog_parse_decl_output() local 846 semantic_index += 8; in nvfx_vertprog_parse_decl_output() 850 if (vpc->vp->texcoord[i] == semantic_index) { in nvfx_vertprog_parse_decl_output()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_ps.c | 143 unsigned semantic_index, unsigned num_interp_inputs, in interp_fs_color() argument 180 if (semantic_index == 1 && colors_read_mask & 0xf) in interp_fs_color()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_vgpu10.c | 3849 const unsigned semantic_index = emit->info.output_semantic_index[i]; in emit_fs_output_declarations() local 3853 assert(semantic_index < ARRAY_SIZE(emit->fs.color_out_index)); in emit_fs_output_declarations() 3855 emit->fs.color_out_index[semantic_index] = index; in emit_fs_output_declarations() 3862 VGPU10_OPCODE_DCL_OUTPUT, semantic_index, in emit_fs_output_declarations() 3868 if (semantic_index == 0) { in emit_fs_output_declarations() 3917 const unsigned semantic_index = emit->info.output_semantic_index[index]; in emit_vertex_output_declaration() local 3946 if (semantic_index == 0) in emit_vertex_output_declaration() 3948 final_mask = apply_clip_plane_mask(emit, writemask, semantic_index); in emit_vertex_output_declaration()
|