r300 = env.ConvenienceLibrary(
target = 'r300',
source = [
- 'r3xx_fs.c',
- 'r5xx_fs.c',
'r300_chipset.c',
'r300_clear.c',
'r300_context.c',
'r300_state_derived.c',
'r300_state_invariant.c',
'r300_vs.c',
- 'r300_surface.c',
'r300_texture.c',
'r300_tgsi_to_rc.c',
] + r300compiler) + r300compiler
unsigned count)
{
struct r300_context* r300 = r300_context(pipe);
- CS_LOCALS(r300);
uint32_t prim = r300_translate_primitive(mode);
struct pipe_vertex_buffer* aos = r300->vertex_buffers;
unsigned aos_count = r300->vertex_buffer_count;
unsigned packet_size;
unsigned i;
bool invalid = FALSE;
+
+ CS_LOCALS(r300);
validate:
for (i = 0; i < aos_count; i++) {