diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index e3779ab0444..3e62c9ebba8 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -634,6 +634,7 @@ vec4_visitor::visit(ir_variable *ir) } break; + case ir_var_auto: case ir_var_temporary: reg = new(mem_ctx) dst_reg(this, ir->type); break; @@ -647,6 +648,9 @@ vec4_visitor::visit(ir_variable *ir) setup_uniform_values(ir->location, ir->type); } break; + + default: + assert(!"not reached"); } reg->type = brw_type_for_base_type(ir->type); |