Re: [Mesa-dev] [PATCH] glsl: use an enum for AMD_conservative_depth layout qualifiers

2017-02-24 Thread Samuel Pitoiset
On 02/24/2017 10:07 AM, Andres Gomez wrote: On Thu, 2017-02-23 at 18:07 +0100, Samuel Pitoiset wrote: The main idea behind this is to free some bits in the flags.q struct because currently all 64-bits are used and we can't add more layout qualifiers without reaching a static assert. In order

Re: [Mesa-dev] [PATCH] glsl: use an enum for AMD_conservative_depth layout qualifiers

2017-02-24 Thread Andres Gomez
On Thu, 2017-02-23 at 18:07 +0100, Samuel Pitoiset wrote: > The main idea behind this is to free some bits in the flags.q > struct because currently all 64-bits are used and we can't > add more layout qualifiers without reaching a static assert. > > In order to do that (mainly for

[Mesa-dev] [PATCH] glsl: use an enum for AMD_conservative_depth layout qualifiers

2017-02-23 Thread Samuel Pitoiset
The main idea behind this is to free some bits in the flags.q struct because currently all 64-bits are used and we can't add more layout qualifiers without reaching a static assert. In order to do that (mainly for ARB_bindless_texture), use an enumeration for the AMD_conservative_depth layout