From: Brian Paul Date: Thu, 23 Nov 2006 00:09:00 +0000 (+0000) Subject: clean-up, comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ab6518735b6c98b800ed601dfe217248def43ff;p=mesa.git clean-up, comments --- 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_ {