Re: [Mesa-dev] [PATCH 1/2] glsl: shader outputs cannot have initializers

2015-10-09 Thread Matt Turner
On Wed, Oct 7, 2015 at 1:12 AM, Iago Toral Quiroga wrote: > GLSL Spec 4.20.8, 4.3 Storage Qualifiers: > > "Initializers in global declarations may only be used in declarations of > global variables with no storage qualifier, with a const qualifier or > with a uniform qualifier." > > We do this f

Re: [Mesa-dev] [PATCH 1/2] glsl: shader outputs cannot have initializers

2015-10-09 Thread Samuel Iglesias Gonsálvez
Reviewed-by: Samuel Iglesias Gonsálvez On 07/10/15 10:12, Iago Toral Quiroga wrote: > GLSL Spec 4.20.8, 4.3 Storage Qualifiers: > > "Initializers in global declarations may only be used in declarations of > global variables with no storage qualifier, with a const qualifier or > with a uniform

[Mesa-dev] [PATCH 1/2] glsl: shader outputs cannot have initializers

2015-10-07 Thread Iago Toral Quiroga
GLSL Spec 4.20.8, 4.3 Storage Qualifiers: "Initializers in global declarations may only be used in declarations of global variables with no storage qualifier, with a const qualifier or with a uniform qualifier." We do this for input variables, but not for output variables. AMD and NVIDIA propri