radeonsi: fix dvec[34] attributes sourced from current attribute state
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 23 Mar 2017 16:54:43 +0000 (17:54 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 24 Mar 2017 16:35:21 +0000 (17:35 +0100)
commiteebd0cd56041f380aa0dc3ba88131ddf7cc54e2c
tree8679a7c2a0d9eceb10bdf32297032895111a96f2
parent15603055fb36a630cf3023219e9dd5c4a49c0596
radeonsi: fix dvec[34] attributes sourced from current attribute state

The state tracker no longer uploads those attributes for us,
so we must conservatively upload the size of the largest
attribute, which is a dvec4.

Fixes a regression of GL45-CTS.gpu_shader_fp64.varyings and
GL45-CTS.vertex_attrib_64bit.limits_test.

Fixes: 9b91e0b54cc2 ("radeonsi: allow unaligned vertex buffer offsets and strides on CIK-VI")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c