Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c64 unsigned *semantic_index) in tgsi_get_gl_varying_semantic() argument
69 *semantic_index = 0; in tgsi_get_gl_varying_semantic()
73 *semantic_index = 0; in tgsi_get_gl_varying_semantic()
77 *semantic_index = 0; in tgsi_get_gl_varying_semantic()
81 *semantic_index = 1; in tgsi_get_gl_varying_semantic()
85 *semantic_index = 0; in tgsi_get_gl_varying_semantic()
89 *semantic_index = 1; in tgsi_get_gl_varying_semantic()
93 *semantic_index = 0; in tgsi_get_gl_varying_semantic()
97 *semantic_index = 0; in tgsi_get_gl_varying_semantic()
101 *semantic_index = 0; in tgsi_get_gl_varying_semantic()
[all …]
Dtgsi_ureg.c120 unsigned semantic_index; member
134 unsigned semantic_index; member
140 unsigned semantic_index; member
291 unsigned semantic_index, in ureg_DECL_fs_input_centroid_layout() argument
306 ureg->input[i].semantic_index == semantic_index) { in ureg_DECL_fs_input_centroid_layout()
322 ureg->input[i].semantic_index = semantic_index; in ureg_DECL_fs_input_centroid_layout()
343 unsigned semantic_index, in ureg_DECL_fs_input_centroid() argument
350 semantic_name, semantic_index, interp_mode, in ureg_DECL_fs_input_centroid()
371 unsigned semantic_index, in ureg_DECL_input_layout() argument
378 semantic_name, semantic_index, in ureg_DECL_input_layout()
[all …]
Dtgsi_ureg.h178 unsigned semantic_index,
189 unsigned semantic_index,
198 unsigned semantic_index, in ureg_DECL_fs_input() argument
203 semantic_index, in ureg_DECL_fs_input()
215 unsigned semantic_index,
224 unsigned semantic_index,
231 unsigned semantic_index);
236 unsigned semantic_index,
247 unsigned semantic_index,
255 unsigned semantic_index);
[all …]
Dtgsi_from_mesa.h44 unsigned *semantic_index);
53 unsigned *semantic_index);
Dtgsi_build.c261 unsigned semantic_index, in tgsi_build_declaration_semantic() argument
272 assert( semantic_index <= 0xFFFF ); in tgsi_build_declaration_semantic()
275 ds.Index = semantic_index; in tgsi_build_declaration_semantic()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c154 unsigned semantic_name, semantic_index; in gather_intrinsic_load_deref_info() local
156 &semantic_name, &semantic_index); in gather_intrinsic_load_deref_info()
160 info->colors_read |= mask << (semantic_index * 4); in gather_intrinsic_load_deref_info()
491 unsigned semantic_name, semantic_index; in nir_tgsi_scan_shader() local
520 &semantic_name, &semantic_index); in nir_tgsi_scan_shader()
523 info->input_semantic_index[i] = semantic_index; in nir_tgsi_scan_shader()
589 unsigned semantic_name, semantic_index; in nir_tgsi_scan_shader() local
605 &semantic_name, &semantic_index); in nir_tgsi_scan_shader()
609 semantic_index++; in nir_tgsi_scan_shader()
613 &semantic_name, &semantic_index); in nir_tgsi_scan_shader()
[all …]
Dnir_to_tgsi.c607 unsigned *semantic_name, unsigned *semantic_index) in ntt_get_gl_varying_semantic() argument
615 *semantic_index = location - VARYING_SLOT_VAR0; in ntt_get_gl_varying_semantic()
620 semantic_name, semantic_index); in ntt_get_gl_varying_semantic()
676 unsigned semantic_name, semantic_index; in ntt_output_decl() local
678 &semantic_name, &semantic_index); in ntt_output_decl()
679 semantic_index += semantics.dual_source_blend_index; in ntt_output_decl()
692 out = ureg_DECL_output(c->ureg, semantic_name, semantic_index); in ntt_output_decl()
694 unsigned semantic_name, semantic_index; in ntt_output_decl() local
697 &semantic_name, &semantic_index); in ntt_output_decl()
717 semantic_name, semantic_index, in ntt_output_decl()
[all …]
Dtgsi_to_nir.c372 int semantic_index = decl->Semantic.Index; in ttn_emit_declaration() local
400 if (dual_src_blend && (semantic_index == 1)) { in ttn_emit_declaration()
407 var->data.location = FRAG_RESULT_DATA0 + semantic_index; in ttn_emit_declaration()
431 tgsi_varying_semantic_to_slot(semantic_name, semantic_index); in ttn_emit_declaration()
/third_party/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.c593 uint semantic_name, uint semantic_index) in draw_alloc_extra_vertex_attrib() argument
599 slot = draw_find_shader_output(draw, semantic_name, semantic_index); in draw_alloc_extra_vertex_attrib()
610 draw->extra_shader_outputs.semantic_index[n] = semantic_index; in draw_alloc_extra_vertex_attrib()
687 uint semantic_name, uint semantic_index) in draw_find_shader_output() argument
694 info->output_semantic_index[i] == semantic_index) in draw_find_shader_output()
701 draw->extra_shader_outputs.semantic_index[i] == semantic_index) { in draw_find_shader_output()
Ddraw_pipe_clip.c739 uint semantic_name, uint semantic_index) in find_interp() argument
746 semantic_index < 2) { in find_interp()
747 interp = indexed_interp[semantic_index]; in find_interp()
769 semantic_index == fs->info.input_semantic_index[j]) { in find_interp()
875 draw->extra_shader_outputs.semantic_index[j]); in clip_init_state()
Ddraw_private.h396 uint semantic_index[DRAW_MAX_EXTRA_SHADER_OUTPUTS]; member
505 uint semantic_name, uint semantic_index);
Ddraw_context.h148 uint semantic_name, uint semantic_index);
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c625 unsigned semantic_index = info->base.output_semantic_index[index]; in lp_build_tgsi_info() local
627 semantic_index < PIPE_MAX_COLOR_BUFS) { in lp_build_tgsi_info()
628 info->cbuf[semantic_index] = info->output[index]; in lp_build_tgsi_info()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.h42 uint32_t semantic_index; // Semantic Index member
Ddxil_signature.c450 flattened_semantics[i] = dxil_get_metadata_int32(mod, rec->elements[i].semantic_index); in fill_SV_param_nodes()
498 elm->semantic_index = semantic->index + row; in fill_signature_element()
Ddxil_dump.c740 io->name, io->elements[j].semantic_index, in dump_io_signature()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c253 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()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp609 uint32_t semantic_index = clip / 4; in emit_builtin_outputs_in_struct() local
612 …statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassOutput), semantic_index, in emit_builtin_outputs_in_struct()
613 " : SV_ClipDistance", semantic_index, ";"); in emit_builtin_outputs_in_struct()
625 uint32_t semantic_index = cull / 4; in emit_builtin_outputs_in_struct() local
628 …statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassOutput), semantic_index, in emit_builtin_outputs_in_struct()
629 " : SV_CullDistance", semantic_index, ";"); in emit_builtin_outputs_in_struct()
739 uint32_t semantic_index = clip / 4; in emit_builtin_inputs_in_struct() local
742 … statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassInput), semantic_index, in emit_builtin_inputs_in_struct()
743 " : SV_ClipDistance", semantic_index, ";"); in emit_builtin_inputs_in_struct()
755 uint32_t semantic_index = cull / 4; in emit_builtin_inputs_in_struct() local
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_vertprog.c804 unsigned semantic_index = fdec->Semantic.Index; in nvfx_vertprog_parse_decl_output() local
847 semantic_index += 8; in nvfx_vertprog_parse_decl_output()
851 if (vpc->vp->texcoord[i] == semantic_index) { in nvfx_vertprog_parse_decl_output()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c141 unsigned semantic_index, unsigned num_interp_inputs, in interp_fs_color() argument
178 if (semantic_index == 1 && colors_read_mask & 0xf) in interp_fs_color()
Dsi_state_draw.cpp1889 unsigned semantic_index = u_bit_scan(partial_velem_mask); in get_next_vertex_state_elem() local
1890 assert(state->input.full_velem_mask & BITFIELD_BIT(semantic_index)); in get_next_vertex_state_elem()
1892 return util_bitcount_fast<POPCNT>(state->input.full_velem_mask & BITFIELD_MASK(semantic_index)); in get_next_vertex_state_elem()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c4100 const unsigned semantic_index = emit->info.output_semantic_index[i]; in emit_fs_output_declarations() local
4104 assert(semantic_index < ARRAY_SIZE(emit->fs.color_out_index)); in emit_fs_output_declarations()
4106 emit->fs.color_out_index[semantic_index] = index; in emit_fs_output_declarations()
4113 VGPU10_OPCODE_DCL_OUTPUT, semantic_index, in emit_fs_output_declarations()
4119 if (semantic_index == 0) { in emit_fs_output_declarations()
4168 const unsigned semantic_index = emit->info.output_semantic_index[index]; in emit_vertex_output_declaration() local
4197 if (semantic_index == 0) in emit_vertex_output_declaration()
4199 final_mask = apply_clip_plane_mask(emit, writemask, semantic_index); in emit_vertex_output_declaration()