[Mesa-dev] [PATCH] st_glsl_to_tgsi: only skip over slots of an input array that are present

Laurent Carlier lordheavym at gmail.com
Thu Jul 28 15:43:52 UTC 2016


Le 25/07/2016 à 18:08, Nicolai Hähnle a écrit :
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
> 
> When an application declares varying arrays but does not actually do any
> indirect indexing, some array indices may end up unused in the consuming
> shader, so the number of input slots that correspond to the array ends
> up less than the array_size.

This fixes Overlord rendering issues. You should add this and the
upstream bug report:
https://github.com/virtual-programming/overlord-linux/issues/2

-- 
Laurent Carlier
http://www.archlinux.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160728/82a74be1/attachment.sig>


More information about the mesa-dev mailing list