Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c62 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 …]
Dtgsi_ureg.c116 unsigned semantic_index; member
131 unsigned semantic_index; member
137 unsigned semantic_index; member
285 unsigned semantic_index, in ureg_DECL_fs_input_cyl_centroid_layout() argument
301 ureg->input[i].semantic_index == semantic_index) { in ureg_DECL_fs_input_cyl_centroid_layout()
316 ureg->input[i].semantic_index = semantic_index; in ureg_DECL_fs_input_cyl_centroid_layout()
338 unsigned semantic_index, 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()
366 unsigned semantic_index, in ureg_DECL_input_layout() argument
373 semantic_name, semantic_index, 0, 0, 0, in ureg_DECL_input_layout()
[all …]
Dtgsi_ureg.h172 unsigned semantic_index,
184 unsigned semantic_index,
194 unsigned semantic_index, in ureg_DECL_fs_input_cyl() argument
200 semantic_index, in ureg_DECL_fs_input_cyl()
209 unsigned semantic_index, in ureg_DECL_fs_input() argument
214 semantic_index, in ureg_DECL_fs_input()
226 unsigned semantic_index,
235 unsigned semantic_index,
242 unsigned semantic_index);
247 unsigned semantic_index,
[all …]
Dtgsi_from_mesa.h39 unsigned *semantic_index);
48 unsigned *semantic_index);
Dtgsi_build.c263 unsigned semantic_index, in tgsi_build_declaration_semantic() argument
274 assert( semantic_index <= 0xFFFF ); in tgsi_build_declaration_semantic()
277 ds.Index = semantic_index; in tgsi_build_declaration_semantic()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c102 unsigned semantic_index; member
114 unsigned semantic_index; member
121 unsigned semantic_index; member
127 unsigned semantic_index; member
280 unsigned semantic_index, in ureg_DECL_fs_input_cyl_centroid() argument
289 ureg->fs_input[i].semantic_index == semantic_index) { in ureg_DECL_fs_input_cyl_centroid()
296 ureg->fs_input[i].semantic_index = semantic_index; in ureg_DECL_fs_input_cyl_centroid()
325 unsigned semantic_index) in ureg_DECL_gs_input() argument
330 ureg->gs_input[ureg->nr_gs_inputs].semantic_index = semantic_index; in ureg_DECL_gs_input()
345 unsigned semantic_index) in ureg_DECL_system_value() argument
[all …]
Dtgsi_ureg.h166 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 );
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/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()
383 int semantic_index = decl->Semantic.Index; in ttn_emit_declaration() local
406 if (dual_src_blend && (semantic_index == 1)) { in ttn_emit_declaration()
413 var->data.location = FRAG_RESULT_DATA0 + semantic_index; in ttn_emit_declaration()
427 tgsi_varying_semantic_to_slot(semantic_name, semantic_index); in ttn_emit_declaration()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c204 unsigned semantic_name, semantic_index; in si_nir_scan_shader() local
237 &semantic_name, &semantic_index); in si_nir_scan_shader()
240 info->input_semantic_index[i] = semantic_index; 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()
323 semantic_index++; in si_nir_scan_shader()
327 &semantic_name, &semantic_index); in si_nir_scan_shader()
338 info->output_semantic_index[i] = semantic_index; in si_nir_scan_shader()
395 info->colors_written |= 1 << semantic_index; in si_nir_scan_shader()
Dsi_shader.c57 unsigned semantic_index; member
1582 unsigned semantic_index = info->input_semantic_index[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()
1734 unsigned semantic_index, in interp_fs_input() argument
1778 if (semantic_index == 1 && colors_read_mask & 0xf) in interp_fs_input()
1827 unsigned semantic_index = info->input_semantic_index[input_index]; in si_llvm_load_input_fs() local
1834 unsigned mask = colors_read >> (semantic_index * 4); in si_llvm_load_input_fs()
1836 (semantic_index ? util_bitcount(colors_read & 0xf) : 0); in si_llvm_load_input_fs()
1853 semantic_index, 0, /* this param is unused */ in si_llvm_load_input_fs()
2852 unsigned semantic_index = outputs[i].semantic_index; in si_build_param_exports() local
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_flatshade.c168 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()
Ddraw_context.c544 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()
561 draw->extra_shader_outputs.semantic_index[n] = semantic_index; in draw_alloc_extra_vertex_attrib()
636 uint semantic_name, uint semantic_index) in draw_find_shader_output() argument
643 info->output_semantic_index[i] == semantic_index) in draw_find_shader_output()
650 draw->extra_shader_outputs.semantic_index[i] == semantic_index) { in draw_find_shader_output()
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 semantic_index < 2) { in find_interp()
777 interp = indexed_interp[semantic_index]; in find_interp()
799 semantic_index == fs->info.input_semantic_index[j]) { in find_interp()
905 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/mesa/state_tracker/
Dst_program.c432 unsigned semantic_name, semantic_index; in st_translate_vertex_program() local
434 &semantic_name, &semantic_index); in st_translate_vertex_program()
436 output_semantic_index[slot] = semantic_index; 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()
1331 input_semantic_index[slot] = semantic_index; 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()
1367 output_semantic_index[slot] = semantic_index; in st_translate_program_common()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c617 unsigned semantic_index = info->base.output_semantic_index[index]; in lp_build_tgsi_info() local
619 semantic_index < PIPE_MAX_COLOR_BUFS) { in lp_build_tgsi_info()
620 info->cbuf[semantic_index] = info->output[index]; in lp_build_tgsi_info()
/external/virglrenderer/src/
Dvrend_shader.h34 int semantic_index; member
Dvrend_shader.c4853 sinfo->interpinfo[index].semantic_index = ctx->inputs[i].sid; in fill_fragment_interpolants()
5110 if (fs_info->interpinfo[i].semantic_index == 1) { in vrend_patch_vertex_shader_interpolants()
5118 snprintf(glsl_name, 64, "ex_c%d", fs_info->interpinfo[i].semantic_index); in vrend_patch_vertex_shader_interpolants()
5120 snprintf(glsl_name, 64, "ex_bc%d", fs_info->interpinfo[i].semantic_index); in vrend_patch_vertex_shader_interpolants()
5125 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/
Dnvfx_vertprog.c803 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/svga/
Dsvga_tgsi_vgpu10.c2498 const unsigned semantic_index = emit->info.output_semantic_index[i]; in emit_output_declarations() local
2503 assert(semantic_index < ARRAY_SIZE(emit->fs.color_out_index)); in emit_output_declarations()
2505 emit->fs.color_out_index[semantic_index] = index; in emit_output_declarations()
2512 VGPU10_OPCODE_DCL_OUTPUT, semantic_index, in emit_output_declarations()
2516 if (semantic_index == 0) { in emit_output_declarations()
2566 if (semantic_index == 0) in emit_output_declarations()
2569 writemask = apply_clip_plane_mask(emit, writemask, semantic_index); in emit_output_declarations()