Re: [Mesa-dev] [PATCH v2] glsl: apply shader storage block member rules when adding program resources

2015-09-29 Thread Timothy Arceri
On Tue, 2015-09-29 at 11:02 +0200, Samuel Iglesias Gonsalvez wrote: > From ARB_program_interface_query: > > "For an active shader storage block member declared as an array, an > entry will be generated only for the first array element, regardless > of its type. For arrays of aggregate types, the

[Mesa-dev] [PATCH v2] glsl: apply shader storage block member rules when adding program resources

2015-09-29 Thread Samuel Iglesias Gonsalvez
From ARB_program_interface_query: "For an active shader storage block member declared as an array, an entry will be generated only for the first array element, regardless of its type. For arrays of aggregate types, the enumeration rules are applied recursively for the single enumerated array el