diff options
author | Aras Pranckevicius <[email protected]> | 2010-08-09 11:17:32 +0300 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-08-09 09:08:03 -0700 |
commit | 3adce986c498539d9a5d8db95926e66e1315da03 (patch) | |
tree | 349b01cfe3fbee24d8e25335f42a7a023f4ae370 /src/glsl/ir_function_inlining.cpp | |
parent | 5023edaf5d037c9b71f1795ac4b890f175507576 (diff) |
glsl2: do not use __retval name; two underscores is reserved word according to GLSL spec (and Win7 ATI drivers do complain about that)
Diffstat (limited to 'src/glsl/ir_function_inlining.cpp')
-rw-r--r-- | src/glsl/ir_function_inlining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_function_inlining.cpp b/src/glsl/ir_function_inlining.cpp index fd52d106b1b..874602c84f2 100644 --- a/src/glsl/ir_function_inlining.cpp +++ b/src/glsl/ir_function_inlining.cpp @@ -127,7 +127,7 @@ ir_call::generate_inline(ir_instruction *next_ir) /* Generate storage for the return value. */ if (this->callee->return_type) { - retval = new(ctx) ir_variable(this->callee->return_type, "__retval", + retval = new(ctx) ir_variable(this->callee->return_type, "_ret_val", ir_var_auto); next_ir->insert_before(retval); } |