diff options
author | Brian Paul <[email protected]> | 2006-11-23 00:09:00 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-23 00:09:00 +0000 |
commit | 6ab6518735b6c98b800ed601dfe217248def43ff (patch) | |
tree | 4c0e9af831e8f3096daf9e3449c7f6bece12d44b /src/mesa/shader | |
parent | 0cb0a04eca51dc75441a9744e520070511a7a00b (diff) |
clean-up, comments
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_operation.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_compile_operation.h b/src/mesa/shader/slang/slang_compile_operation.h index 65e33dc4a20..f3c45de3c2a 100644 --- a/src/mesa/shader/slang/slang_compile_operation.h +++ b/src/mesa/shader/slang/slang_compile_operation.h @@ -35,7 +35,7 @@ extern "C" { * These are the basic intermediate code representations. * [foo] indicates a sub-tree or reference to another type of node */ - typedef enum slang_operation_type_ +typedef enum slang_operation_type_ { slang_oper_none, slang_oper_block_no_new_scope, /* "{" sequence "}" */ @@ -105,6 +105,8 @@ extern "C" { /** * A slang_operation is basically a compiled instruction (such as assignment, * a while-loop, a conditional, a multiply, a function call, etc). + * NOTE: This structure could have been implemented as a union of simpler + * structs which would correspond to the operation types above. */ typedef struct slang_operation_ { |