Re: [Mesa-dev] [PATCHv2 13/13] i965: enable threaded precompile

2014-08-19 Thread Chia-I Wu
On Thu, Aug 14, 2014 at 4:44 AM, Ian Romanick wrote: > On 07/09/2014 12:47 AM, Chia-I Wu wrote: >> Inherit gl_shader_program and add save/restore functions to save precompile >> results in the shader programs. When DeferLinkProgram is set, we will save >> the precompile results instead of uploadi

Re: [Mesa-dev] [PATCHv2 13/13] i965: enable threaded precompile

2014-08-13 Thread Ian Romanick
On 07/09/2014 12:47 AM, Chia-I Wu wrote: > Inherit gl_shader_program and add save/restore functions to save precompile > results in the shader programs. When DeferLinkProgram is set, we will save > the precompile results instead of uploading them immediately because we may be > on a different thre

[Mesa-dev] [PATCHv2 13/13] i965: enable threaded precompile

2014-07-09 Thread Chia-I Wu
Inherit gl_shader_program and add save/restore functions to save precompile results in the shader programs. When DeferLinkProgram is set, we will save the precompile results instead of uploading them immediately because we may be on a different thread. A few other modifications are also needed.