[Mesa-dev] [PATCH 2/3] nir: Change nir_shader_get_entrypoint to return an impl.
Eric Anholt
eric at anholt.net
Thu Aug 25 16:41:30 UTC 2016
Kenneth Graunke <kenneth at whitecape.org> writes:
> Jason suggested adding an assert(function->impl) here. All callers
> of this function actually want ->impl, so I decided just to change
> the API.
>
> We also change the nir_lower_io_to_temporaries API here. All but one
> caller passed nir_shader_get_entrypoint(), and with the previous commit,
> it now uses a nir_function_impl internally. Folding this change in
> avoids the need to change it and change it back.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
git grep shows more callers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160825/79b9df5e/attachment.sig>
More information about the mesa-dev
mailing list