/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_from_mesa.c | 64 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 …]
|
D | tgsi_ureg.c | 120 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 …]
|
D | tgsi_ureg.h | 178 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 …]
|
D | tgsi_from_mesa.h | 44 unsigned *semantic_index); 53 unsigned *semantic_index);
|
D | tgsi_build.c | 261 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/ |
D | nir_to_tgsi_info.c | 154 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 …]
|
D | nir_to_tgsi.c | 607 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 …]
|
D | tgsi_to_nir.c | 372 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/ |
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 | 593 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()
|
D | draw_pipe_clip.c | 739 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()
|
D | draw_private.h | 396 uint semantic_index[DRAW_MAX_EXTRA_SHADER_OUTPUTS]; member 505 uint semantic_name, uint semantic_index);
|
D | draw_context.h | 148 uint semantic_name, uint semantic_index);
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_info.c | 625 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/ |
D | dxil_signature.h | 42 uint32_t semantic_index; // Semantic Index member
|
D | dxil_signature.c | 450 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()
|
D | dxil_dump.c | 740 io->name, io->elements[j].semantic_index, in dump_io_signature()
|
/third_party/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()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_hlsl.cpp | 609 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/ |
D | nvfx_vertprog.c | 804 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/ |
D | si_shader_llvm_ps.c | 141 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()
|
D | si_state_draw.cpp | 1889 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/ |
D | svga_tgsi_vgpu10.c | 4100 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()
|