Re: [Mesa-dev] [PATCH V2 2/70] mesa/glsl: move subroutine metadata to gl_program

2016-12-29 Thread Eric Anholt
Timothy Arceri writes: > This will allow us to store gl_program rather than gl_shader_program > as the current program perstage which allows us to simplify code > that makes use of the CurrentProgram list. > > V2: don't change subroutine init helper interface Reviewed-by: Eric Anholt signatur

[Mesa-dev] [PATCH V2 2/70] mesa/glsl: move subroutine metadata to gl_program

2016-12-28 Thread Timothy Arceri
This will allow us to store gl_program rather than gl_shader_program as the current program perstage which allows us to simplify code that makes use of the CurrentProgram list. V2: don't change subroutine init helper interface --- src/compiler/glsl/link_uniforms.cpp | 24 +- src/compiler/