Re: [Mesa-dev] [PATCH 03/12] mesa/sso: replace Shader binding point with _Shader

2014-03-12 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/05/2014 12:23 PM, Eric Anholt wrote: > Ian Romanick writes: > >> From: Gregory Hainaut >> >> To avoid NULL pointer check a default pipeline object is >> installed in _Shader when no program is current >> >> The spec say that UseProgram/UseSh

Re: [Mesa-dev] [PATCH 03/12] mesa/sso: replace Shader binding point with _Shader

2014-03-05 Thread Eric Anholt
Ian Romanick writes: > From: Gregory Hainaut > > To avoid NULL pointer check a default pipeline object is installed in > _Shader when no program is current > diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h > index d05649c..8a03afd 100644 > --- a/src/mesa/main/mtypes.h > +++ b/src/

Re: [Mesa-dev] [PATCH 03/12] mesa/sso: replace Shader binding point with _Shader

2014-03-05 Thread Eric Anholt
Ian Romanick writes: > From: Gregory Hainaut > > To avoid NULL pointer check a default pipeline object is installed in > _Shader when no program is current > > The spec say that UseProgram/UseShaderProgramEXT/ActiveProgramEXT got an > higher priority over the pipeline object. When default progra

[Mesa-dev] [PATCH 03/12] mesa/sso: replace Shader binding point with _Shader

2014-03-05 Thread Ian Romanick
From: Gregory Hainaut To avoid NULL pointer check a default pipeline object is installed in _Shader when no program is current The spec say that UseProgram/UseShaderProgramEXT/ActiveProgramEXT got an higher priority over the pipeline object. When default program is uninstall, the pipeline is use