i965/vec4/nir: vec4 also needs to remap vs attributes
authorAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 22 Apr 2016 08:49:24 +0000 (10:49 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 12 Jan 2017 11:56:56 +0000 (12:56 +0100)
commit57bab6708f2bbc1ab8a3d202e9a467963596d462
treed1b6f262c689baa8b43c6f96e6fb4b801ca40629
parentf8310189f4a31c443657cd0c1aef35db02b86c95
i965/vec4/nir: vec4 also needs to remap vs attributes

Doubles need extra space, so we would need to do a remapping for vec4
too in order to take that into account. We reuse the already
existing remap_vs_attrs, but passing is_scalar, so they could
remap accordingly.

v2: code-format remap_vs_attrs_params initialization (Matt)

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_nir.c