[Mesa-dev] [PATCH 2/2] nir: Lower ldexp to arithmetic.

Kenneth Graunke kenneth at whitecape.org
Wed Jan 20 12:05:12 PST 2016


On Tuesday, January 19, 2016 10:14:18 PM PST Kenneth Graunke wrote:
> This is a port of Matt's GLSL IR lowering pass to NIR.  It's required
> because we translate SPIR-V directly to NIR, bypassing GLSL IR.
> 
> I haven't introduced a lower_ldexp flag, as I believe all current NIR
> consumers would set the flag.  i965 wants this, vc4 doesn't implement
> this feature, and st_glsl_to_tgsi currently lowers ldexp
> unconditionally anyway.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

NAK.  This code doesn't work.  I definitely have Piglit results with
columns of green, but apparently I my test suites got broken in some
bizarre way.  After a bunch of clean builds, it fails.

I'll send out a fixed version once I have one...
-------------- 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: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20160120/8f22992b/attachment.sig>


More information about the mesa-dev mailing list