diff options
author | Zack Rusin <zackr@vmware.com> | 2010-07-13 21:49:53 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2010-07-13 21:49:53 -0400 |
commit | 1491c6aa2de17760ab157a3fe71e45006e4eecf6 (patch) | |
tree | 5b9cc35d0c268439529fe26c12549ccbbf9f9e20 /src/mesa/slang/slang_ir.h | |
parent | 79b643dd02ac4e19f24c9cd88843719746f8ec69 (diff) |
mesa: add comments and change Index2D to just Index2
Diffstat (limited to 'src/mesa/slang/slang_ir.h')
-rw-r--r-- | src/mesa/slang/slang_ir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/slang/slang_ir.h b/src/mesa/slang/slang_ir.h index 543cf0acc7..b7a373746b 100644 --- a/src/mesa/slang/slang_ir.h +++ b/src/mesa/slang/slang_ir.h @@ -189,8 +189,10 @@ struct slang_ir_storage_ GLuint IndirectSwizzle; GLuint TexTarget; /**< If File==PROGRAM_SAMPLER, one of TEXTURE_x_INDEX */ + /* Is the register two-dimensional and + * if so what's the second index */ GLboolean Is2D; - GLint Index2D; + GLint Index2; /** If Parent is non-null, Index is relative to parent. * The other fields are ignored. |