i965/vec4: take into account doubles when creating attribute mapping
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 21 Apr 2016 12:16:18 +0000 (14:16 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 12 Jan 2017 11:56:56 +0000 (12:56 +0100)
commit58fdb85f0f413d1a144d4beb6519da59bc52c974
tree810b35e9f63d16aa8e2004661f644f0955523fa6
parent57bab6708f2bbc1ab8a3d202e9a467963596d462
i965/vec4: take into account doubles when creating attribute mapping

Doubles needs more that one slot per attribute. So when filling the
attribute_map we check if it is a double in order to allocate one
extra register.

Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp