[Nouveau] [RFC PATCH 00/11] Implement ARB_cull_distance

Ilia Mirkin imirkin at alum.mit.edu
Wed May 27 16:02:31 PDT 2015


On Wed, May 27, 2015 at 6:51 PM, Marek Olšák <maraeo at gmail.com> wrote:
> 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.

Tangentially, I wonder if it makes sense to have an sso mode for
shader runner, either toggleable from the shader config or maybe even
on the cmdline.


More information about the Nouveau mailing list