[PATCH 1/2] etnaviv: skip unused vertex attributes when assigning VS inputs

Wladimir J. van der Laan laanwj at gmail.com
Sat Oct 14 12:35:13 UTC 2017


On Thu, Oct 12, 2017 at 04:07:47PM +0200, Lucas Stach wrote:
> When not all of the vertex attributes are actually used in the shader,
> we end up with some inputs without an assigned reg. Those are marked
> as invalid and must be skipped when assigning the inputs, as those would
> overwrite other valid inputs otherwise.
> 
> Fixes piglit drawpixels and a bunch of other tests using the st_draw path.
> 
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>

Reviewed-by: Wladimir J. van der Laan <laanwj at gmail.com>


More information about the etnaviv mailing list