[Mesa-dev] [PATCH v2 06/52] intel/fs: Use an explicit D type for vote any/all/eq intrinsics

Matt Turner mattst88 at gmail.com
Tue Oct 17 21:03:17 UTC 2017


On 10/12, Jason Ekstrand wrote:
>They return a boolean so this is the right type.  Unfortunately,
>get_nir_dest has the annoying behavior of giving us a float type by
>default.  This is mostly to work around the fact that gen7 has 64-bit
>float but no Q types.

I'd really like to see a clearer explanation about what this fixes.
Something like

"These intrinsics will be used to implement X, Y, Z from $extension,
 which support additional types (including 64-bit types). For 64-bit
 types get_nir_dest() returns ..., so we need to force the type to D
 since it always returns a bool."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171017/0fb601a7/attachment.sig>


More information about the mesa-dev mailing list