On Thu, Jan 21, 2016 at 5:12 AM, Marek Olšák <mar...@gmail.com> wrote:
> On Mon, Jan 18, 2016 at 11:22 PM, Nicolai Hähnle <nhaeh...@gmail.com> wrote:
>> From: Nicolai Hähnle <nicolai.haeh...@amd.com>
>>
>> Use instancing to generate two triangles for each destination layer and use
>> a geometry shader to route the layer index.
>
> A better way is to disable the geometry shader and write the layer
> index in the vertex shader. Some drivers (such as svga) might not
> support it though.

Or nouveau for that matter. If you do this, please make a fallback
which uses a GS to write the layer.

  -ilia
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to