[Nouveau] [RFC PATCH 00/11] Implement ARB_cull_distance
Marek Olšák
maraeo at gmail.com
Wed May 27 15:51:37 PDT 2015
On Wed, May 27, 2015 at 9:05 PM, Tobias Klausmann
<tobias.johannes.klausmann at mni.thm.de> wrote:
>
>
> On 27.05.2015 18:28, Marek Olšák wrote:
>>
>> Another thing to consider is linking shaders that occur before the
>> rasterizer (e.g. any two shaders from VS->TCS->TES->GS). The maximum
>> number of written distances is still 8, but what happens if VS writes
>> 1x clip and 7x cull and GS reads 8x clip and no cull?
>
>
> i think this should be rejected anyway (in the glsl?!), constraining vs
> output to be the same as gs input where the last definition is the valid
> one....
No, it can't be rejected with separate shader objects.
Marek
More information about the Nouveau
mailing list