diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-03 10:16:20 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-24 15:05:19 -0700 |
commit | aaee40e107cf07a12c8e373d8bb910254f4ba30b (patch) | |
tree | 7f82397ad77771c7058857dbf870647ab22f1643 /main | |
parent | b5039eff3f361f281e0da65fb413180357e2a762 (diff) |
ir_to_mesa: Print out the resulting program.
Diffstat (limited to 'main')
-rw-r--r-- | main/mtypes.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/main/mtypes.h b/main/mtypes.h index cab5ffde6c..06e2dd4b54 100644 --- a/main/mtypes.h +++ b/main/mtypes.h @@ -250,4 +250,21 @@ typedef enum PROGRAM_FILE_MAX } gl_register_file; -#endif +/** + * An index for each type of texture object. These correspond to the GL + * texture target enums, such as GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP, etc. + * Note: the order is from highest priority to lowest priority. + */ +typedef enum +{ + TEXTURE_2D_ARRAY_INDEX, + TEXTURE_1D_ARRAY_INDEX, + TEXTURE_CUBE_INDEX, + TEXTURE_3D_INDEX, + TEXTURE_RECT_INDEX, + TEXTURE_2D_INDEX, + TEXTURE_1D_INDEX, + NUM_TEXTURE_TARGETS +} gl_texture_index; + +#endif /* MTYPES_H */ |