Re: [Mesa-dev] [PATCH 2/4] i965: Pass gl_program pointers into precompile functions.

2014-11-24 Thread Kristian Høgsberg
On Mon, Nov 24, 2014 at 12:28 AM, Kenneth Graunke wrote: > We'd like to do precompiling for ARB vertex and fragment programs, > which only have gl_program structures - gl_shader_program is NULL. > > This patch makes the various precompile functions take a gl_program > parameter directly, rather th

[Mesa-dev] [PATCH 2/4] i965: Pass gl_program pointers into precompile functions.

2014-11-24 Thread Kenneth Graunke
We'd like to do precompiling for ARB vertex and fragment programs, which only have gl_program structures - gl_shader_program is NULL. This patch makes the various precompile functions take a gl_program parameter directly, rather than accessing it via gl_shader_program. Signed-off-by: Kenneth Grau