Re: [Mesa-dev] [PATCH 1/2] glsl: fail compilation of compute shaders when unsupported

2016-10-15 Thread Timothy Arceri
On Fri, 2016-10-14 at 14:21 +0200, Iago Toral Quiroga wrote: > Generally, we only check for the presence of compute shaders during > parsing when we find any language (like layout qualifiers) that are > specific to compute shaders, however, it is possible to define an > empty compute shader does no

[Mesa-dev] [PATCH 1/2] glsl: fail compilation of compute shaders when unsupported

2016-10-14 Thread Iago Toral Quiroga
Generally, we only check for the presence of compute shaders during parsing when we find any language (like layout qualifiers) that are specific to compute shaders, however, it is possible to define an empty compute shader does not use any language specific to compute shaders at all and we should f