[Mesa-dev] [PATCH] nir/builder: Add an init function that creates a simple shader for you
Eric Anholt
eric at anholt.net
Tue Dec 29 10:38:37 PST 2015
Jason Ekstrand <jason at jlekstrand.net> writes:
> A hugely common case when using nir_builder is to have a shader with a
> single function called main. This adds a helper that gives you just that.
> This commit also makes us use it in the NIR control-flow unit tests as well
> as tgsi_to_nir and prog_to_nir.
This is great.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151229/38fc03b0/attachment-0001.sig>
More information about the mesa-dev
mailing list