Re: [Mesa-dev] [PATCH] meta: Add on demand compilation of per target shader programs

2012-09-21 Thread Brian Paul
On 09/20/2012 04:19 PM, Anuj Phogat wrote: A call to glGenerateMipmap() follows the generation of a relevant shader program in setup_glsl_generate_mipmap(). To support all texture targets and to avoid compiling shaders everytime, per target shader programs are compiled on demand and saved for th

[Mesa-dev] [PATCH] meta: Add on demand compilation of per target shader programs

2012-09-20 Thread Anuj Phogat
A call to glGenerateMipmap() follows the generation of a relevant shader program in setup_glsl_generate_mipmap(). To support all texture targets and to avoid compiling shaders everytime, per target shader programs are compiled on demand and saved for the next call. Fixes float-texture(mipmap.manu