Ian Romanick i...@freedesktop.org writes:
On 05/28/2014 01:57 PM, Eric Anholt wrote:
If the shader compiled once, then we can compile it again. Compiled
shaders almost always get used in just one program, so holding that
compiled IR until the program is freed is just a waste of memory.
On 05/31/2014 02:39 PM, Eric Anholt wrote:
Ian Romanick i...@freedesktop.org writes:
On 05/28/2014 01:57 PM, Eric Anholt wrote:
If the shader compiled once, then we can compile it again. Compiled
shaders almost always get used in just one program, so holding that
compiled IR until the
On 05/28/2014 01:57 PM, Eric Anholt wrote:
If the shader compiled once, then we can compile it again. Compiled
shaders almost always get used in just one program, so holding that
compiled IR until the program is freed is just a waste of memory.
On the other hand, if they are either reusing
On 05/28/2014 01:57 PM, Eric Anholt wrote:
If the shader compiled once, then we can compile it again. Compiled
shaders almost always get used in just one program, so holding that
compiled IR until the program is freed is just a waste of memory.
Would this work with some madness like:
If the shader compiled once, then we can compile it again. Compiled
shaders almost always get used in just one program, so holding that
compiled IR until the program is freed is just a waste of memory.
On the other hand, if they are either reusing shader objects to compile
multiple times, or