diff options
author | Zack Rusin <[email protected]> | 2014-03-07 13:35:45 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2014-03-26 15:58:32 -0400 |
commit | a3c0fa2d228aeec9d9b3de55a4f086c5af5bdecb (patch) | |
tree | 7e9eccc3bdc5ea3941265ee8cff36dc035251d17 /src/gallium/auxiliary/util/u_mm.c | |
parent | c875d6e57a817bb6a8163a8a98ebd2768ee91848 (diff) |
draw/gs: reduce the size of the gs output buffer
We used to overallocate the output buffer sometimes running out
of memory with applications rendering large geometries. The actual
maximum number of vertices out is simply the maximum number of
primitives in (number of gs invocations) multiplied by the maximum
number of output vertices per gs input primitive (i.e. gs invocation).
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_mm.c')
0 files changed, 0 insertions, 0 deletions