braodcom/vc5: Flush the job when it grows over 1GB.
authorEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 19:05:16 +0000 (11:05 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 20:58:03 +0000 (12:58 -0800)
commit3bfcd31e9816813dad0ef7ec82b0fb62dd0271a0
treef2233511f9f31a312e4079abb143922ef349b2e5
parent50906e4583357920b49c78c25787403c5b4836d0
braodcom/vc5: Flush the job when it grows over 1GB.

Fixes GL_OUT_OF_MEMORY from streaming-texture-leak (and will hopefully
keep piglit from ooming on my no-swap platform, as well).
src/gallium/drivers/vc5/vc5_context.h
src/gallium/drivers/vc5/vc5_draw.c
src/gallium/drivers/vc5/vc5_job.c