freedreno/a3xx: rework vinterp/vpsrepl
authorRob Clark <robclark@freedesktop.org>
Thu, 26 Nov 2015 17:18:14 +0000 (12:18 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 26 Nov 2015 17:35:10 +0000 (12:35 -0500)
commit5adf4a5cdaec98c9195a66485120e8e00c517fc2
tree1e8fac892802b568f575d54ac8f066c6d330e350
parentb7c958b7b7c44e8f4c6dc0190e4c198722e020e5
freedreno/a3xx: rework vinterp/vpsrepl

Make the interpolation / point-sprite replacement mode setup deal with
varying packing.

In a later commit, we switch to packing just the varying components that
are actually used by the frag shader, so we won't be able to assume
everything is vec4's aligned to vec4.  Which would highly confuse the
previous vinterp/vpsrepl logic.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_program.c