diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-01-28 18:34:21 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-01-28 18:34:21 +1100 |
commit | faa05d41c5035d9d4f8c75ebe406b913e78ad57f (patch) | |
tree | 3f4b74aa210adbd3198b2c503dc2017588a11fb1 /src/mesa/pipe/cell/common.h | |
parent | 3e39bc3d87a82d81ffaf383303ada32e530b879e (diff) | |
parent | c3f10aef386e0af90f8735d8b9598959c17a590f (diff) |
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
Diffstat (limited to 'src/mesa/pipe/cell/common.h')
-rw-r--r-- | src/mesa/pipe/cell/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/common.h b/src/mesa/pipe/cell/common.h index e925299119..0b63ed39be 100644 --- a/src/mesa/pipe/cell/common.h +++ b/src/mesa/pipe/cell/common.h @@ -54,6 +54,9 @@ assert((((unsigned long) (ptr)) & 0xf) == 0); +/** round up value to next multiple of 4 */ +#define ROUNDUP4(k) (((k) + 0x3) & ~0x3) + /** round up value to next multiple of 16 */ #define ROUNDUP16(k) (((k) + 0xf) & ~0xf) @@ -124,6 +127,8 @@ struct cell_command_render const void *vertex_data; const ushort *index_data; float xmin, ymin, xmax, ymax; + boolean inline_indexes; + boolean inline_verts; } ALIGN16_ATTRIB; |