Home | History | Annotate | Download | only in svga

Lines Matching refs:Semantic

35  * Translate TGSI semantic info into SVGA3d semantic info.
40 struct tgsi_declaration_semantic semantic,
44 switch (semantic.Name) {
46 *idx = semantic.Index;
50 *idx = semantic.Index;
54 *idx = semantic.Index + 2; /* sharing with COLOR */
59 assert(semantic.Index == 0);
63 *idx = semantic.Index;
68 semantic.Index);
72 *idx = semantic.Index;
179 struct tgsi_declaration_semantic semantic,
185 if (semantic.Name == TGSI_SEMANTIC_POSITION) {
220 (semantic.Name == TGSI_SEMANTIC_COLOR)) {
222 if (!translate_vs_ps_semantic( emit, semantic, &usage, &index ))
235 semantic.Name = TGSI_SEMANTIC_BCOLOR;
236 if (!translate_vs_ps_semantic( emit, semantic, &usage, &index ))
252 else if (semantic.Name == TGSI_SEMANTIC_FACE) {
259 else if (semantic.Name == TGSI_SEMANTIC_FOG) {
261 assert(semantic.Index == 0);
275 if (!translate_vs_ps_semantic( emit, semantic, &usage, &index ))
287 if (semantic.Name == TGSI_SEMANTIC_GENERIC &&
322 * \idx register index, such as OUT[2] (not semantic index)
326 struct tgsi_declaration_semantic semantic,
329 switch (semantic.Name) {
338 semantic.Index);
343 * semantic.Index == 0 so we don't do this more than once.
345 if (semantic.Index == 0) {
358 dst_register(SVGA3DREG_COLOROUT, semantic.Index);
363 semantic.Index );
371 semantic.Index );
390 struct tgsi_declaration_semantic semantic,
443 * VS3.0 outputs have proper declarations and semantic info for
448 struct tgsi_declaration_semantic semantic,
459 if (!translate_vs_ps_semantic( emit, semantic, &usage, &index ))
470 if (semantic.Name == TGSI_SEMANTIC_POSITION) {
482 else if (semantic.Name == TGSI_SEMANTIC_PSIZE) {
495 else if (semantic.Name == TGSI_SEMANTIC_FOG) {
589 ok = vs30_input( emit, decl->Semantic, idx );
591 ok = ps30_input( emit, decl->Semantic, idx );
596 ok = vs30_output( emit, decl->Semantic, idx );
598 ok = ps30_output( emit, decl->Semantic, idx );