Re: [Mesa-dev] [PATCH] glsl: Disallow transform feedback varyings with compute shaders.

2016-02-09 Thread Timothy Arceri
On Tue, 2016-02-09 at 02:12 -0800, Kenneth Graunke wrote: > If the only stage is MESA_SHADER_COMPUTE, we should complain that > there's nothing coming out of the geometry shader stage just as > we would if the first stage were MESA_SHADER_FRAGMENT. > > Also, it's valid for tessellation shaders to

[Mesa-dev] [PATCH] glsl: Disallow transform feedback varyings with compute shaders.

2016-02-09 Thread Kenneth Graunke
If the only stage is MESA_SHADER_COMPUTE, we should complain that there's nothing coming out of the geometry shader stage just as we would if the first stage were MESA_SHADER_FRAGMENT. Also, it's valid for tessellation shaders to be the stage producing transform feedback varyings, so mention those