Re: [Mesa-dev] [PATCH] i965: Add an assertion to brwProgramStringNotify.

2013-07-08 Thread Paul Berry
On 3 July 2013 21:49, Kenneth Graunke wrote: > On 07/03/2013 10:50 AM, Paul Berry wrote: > >> driver->ProgramStringNotify is only called for ARB programs, fixed >> function vertex programs, and ir_to_mesa (which isn't used by the i965 >> back-end). Therefore, even after geometry shaders are adde

Re: [Mesa-dev] [PATCH] i965: Add an assertion to brwProgramStringNotify.

2013-07-03 Thread Kenneth Graunke
On 07/03/2013 10:50 AM, Paul Berry wrote: driver->ProgramStringNotify is only called for ARB programs, fixed function vertex programs, and ir_to_mesa (which isn't used by the i965 back-end). Therefore, even after geometry shaders are added, brwProgramStringNotify should only ever be called with

[Mesa-dev] [PATCH] i965: Add an assertion to brwProgramStringNotify.

2013-07-03 Thread Paul Berry
driver->ProgramStringNotify is only called for ARB programs, fixed function vertex programs, and ir_to_mesa (which isn't used by the i965 back-end). Therefore, even after geometry shaders are added, brwProgramStringNotify should only ever be called with a target of GL_VERTEX_PROGRAM_ARB or GL_FRAG