mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
tgsi: Dump semantics before interpolator.
This commit is contained in:
parent
03a3373bdf
commit
2483062f10
1 changed files with 11 additions and 9 deletions
|
|
@ -746,17 +746,19 @@ dump_declaration_short(
|
|||
}
|
||||
}
|
||||
|
||||
if( decl->Declaration.Interpolate ) {
|
||||
TXT( ", " );
|
||||
ENM( decl->Interpolation.Interpolate, TGSI_INTERPOLATES_SHORT );
|
||||
}
|
||||
|
||||
if( decl->Declaration.Semantic ) {
|
||||
if (decl->Declaration.Semantic) {
|
||||
TXT( ", " );
|
||||
ENM( decl->Semantic.SemanticName, TGSI_SEMANTICS_SHORT );
|
||||
CHR( '[' );
|
||||
UID( decl->Semantic.SemanticIndex );
|
||||
CHR( ']' );
|
||||
if (decl->Semantic.SemanticIndex != 0) {
|
||||
CHR( '[' );
|
||||
UID( decl->Semantic.SemanticIndex );
|
||||
CHR( ']' );
|
||||
}
|
||||
}
|
||||
|
||||
if (decl->Declaration.Interpolate) {
|
||||
TXT( ", " );
|
||||
ENM( decl->Interpolation.Interpolate, TGSI_INTERPOLATES_SHORT );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue