tgsi: Fix assert.

This commit is contained in:
Vinson Lee 2010-01-04 11:25:38 -08:00
parent 0fb1eaddfb
commit ad80009c88

View file

@ -1955,7 +1955,7 @@ exec_declaration(struct tgsi_exec_machine *mach,
if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) {
assert(decl->Semantic.Index == 0);
assert(first == last);
assert(mask = TGSI_WRITEMASK_XYZW);
assert(mask == TGSI_WRITEMASK_XYZW);
mach->Inputs[first] = mach->QuadPos;
} else if (decl->Semantic.Name == TGSI_SEMANTIC_FACE) {