commit | d413fbb159d0ddac16bb9d93bdda4fe598d39e17 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Mon Oct 10 20:20:22 2016 +0200 |
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | Thu Oct 13 15:41:36 2016 +0200 |
tree | b59559d33dcddafb8e5a7afa22d077b0133ed4a6 | |
parent | 15fc74905b64ab41e47d5b50407596ceaeced638 [diff] |
st/mesa: fix vertex elements setup for doubles Whether one or two slots are taken up by one API array depends on the vertex shader, not on how the array is configured. When an array is set up with fewer components than the shader expects, the high components are undefined. Fixes GL45-CTS.vertex_attrib_binding.basic-inputL-case1. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Dave Airlie <airlied@redhat.com>