diff options
author | Brian Paul <[email protected]> | 2018-01-16 20:22:56 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-17 11:17:56 -0700 |
commit | d8306de4ac82685ff83626b56089e3c6c2d04d70 (patch) | |
tree | a16b6315671618feb1e505877ec1c8ee54f764c6 /src/mesa | |
parent | ef01d911ee2482d1dffa757db71512b8d2e17a4c (diff) |
vbo: reindent vbo_attrib.h to use 3 spaces
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/vbo/vbo_attrib.h | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/src/mesa/vbo/vbo_attrib.h b/src/mesa/vbo/vbo_attrib.h index f4a3a66cfbf..fb11596e88b 100644 --- a/src/mesa/vbo/vbo_attrib.h +++ b/src/mesa/vbo/vbo_attrib.h @@ -44,59 +44,59 @@ * program instruction formats and register layouts. */ enum { - VBO_ATTRIB_POS, - VBO_ATTRIB_NORMAL, - VBO_ATTRIB_COLOR0, - VBO_ATTRIB_COLOR1, - VBO_ATTRIB_FOG, - VBO_ATTRIB_INDEX, - VBO_ATTRIB_EDGEFLAG, - VBO_ATTRIB_TEX0, - VBO_ATTRIB_TEX1, - VBO_ATTRIB_TEX2, - VBO_ATTRIB_TEX3, - VBO_ATTRIB_TEX4, - VBO_ATTRIB_TEX5, - VBO_ATTRIB_TEX6, - VBO_ATTRIB_TEX7, - VBO_ATTRIB_POINT_SIZE, + VBO_ATTRIB_POS, + VBO_ATTRIB_NORMAL, + VBO_ATTRIB_COLOR0, + VBO_ATTRIB_COLOR1, + VBO_ATTRIB_FOG, + VBO_ATTRIB_INDEX, + VBO_ATTRIB_EDGEFLAG, + VBO_ATTRIB_TEX0, + VBO_ATTRIB_TEX1, + VBO_ATTRIB_TEX2, + VBO_ATTRIB_TEX3, + VBO_ATTRIB_TEX4, + VBO_ATTRIB_TEX5, + VBO_ATTRIB_TEX6, + VBO_ATTRIB_TEX7, + VBO_ATTRIB_POINT_SIZE, - VBO_ATTRIB_GENERIC0, /* Not used? */ - VBO_ATTRIB_GENERIC1, - VBO_ATTRIB_GENERIC2, - VBO_ATTRIB_GENERIC3, - VBO_ATTRIB_GENERIC4, - VBO_ATTRIB_GENERIC5, - VBO_ATTRIB_GENERIC6, - VBO_ATTRIB_GENERIC7, - VBO_ATTRIB_GENERIC8, - VBO_ATTRIB_GENERIC9, - VBO_ATTRIB_GENERIC10, - VBO_ATTRIB_GENERIC11, - VBO_ATTRIB_GENERIC12, - VBO_ATTRIB_GENERIC13, - VBO_ATTRIB_GENERIC14, - VBO_ATTRIB_GENERIC15, + VBO_ATTRIB_GENERIC0, /* Not used? */ + VBO_ATTRIB_GENERIC1, + VBO_ATTRIB_GENERIC2, + VBO_ATTRIB_GENERIC3, + VBO_ATTRIB_GENERIC4, + VBO_ATTRIB_GENERIC5, + VBO_ATTRIB_GENERIC6, + VBO_ATTRIB_GENERIC7, + VBO_ATTRIB_GENERIC8, + VBO_ATTRIB_GENERIC9, + VBO_ATTRIB_GENERIC10, + VBO_ATTRIB_GENERIC11, + VBO_ATTRIB_GENERIC12, + VBO_ATTRIB_GENERIC13, + VBO_ATTRIB_GENERIC14, + VBO_ATTRIB_GENERIC15, - /* XXX: in the vertex program inputs_read flag, we alias - * materials and generics and use knowledge about the program - * (whether it is a fixed-function emulation) to - * differentiate. Here we must keep them apart instead. - */ - VBO_ATTRIB_MAT_FRONT_AMBIENT, - VBO_ATTRIB_MAT_BACK_AMBIENT, - VBO_ATTRIB_MAT_FRONT_DIFFUSE, - VBO_ATTRIB_MAT_BACK_DIFFUSE, - VBO_ATTRIB_MAT_FRONT_SPECULAR, - VBO_ATTRIB_MAT_BACK_SPECULAR, - VBO_ATTRIB_MAT_FRONT_EMISSION, - VBO_ATTRIB_MAT_BACK_EMISSION, - VBO_ATTRIB_MAT_FRONT_SHININESS, - VBO_ATTRIB_MAT_BACK_SHININESS, - VBO_ATTRIB_MAT_FRONT_INDEXES, - VBO_ATTRIB_MAT_BACK_INDEXES, + /* XXX: in the vertex program inputs_read flag, we alias + * materials and generics and use knowledge about the program + * (whether it is a fixed-function emulation) to + * differentiate. Here we must keep them apart instead. + */ + VBO_ATTRIB_MAT_FRONT_AMBIENT, + VBO_ATTRIB_MAT_BACK_AMBIENT, + VBO_ATTRIB_MAT_FRONT_DIFFUSE, + VBO_ATTRIB_MAT_BACK_DIFFUSE, + VBO_ATTRIB_MAT_FRONT_SPECULAR, + VBO_ATTRIB_MAT_BACK_SPECULAR, + VBO_ATTRIB_MAT_FRONT_EMISSION, + VBO_ATTRIB_MAT_BACK_EMISSION, + VBO_ATTRIB_MAT_FRONT_SHININESS, + VBO_ATTRIB_MAT_BACK_SHININESS, + VBO_ATTRIB_MAT_FRONT_INDEXES, + VBO_ATTRIB_MAT_BACK_INDEXES, - VBO_ATTRIB_MAX + VBO_ATTRIB_MAX }; #define VBO_ATTRIB_FIRST_MATERIAL VBO_ATTRIB_MAT_FRONT_AMBIENT |