TA: Alloc 8mb for fifo storage, workaround for doa2le
This commit is contained in:
parent
055c3599b6
commit
7da4f09c01
|
@ -157,7 +157,7 @@ struct TA_context
|
||||||
}
|
}
|
||||||
void Alloc()
|
void Alloc()
|
||||||
{
|
{
|
||||||
tad.Reset((u8*)OS_aligned_malloc(32, 2*1024*1024));
|
tad.Reset((u8*)OS_aligned_malloc(32, 8*1024*1024));
|
||||||
|
|
||||||
rend.verts.InitBytes(1024*1024,&rend.Overrun); //up to 1 mb of vtx data/frame = ~ 38k vtx/frame
|
rend.verts.InitBytes(1024*1024,&rend.Overrun); //up to 1 mb of vtx data/frame = ~ 38k vtx/frame
|
||||||
rend.idx.Init(60*1024,&rend.Overrun); //up to 60K indexes ( idx have stripification overhead )
|
rend.idx.Init(60*1024,&rend.Overrun); //up to 60K indexes ( idx have stripification overhead )
|
||||||
|
|
Loading…
Reference in New Issue