Re: [Mesa-dev] [RFC] i965: Restore vbo after color resolve during brw_try_draw_prims()

2016-01-27 Thread Ben Widawsky
Topi, you are one of my favorite people. I love how you prove how circuitous and difficult meta can be, without actually saying it explicitly. On Wed, Jan 27, 2016 at 01:44:10PM +0200, Topi Pohjolainen wrote: > Part of brw_try_draw_prims() is a check to validate textures >

[Mesa-dev] [RFC] i965: Restore vbo after color resolve during brw_try_draw_prims()

2016-01-27 Thread Topi Pohjolainen
Part of brw_try_draw_prims() is a check to validate textures (brw_validate_textures()). In case of textures that currently have only level zero but are marked for mipmap generation, i965 driver will decide to replace the underlying buffer with a larger one capable of holding also the additional