diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/ir_builder.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/ir_builder.h b/src/glsl/ir_builder.h index 067858df45b..278294fe963 100644 --- a/src/glsl/ir_builder.h +++ b/src/glsl/ir_builder.h @@ -73,6 +73,13 @@ public: class ir_factory { public: + ir_factory() + : instructions(NULL), + mem_ctx(NULL) + { + return; + } + void emit(ir_instruction *ir); ir_variable *make_temp(const glsl_type *type, const char *name); |