mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 12:10:09 +01:00
gallium: fix semantic indexes for outputs
This commit is contained in:
parent
e4b3c13d7a
commit
90b9a11a6d
1 changed files with 4 additions and 2 deletions
|
|
@ -767,12 +767,14 @@ tgsi_translate_mesa_program(
|
|||
switch (outputSemanticName[i]) {
|
||||
case TGSI_SEMANTIC_POSITION:
|
||||
fulldecl = make_output_decl(i,
|
||||
TGSI_SEMANTIC_POSITION, 0, /* Z / Depth */
|
||||
TGSI_SEMANTIC_POSITION, /* Z / Depth */
|
||||
outputSemanticIndex[i],
|
||||
TGSI_WRITEMASK_Z );
|
||||
break;
|
||||
case TGSI_SEMANTIC_COLOR:
|
||||
fulldecl = make_output_decl(i,
|
||||
TGSI_SEMANTIC_COLOR, 0,
|
||||
TGSI_SEMANTIC_COLOR,
|
||||
outputSemanticIndex[i],
|
||||
TGSI_WRITEMASK_XYZW );
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue