Home
last modified time | relevance | path

Searched refs:semantic_index (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c108 unsigned semantic_index; member
123 unsigned semantic_index; member
129 unsigned semantic_index; member
276 unsigned semantic_index, in ureg_DECL_fs_input_cyl_centroid_layout() argument
292 ureg->input[i].semantic_index == semantic_index) { in ureg_DECL_fs_input_cyl_centroid_layout()
307 ureg->input[i].semantic_index = semantic_index; in ureg_DECL_fs_input_cyl_centroid_layout()
329 unsigned semantic_index, in ureg_DECL_fs_input_cyl_centroid() argument
337 semantic_name, semantic_index, interp_mode, cylindrical_wrap, interp_location, in ureg_DECL_fs_input_cyl_centroid()
357 unsigned semantic_index, in ureg_DECL_input_layout() argument
364 semantic_name, semantic_index, 0, 0, 0, in ureg_DECL_input_layout()
[all …]
Dtgsi_ureg.h178 unsigned semantic_index,
190 unsigned semantic_index,
200 unsigned semantic_index, in ureg_DECL_fs_input_cyl() argument
206 semantic_index, in ureg_DECL_fs_input_cyl()
215 unsigned semantic_index, in ureg_DECL_fs_input() argument
220 semantic_index, in ureg_DECL_fs_input()
232 unsigned semantic_index,
241 unsigned semantic_index,
248 unsigned semantic_index);
253 unsigned semantic_index,
[all …]
Dtgsi_build.c253 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/drivers/ilo/shader/
Dtoy_tgsi.h72 unsigned semantic_index:8; member
83 unsigned semantic_index:8; member
90 unsigned semantic_index:8; member
Dilo_shader_vs.c71 const int grf = first_in_grf + vcc->tgsi.inputs[slot].semantic_index; in vs_lower_opcode_tgsi_in()
1024 tgsi->system_values[i].semantic_index; in vs_setup_shader_in()
1036 if (tgsi->inputs[i].semantic_index >= num_attrs) in vs_setup_shader_in()
1037 num_attrs = tgsi->inputs[i].semantic_index + 1; in vs_setup_shader_in()
1078 if (tgsi->outputs[i].semantic_index) in vs_setup_shader_out()
1084 if (tgsi->outputs[i].semantic_index) in vs_setup_shader_out()
1090 if (tgsi->outputs[i].semantic_index) in vs_setup_shader_out()
1144 sh->out.semantic_indices[num_outs] = tgsi->outputs[slot].semantic_index; in vs_setup_shader_out()
1161 sh->out.semantic_indices[num_outs] = tgsi->outputs[i].semantic_index; in vs_setup_shader_out()
1342 vcc.tgsi.outputs[i].semantic_index == in ilo_shader_compile_vs()
Dilo_shader_gs.c584 gcc->tgsi.inputs[slot].semantic_index) { in gs_lower_opcode_tgsi_in()
1073 if (tgsi->outputs[i].semantic_index) in gs_setup_shader_out()
1079 if (tgsi->outputs[i].semantic_index) in gs_setup_shader_out()
1085 if (tgsi->outputs[i].semantic_index) in gs_setup_shader_out()
1139 sh->out.semantic_indices[num_outs] = tgsi->outputs[slot].semantic_index; in gs_setup_shader_out()
1156 sh->out.semantic_indices[num_outs] = tgsi->outputs[i].semantic_index; in gs_setup_shader_out()
1329 gcc->tgsi.outputs[i].semantic_index = in gs_setup()
Dilo_shader_fs.c1458 assert(fcc->tgsi.outputs[i].semantic_index < ARRAY_SIZE(color_slots)); in fs_write_fb()
1459 color_slots[fcc->tgsi.outputs[i].semantic_index] = i; in fs_write_fb()
1594 sh->out.semantic_indices[i] = tgsi->outputs[i].semantic_index; in fs_setup_shader_out()
1613 sh->in.semantic_indices[i] = tgsi->inputs[i].semantic_index; in fs_setup_shader_in()
Dtoy_tgsi.c2123 tgsi->inputs[slot].semantic_index = decl->Semantic.Index; in decl_add_in()
2127 tgsi->inputs[slot].semantic_index = index; in decl_add_in()
2153 tgsi->outputs[slot].semantic_index = decl->Semantic.Index; in decl_add_out()
2173 tgsi->system_values[slot].semantic_index = decl->Semantic.Index; in decl_add_sv()
2177 tgsi->system_values[slot].semantic_index = index; in decl_add_sv()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.h31 unsigned *semantic_name, unsigned *semantic_index);
34 unsigned *semantic_name, unsigned *semantic_index);
Dtgsi_to_nir.c152 unsigned *semantic_name, unsigned *semantic_index) in varying_slot_to_tgsi_semantic() argument
175 *semantic_index = slot - VARYING_SLOT_VAR0; in varying_slot_to_tgsi_semantic()
181 *semantic_index = slot - VARYING_SLOT_TEX0; in varying_slot_to_tgsi_semantic()
191 *semantic_index = map[slot][1]; in varying_slot_to_tgsi_semantic()
200 unsigned *semantic_name, unsigned *semantic_index) in frag_result_to_tgsi_semantic() argument
216 *semantic_index = map[slot][1]; in frag_result_to_tgsi_semantic()
382 int semantic_index = decl->Semantic.Index; in ttn_emit_declaration() local
405 if (dual_src_blend && (semantic_index == 1)) { in ttn_emit_declaration()
412 var->data.location = FRAG_RESULT_DATA0 + semantic_index; in ttn_emit_declaration()
426 tgsi_varying_semantic_to_slot(semantic_name, semantic_index); in ttn_emit_declaration()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.c545 uint semantic_name, uint semantic_index) in draw_alloc_extra_vertex_attrib() argument
551 slot = draw_find_shader_output(draw, semantic_name, semantic_index); in draw_alloc_extra_vertex_attrib()
562 draw->extra_shader_outputs.semantic_index[n] = semantic_index; in draw_alloc_extra_vertex_attrib()
637 uint semantic_name, uint semantic_index) in draw_find_shader_output() argument
644 info->output_semantic_index[i] == semantic_index) in draw_find_shader_output()
651 draw->extra_shader_outputs.semantic_index[i] == semantic_index) { in draw_find_shader_output()
Ddraw_pipe_flatshade.c168 uint semantic_name, uint semantic_index) in find_interp() argument
175 interp = indexed_interp[semantic_index]; in find_interp()
185 semantic_index == fs->info.input_semantic_index[j]) { in find_interp()
249 draw->extra_shader_outputs.semantic_index[j]); in flatshade_init_state()
Ddraw_private.h319 uint semantic_index[10]; member
413 uint semantic_name, uint semantic_index);
Ddraw_pipe_clip.c769 uint semantic_name, uint semantic_index) in find_interp() argument
776 interp = indexed_interp[semantic_index]; in find_interp()
798 semantic_index == fs->info.input_semantic_index[j]) { in find_interp()
894 draw->extra_shader_outputs.semantic_index[j]); in clip_init_state()
Ddraw_context.h139 uint semantic_name, uint semantic_index);
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c249 unsigned semantic_index = shader->info.base.input_semantic_index[slot]; in setup_point_coefficients() local
253 if (semantic_index < PIPE_MAX_SHADER_OUTPUTS && in setup_point_coefficients()
254 (setup->sprite_coord_enable & (1 << semantic_index))) { in setup_point_coefficients()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c621 unsigned semantic_index = info->base.output_semantic_index[index]; in lp_build_tgsi_info() local
623 semantic_index < PIPE_MAX_COLOR_BUFS) { in lp_build_tgsi_info()
624 info->cbuf[semantic_index] = info->output[index]; in lp_build_tgsi_info()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_vertprog.c810 unsigned semantic_index = fdec->Semantic.Index; in nvfx_vertprog_parse_decl_output() local
853 semantic_index += 8; in nvfx_vertprog_parse_decl_output()
857 if (vpc->vp->texcoord[i] == semantic_index) { in nvfx_vertprog_parse_decl_output()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c59 unsigned semantic_index; member
1192 unsigned semantic_index = info->input_semantic_index[reg->Register.Index]; in fetch_input_gs() local
1225 param = si_shader_io_get_unique_index(semantic_name, semantic_index); in fetch_input_gs()
1375 unsigned semantic_index, in interp_fs_input() argument
1428 if (semantic_index == 1 && colors_read_mask & 0xf) in interp_fs_input()
2438 unsigned semantic_name, semantic_index; in si_llvm_export_vs() local
2446 semantic_index = outputs[i].semantic_index; in si_llvm_export_vs()
2458 (1ull << si_shader_io_get_unique_index(semantic_name, semantic_index))) in si_llvm_export_vs()
2463 (1u << si_shader_io_get_unique_index2(semantic_name, semantic_index))) in si_llvm_export_vs()
2499 target = V_008DFC_SQ_EXP_POS + 2 + semantic_index; in si_llvm_export_vs()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c2488 const unsigned semantic_index = emit->info.output_semantic_index[i]; in emit_output_declarations() local
2493 assert(semantic_index < ARRAY_SIZE(emit->fs.color_out_index)); in emit_output_declarations()
2495 emit->fs.color_out_index[semantic_index] = index; in emit_output_declarations()
2499 VGPU10_OPCODE_DCL_OUTPUT, semantic_index, in emit_output_declarations()
2503 if (semantic_index == 0) { in emit_output_declarations()
2550 if (semantic_index == 0) in emit_output_declarations()
2553 writemask = apply_clip_plane_mask(emit, writemask, semantic_index); in emit_output_declarations()