[Mesa-dev] [PATCH] nir/builder: Add an init function that creates a simple shader for you
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...
Size: 818 bytes
Desc: not available
More information about the mesa-dev