summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-11-10 03:12:02 +0100
committerMichal Krol <[email protected]>2009-11-10 03:12:02 +0100
commitb5d8a7b6dc1b48c2a11131803e1f37c05fe0bd03 (patch)
treeea689b2aed52a8a3151508d417fd7ad0faa03ee6 /src/gallium
parente44c77028c2964891943e4235e44d93c559de088 (diff)
tgsi/exec: Exit early on error.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 1989045985b..b7569e74d4b 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -1811,8 +1811,8 @@ exec_declaration(
break;
default:
- eval = NULL;
assert( 0 );
+ return;
}
if( mask == TGSI_WRITEMASK_XYZW ) {