Re: [Mesa-dev] [PATCH 2/3] nir: Change nir_shader_get_entrypoint to return an impl.

2016-08-25 Thread Eric Anholt
Kenneth Graunke 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

[Mesa-dev] [PATCH 2/3] nir: Change nir_shader_get_entrypoint to return an impl.

2016-08-24 Thread Kenneth Graunke
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