mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-14 15:20:36 +02:00
r300-gallium: Point size is at OVM position 15, not 1.
Or so sayeth osiris, and he would know. :3
This commit is contained in:
parent
ada7ced189
commit
a5f68b40cb
2 changed files with 4 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ static void r300_vs_tab_routes(struct r300_context* r300,
|
|||
break;
|
||||
case TGSI_SEMANTIC_PSIZE:
|
||||
psize = TRUE;
|
||||
tab[i] = 1;
|
||||
tab[i] = 15;
|
||||
break;
|
||||
case TGSI_SEMANTIC_FOG:
|
||||
fog = TRUE;
|
||||
|
|
|
|||
|
|
@ -40,6 +40,9 @@ static void r300_vs_declare(struct r300_vs_asm* assembler,
|
|||
/* XXX multiple? */
|
||||
assembler->tab[decl->DeclarationRange.First] = 6;
|
||||
break;
|
||||
case TGSI_SEMANTIC_PSIZE:
|
||||
assembler->tab[decl->DeclarationRange.First] = 15;
|
||||
break;
|
||||
default:
|
||||
debug_printf("r300: vs: Bad semantic declaration %d\n",
|
||||
decl->Semantic.SemanticName);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue