From 6ab6518735b6c98b800ed601dfe217248def43ff Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 23 Nov 2006 00:09:00 +0000 Subject: clean-up, comments --- src/mesa/shader/slang/slang_compile_operation.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa') 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_ { -- cgit v1.2.3