summaryrefslogtreecommitdiffstats
path: root/ir_variable.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-04-21 15:08:08 -0700
committerIan Romanick <[email protected]>2010-04-21 15:08:08 -0700
commitff236fa9b6a35ce261098d288f77f238c3286e15 (patch)
tree3f3421358445ef5546579fc48340a85ec8fe453f /ir_variable.cpp
parent7d21104a8b92c139051e9a224c5d863802a8ade6 (diff)
Add missing break statement
Diffstat (limited to 'ir_variable.cpp')
-rw-r--r--ir_variable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir_variable.cpp b/ir_variable.cpp
index 12992a9b812..a2c0803e55a 100644
--- a/ir_variable.cpp
+++ b/ir_variable.cpp
@@ -46,6 +46,7 @@ add_variable(const char *name, enum ir_variable_mode mode,
case ir_var_inout:
var->shader_in = true;
var->shader_out = true;
+ break;
case ir_var_out:
var->shader_out = true;
break;