[Mesa-dev] [PATCH 01/15] i965: get the proper vertex surface type for doubles on gen8+

Kenneth Graunke kenneth at whitecape.org
Wed May 4 10:31:18 UTC 2016


On Thursday, April 28, 2016 1:40:31 PM PDT Antia Puentes wrote:
> From: Alejandro PiƱeiro <apinheiro at igalia.com>
> 
> 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.
> ---
>  src/mesa/drivers/dri/i965/brw_draw_upload.c | 30 +++++++++++++++++++++++++
+---
>  1 file changed, 27 insertions(+), 3 deletions(-)

What's the motivation for using the PASSTHRU formats?  Is there some
advantage over just using the R64*FLOAT formats?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160504/04624294/attachment.sig>


More information about the mesa-dev mailing list