diff options
author | Brian Paul <[email protected]> | 2009-11-17 16:16:16 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-11-17 16:16:30 -0700 |
commit | 133501bef2933395f14b2ebdfeda84279be93c60 (patch) | |
tree | a0b0ae75fdce03c06cb662b77c822632e3556379 /src/mesa/shader | |
parent | bc8fb028c6c9e7c9bd4f6aaf094a606c447e3711 (diff) |
mesa: fix assorted compiler warnings
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/program_parser.h | 2 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/program_parser.h b/src/mesa/shader/program_parser.h index bce6041381f..c170948f73a 100644 --- a/src/mesa/shader/program_parser.h +++ b/src/mesa/shader/program_parser.h @@ -35,7 +35,7 @@ enum asm_type { at_attrib, at_param, at_temp, - at_output, + at_output }; struct asm_symbol { diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 344dfdc6804..ee5a50ca82e 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -925,7 +925,7 @@ gen_return_with_expression(slang_assemble_ctx *A, slang_operation *oper) slang_operation_copy(rhs, &oper->children[0]); } - ///blockOper->locals->outer_scope = oper->locals->outer_scope; + /*blockOper->locals->outer_scope = oper->locals->outer_scope;*/ /*slang_print_tree(blockOper, 0);*/ |