tgsi: Fix error message on invalid swizzle parse

This commit is contained in:
Jakob Bornecrantz 2010-07-15 21:11:24 -07:00
parent eeaab2047c
commit e36a082214
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ parse_optional_swizzle(
else if (uprcase( *cur ) == 'W')
swizzle[i] = TGSI_SWIZZLE_W;
else {
report_error( ctx, "Expected register swizzle component `x', `y', `z', `w', `0' or `1'" );
report_error( ctx, "Expected register swizzle component `x', `y', `z' or `w'" );
return FALSE;
}
cur++;