diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-26 14:33:41 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-26 14:33:41 -0700 |
commit | 0471e8b0896e05b3bc81ccad6184e6e35fb61425 (patch) | |
tree | 8f73afd3f5781cc6aadb5045f3dc836f2ae8874b /ir.cpp | |
parent | a43817a483a8c4a480ef4e6dfda2cef899300eb0 (diff) |
Make glsl_*_type glsl_type class static data
Diffstat (limited to 'ir.cpp')
-rw-r--r-- | ir.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -83,7 +83,7 @@ ir_dereference::ir_dereference(ir_instruction *var) { this->mode = ir_reference_variable; this->var = var; - this->type = (var != NULL) ? var->type : glsl_error_type; + this->type = (var != NULL) ? var->type : glsl_type::error_type; } @@ -92,7 +92,7 @@ ir_dereference::ir_dereference(ir_instruction *var, : ir_rvalue(), mode(ir_reference_array), var(var) { - this->type = (var != NULL) ? var->type : glsl_error_type; + this->type = (var != NULL) ? var->type : glsl_type::error_type; this->selector.array_index = array_index; } @@ -237,6 +237,6 @@ ir_call::get_error_instruction() { ir_call *call = new ir_call; - call->type = glsl_error_type; + call->type = glsl_type::error_type; return call; } |