Re: [Mesa-dev] [PATCH] i965: Fix INTEL_DEBUG=vs for fixed-function/ARB programs.

2014-02-06 Thread Ian Romanick
On 02/03/2014 11:15 AM, Kenneth Graunke wrote: > Since commit 9cee3ff562f3e4b51bfd30338fd1ba7716ac5737, INTEL_DEBUG=vs > has caused a NULL pointer dereference for fixed-function/ARB programs. > > In the vec4 generators, "prog" is a gl_program, and "shader_prog" is the > gl_shader_program. This is

[Mesa-dev] [PATCH] i965: Fix INTEL_DEBUG=vs for fixed-function/ARB programs.

2014-02-03 Thread Kenneth Graunke
Since commit 9cee3ff562f3e4b51bfd30338fd1ba7716ac5737, INTEL_DEBUG=vs has caused a NULL pointer dereference for fixed-function/ARB programs. In the vec4 generators, "prog" is a gl_program, and "shader_prog" is the gl_shader_program. This is different than the FS visitor. Signed-off-by: Kenneth G