summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-07 16:13:33 -0700
committerBrian <[email protected]>2007-03-07 16:13:33 -0700
commit0aec2bb8f218b7e419806149a2c50f598cd07a6a (patch)
treed5b62b9f91f75134540f943814e4415eda2f2009 /src/mesa/shader
parentda899d190e6835c46dc09e401098c660886e0c4c (diff)
remove unneeded return stmt
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_emit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c
index 55338d64596..df53c013b12 100644
--- a/src/mesa/shader/slang/slang_emit.c
+++ b/src/mesa/shader/slang/slang_emit.c
@@ -1381,7 +1381,6 @@ emit_struct_field(slang_emit_info *emitInfo, slang_ir_node *n)
{
if (n->Store->File == PROGRAM_STATE_VAR) {
n->Store->Index = _slang_alloc_statevar(n, emitInfo->prog->Parameters);
- return NULL;
}
else {
_mesa_problem(NULL, "structs/fields not supported yet");