Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c68 *semantic_name = TGSI_SEMANTIC_PRIMID; in tgsi_get_gl_varying_semantic()
259 return TGSI_SEMANTIC_PRIMID; in tgsi_get_sysval_semantic()
Dtgsi_scan.c678 case TGSI_SEMANTIC_PRIMID: in scan_declaration()
712 case TGSI_SEMANTIC_PRIMID: in scan_declaration()
758 case TGSI_SEMANTIC_PRIMID: in scan_declaration()
Dtgsi_dump.c306 decl->Semantic.Name == TGSI_SEMANTIC_PRIMID; in iter_declaration()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c60 if (info->in[i].sn == TGSI_SEMANTIC_PRIMID) in nv50_vertprog_assign_slots()
74 case TGSI_SEMANTIC_PRIMID: in nv50_vertprog_assign_slots()
180 else if (info->in[i].sn == TGSI_SEMANTIC_PRIMID) in nv50_fragprog_assign_slots()
Dnv50_shader_state.c491 case TGSI_SEMANTIC_PRIMID: in nv50_fp_linkage_validate()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.c44 case TGSI_SEMANTIC_PRIMID: return 0x060; in nvc0_shader_input_address()
73 case TGSI_SEMANTIC_PRIMID: return 0x060; in nvc0_shader_output_address()
245 case TGSI_SEMANTIC_PRIMID: in nvc0_vtgp_gen_header()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c136 int primid_sv = machine->SysSemanticToIndex[TGSI_SEMANTIC_PRIMID]; in tgsi_fetch_gs_input()
154 if (shader->info.input_semantic_name[slot] == TGSI_SEMANTIC_PRIMID) { in tgsi_fetch_gs_input()
253 if (shader->info.input_semantic_name[slot] == TGSI_SEMANTIC_PRIMID) { in llvm_fetch_gs_input()
Ddraw_prim_assembler.c232 ia->draw, TGSI_SEMANTIC_PRIMID, 0); in draw_prim_assembler_prepare_outputs()
Ddraw_llvm.c4210 int primid_output = draw_find_shader_output(llvm->draw, TGSI_SEMANTIC_PRIMID, 0); in draw_tes_llvm_make_variant_key()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c525 if (semantic_name == TGSI_SEMANTIC_PRIMID) in nir_tgsi_scan_shader()
700 case TGSI_SEMANTIC_PRIMID: in nir_tgsi_scan_shader()
Dtgsi_to_nir.c131 case TGSI_SEMANTIC_PRIMID: in tgsi_varying_semantic_to_slot()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h169 TGSI_SEMANTIC_PRIMID, enumerator
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi.c362 case TGSI_SEMANTIC_PRIMID: in svga_tgsi_to_gl_varying_semantic()
Dsvga_tgsi_vgpu10.c173 assert(tgsi_semantic_to_sgn_name[TGSI_SEMANTIC_PRIMID] == in map_tgsi_semantic_to_sgn_name()
4306 case TGSI_SEMANTIC_PRIMID: in emit_gs_output_declarations()
4792 case TGSI_SEMANTIC_PRIMID: in emit_system_value_declaration()
5038 else if (semantic_name == TGSI_SEMANTIC_PRIMID) { in emit_fs_input_declarations()
5160 if (semantic_name == TGSI_SEMANTIC_PRIMID) { in emit_gs_input_declarations()
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_target_nv50.cpp587 case TGSI_SEMANTIC_PRIMID: locs[SV_PRIMITIVE_ID] = addr; break; in recordLocation()
Dnv50_ir_from_tgsi.cpp441 case TGSI_SEMANTIC_PRIMID: return nv50_ir::SV_PRIMITIVE_ID; in translateSysVal()
1269 case TGSI_SEMANTIC_PRIMID: in inferSysValDirection()
1520 case TGSI_SEMANTIC_PRIMID: in scanInstructionSrc()
1571 info_out->out[dst.getIndex(0)].sn == TGSI_SEMANTIC_PRIMID || in scanInstruction()
2056 if (!ptr && info_out->in[idx].sn == TGSI_SEMANTIC_PRIMID) in fetchSrc()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_vs.cpp160 ShaderOutput output(m_parent->noutputs(), TGSI_SEMANTIC_PRIMID, 1); in finalize()
Dsfn_shader_fs.cpp428 case TGSI_SEMANTIC_PRIMID: in scan_input()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_soa.c1131 if (info->input_semantic_name[reg->Register.Index] == TGSI_SEMANTIC_PRIMID) { in emit_fetch_gs_input()
1219 if (info->input_semantic_name[reg->Register.Index] == TGSI_SEMANTIC_PRIMID) { in emit_fetch_tcs_input()
1322 if (info->input_semantic_name[reg->Register.Index] == TGSI_SEMANTIC_PRIMID) { in emit_fetch_tes_input()
1513 case TGSI_SEMANTIC_PRIMID: in emit_fetch_system_value()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c289 return TGSI_SEMANTIC_PRIMID; in translate_system_name()
526 sx->prim_id = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_PRIMID, 0); in dcl_gs_input()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c953 ctx->shader->output[i].name = TGSI_SEMANTIC_PRIMID; in vs_add_primid_output()
1108 case TGSI_SEMANTIC_PRIMID: in tgsi_declaration()
1122 if (ctx->shader->input[i].name == TGSI_SEMANTIC_PRIMID) in tgsi_declaration()
1782 …S_CTRL && ctx->info.system_value_semantic_name[tgsi_src->Register.Index] == TGSI_SEMANTIC_PRIMID) { in tgsi_src()
1788 …S_EVAL && ctx->info.system_value_semantic_name[tgsi_src->Register.Index] == TGSI_SEMANTIC_PRIMID) { in tgsi_src()
2003 if (ctx->shader->input[src->Register.Index].name == TGSI_SEMANTIC_PRIMID) { in tgsi_split_gs_inputs()
4184 case TGSI_SEMANTIC_PRIMID: in r600_shader_from_tgsi()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c2230 case TGSI_SEMANTIC_PRIMID: in nine_tgsi_to_interp_mode()
/third_party/mesa3d/docs/gallium/
Dtgsi.rst3378 TGSI_SEMANTIC_PRIMID subsection