static struct r600_resource_texture *
r600_texture_create_object(struct pipe_screen *screen,
const struct pipe_resource *base,
- unsigned array_mode,
unsigned pitch_in_bytes_override,
struct pb_buffer *buf,
boolean alloc_bo,
if (r) {
return NULL;
}
- return (struct pipe_resource *)r600_texture_create_object(screen, templ, array_mode,
+ return (struct pipe_resource *)r600_texture_create_object(screen, templ,
0, NULL, TRUE, &surface);
}
if (r) {
return NULL;
}
- return (struct pipe_resource *)r600_texture_create_object(screen, templ, array_mode,
+ return (struct pipe_resource *)r600_texture_create_object(screen, templ,
stride, buf, FALSE, &surface);
}