[Mesa-dev] [PATCH 1/3] nir: Recognize open-coded extract_u8.

Kenneth Graunke kenneth at whitecape.org
Thu Mar 3 05:58:36 UTC 2016


On Wednesday, March 2, 2016 3:45:57 PM PST Matt Turner wrote:
> Two shaders that appear in Unigine benchmarks (Heaven and Valley) unpack
> three bytes from an integer and convert each into a float:
> 
>    float((val >> 16u) & 0xffu)
>    float((val >>  8u) & 0xffu)
>    float((val >>  0u) & 0xffu)

Series is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- 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/20160302/d3017377/attachment.sig>


More information about the mesa-dev mailing list