i965: get the proper vertex surface type for doubles on gen8+
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 15 Mar 2016 11:53:07 +0000 (12:53 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 17 May 2016 05:34:40 +0000 (07:34 +0200)
commit71150b73c81a58dc06057ced561d10332aecc803
tree830c6119b2555343f21c9e9dd12de18da975ae02
parentb1d74e9486d7233412e4aa7bc07a1efbb72e768e
i965: get the proper vertex surface type for doubles on gen8+

This commit adds support for PASSTHRU format when pushing
double-precision attributes.

Check glarray->Doubles in order to know if we should choose a format
that does a conversion to float, or just passthru the 64-bit double.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw_upload.c