On Thu, Jan 21, 2016 at 5:12 AM, Marek Olšák <[email protected]> wrote: > On Mon, Jan 18, 2016 at 11:22 PM, Nicolai Hähnle <[email protected]> wrote: >> From: Nicolai Hähnle <[email protected]> >> >> 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
