tgsi/exec: Exit early on error.

This commit is contained in:
Michal Krol 2009-11-10 03:12:02 +01:00
parent e44c77028c
commit b5d8a7b6dc

View file

@ -1811,8 +1811,8 @@ exec_declaration(
break;
default:
eval = NULL;
assert( 0 );
return;
}
if( mask == TGSI_WRITEMASK_XYZW ) {