|
|
|
|
|
|
|
|
uint pitch; /**< Byte pitch from one entry to the next. */ |
|
|
uint pitch; /**< Byte pitch from one entry to the next. */ |
|
|
uint size; |
|
|
uint size; |
|
|
uint function_offset; |
|
|
uint function_offset; |
|
|
} ALIGN16_ATTRIB; |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct cell_attribute_fetch_code { |
|
|
struct cell_attribute_fetch_code { |
|
|
|
|
|
|
|
|
unsigned num_declarations; |
|
|
unsigned num_declarations; |
|
|
unsigned num_instructions; |
|
|
unsigned num_instructions; |
|
|
unsigned num_immediates; |
|
|
unsigned num_immediates; |
|
|
} ALIGN16_ATTRIB; |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define SPU_VERTS_PER_BATCH 64 |
|
|
#define SPU_VERTS_PER_BATCH 64 |
|
|
|
|
|
|
|
|
float plane[12][4]; |
|
|
float plane[12][4]; |
|
|
unsigned nr_planes; |
|
|
unsigned nr_planes; |
|
|
unsigned nr_attrs; |
|
|
unsigned nr_attrs; |
|
|
} ALIGN16_ATTRIB; |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct cell_command_render |
|
|
struct cell_command_render |