Home
last modified time | relevance | path

Searched refs:semantic_index (Results 1 – 25 of 25) 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.c119 unsigned semantic_index; member
133 unsigned semantic_index; member
139 unsigned semantic_index; member
288 unsigned semantic_index, in ureg_DECL_fs_input_centroid_layout() argument
303 ureg->input[i].semantic_index == semantic_index) { in ureg_DECL_fs_input_centroid_layout()
317 ureg->input[i].semantic_index = semantic_index; in ureg_DECL_fs_input_centroid_layout()
338 unsigned semantic_index, in ureg_DECL_fs_input_centroid() argument
345 semantic_name, semantic_index, interp_mode, in ureg_DECL_fs_input_centroid()
366 unsigned semantic_index, in ureg_DECL_input_layout() argument
373 semantic_name, semantic_index, in ureg_DECL_input_layout()
[all …]
Dtgsi_from_mesa.h44 unsigned *semantic_index);
53 unsigned *semantic_index);
Dtgsi_ureg.h177 unsigned semantic_index,
188 unsigned semantic_index,
197 unsigned semantic_index, in ureg_DECL_fs_input() argument
202 semantic_index, in ureg_DECL_fs_input()
214 unsigned semantic_index,
223 unsigned semantic_index,
230 unsigned semantic_index);
235 unsigned semantic_index,
246 unsigned semantic_index,
254 unsigned semantic_index);
[all …]
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.c153 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 …]
Dnir_to_tgsi.c130 unsigned *semantic_name, unsigned *semantic_index) in ntt_get_gl_varying_semantic() argument
138 *semantic_index = location - VARYING_SLOT_VAR0; in ntt_get_gl_varying_semantic()
143 semantic_name, semantic_index); in ntt_get_gl_varying_semantic()
199 unsigned semantic_name, semantic_index; in ntt_output_decl() local
201 &semantic_name, &semantic_index); in ntt_output_decl()
202 semantic_index += semantics.dual_source_blend_index; in ntt_output_decl()
215 out = ureg_DECL_output(c->ureg, semantic_name, semantic_index); in ntt_output_decl()
217 unsigned semantic_name, semantic_index; in ntt_output_decl() local
220 &semantic_name, &semantic_index); in ntt_output_decl()
240 semantic_name, semantic_index, in ntt_output_decl()
[all …]
Dtgsi_to_nir.c371 int semantic_index = decl->Semantic.Index; in ttn_emit_declaration() local
399 if (dual_src_blend && (semantic_index == 1)) { in ttn_emit_declaration()
406 var->data.location = FRAG_RESULT_DATA0 + semantic_index; in ttn_emit_declaration()
430 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.c597 uint semantic_name, uint semantic_index) in draw_alloc_extra_vertex_attrib() argument
603 slot = draw_find_shader_output(draw, semantic_name, semantic_index); in draw_alloc_extra_vertex_attrib()
614 draw->extra_shader_outputs.semantic_index[n] = semantic_index; in draw_alloc_extra_vertex_attrib()
691 uint semantic_name, uint semantic_index) in draw_find_shader_output() argument
698 info->output_semantic_index[i] == semantic_index) in draw_find_shader_output()
705 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.h395 uint semantic_index[DRAW_MAX_EXTRA_SHADER_OUTPUTS]; member
504 uint semantic_name, uint semantic_index);
Ddraw_context.h146 uint semantic_name, uint semantic_index);
/third_party/boost/boost/gil/
Dcolor_base_algorithm.hpp83 static constexpr int semantic_index = mp11::mp_at_c<channel_mapping_t, K>::type::value; member
84 using type = typename kth_element_type<ColorBase, semantic_index>::type;
96 static constexpr int semantic_index = mp11::mp_at_c<channel_mapping_t, K>::type::value; member
97 using type = typename kth_element_reference_type<ColorBase, semantic_index>::type;
98 static type get(ColorBase& cb) { return gil::at_c<semantic_index>(cb); } in get()
110 static constexpr int semantic_index = mp11::mp_at_c<channel_mapping_t, K>::type::value; member
111 using type = typename kth_element_const_reference_type<ColorBase,semantic_index>::type;
112 static type get(const ColorBase& cb) { return gil::at_c<semantic_index>(cb); } in get()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.h42 uint32_t semantic_index; // Semantic Index member
Ddxil_signature.c404 elm->semantic_index = semantic->index + row; in fill_signature_element()
Ddxil_dump.c735 io->name, io->elements[j].semantic_index, in dump_io_signature()
/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/mesa/state_tracker/
Dst_program.c633 unsigned semantic_name, semantic_index; in st_translate_vertex_program() local
635 &semantic_name, &semantic_index); in st_translate_vertex_program()
637 output_semantic_index[slot] = semantic_index; in st_translate_vertex_program()
1756 unsigned semantic_name, semantic_index; in st_translate_common_program() local
1758 &semantic_name, &semantic_index); in st_translate_common_program()
1760 input_semantic_index[slot] = semantic_index; in st_translate_common_program()
1792 unsigned semantic_name, semantic_index; in st_translate_common_program() local
1794 &semantic_name, &semantic_index); in st_translate_common_program()
1796 output_semantic_index[slot] = semantic_index; in st_translate_common_program()
/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.c143 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()
Dsi_state_draw.cpp1753 unsigned semantic_index = u_bit_scan(partial_velem_mask); in get_next_vertex_state_elem() local
1754 assert(state->input.full_velem_mask & BITFIELD_BIT(semantic_index)); in get_next_vertex_state_elem()
1756 return bitcount_asm<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.c3849 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()