Re: [Mesa-dev] [PATCH 3/3] mesa: Track fixed-function fragment shader as a shader

2011-11-22 Thread Ian Romanick
On 11/17/2011 08:24 AM, Eric Anholt wrote: On Wed, 16 Nov 2011 11:08:23 -0800, "Ian Romanick" wrote: From: Ian Romanick Previously the fixed-function fragment shader was tracked as a gl_program. This means that it shows up in the driver as a Mesa IR program instead of as a GLSL IR program. I

Re: [Mesa-dev] [PATCH 3/3] mesa: Track fixed-function fragment shader as a shader

2011-11-17 Thread Eric Anholt
On Wed, 16 Nov 2011 11:08:23 -0800, "Ian Romanick" wrote: > From: Ian Romanick > > Previously the fixed-function fragment shader was tracked as a > gl_program. This means that it shows up in the driver as a Mesa IR > program instead of as a GLSL IR program. If a driver doesn't generate > Mesa

[Mesa-dev] [PATCH 3/3] mesa: Track fixed-function fragment shader as a shader

2011-11-16 Thread Ian Romanick
From: Ian Romanick Previously the fixed-function fragment shader was tracked as a gl_program. This means that it shows up in the driver as a Mesa IR program instead of as a GLSL IR program. If a driver doesn't generate Mesa IR from the GLSL IR, that program is empty. If the program is empty th