commit | 185b0c15abfba8b011f5b009e9f1890305e40ff6 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Mon Jul 25 18:05:46 2016 +0200 |
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | Thu Jul 28 10:46:02 2016 +0100 |
tree | b74e8aad5c2bd6d21c15afc6519235303b559cc2 | |
parent | 041b330a3204d894fe95b5bae6a740936a7ebc0f [diff] |
st_glsl_to_tgsi: only skip over slots of an input array that are present 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. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Marek Olšák <marek.olsak@amd.com>