Re: [Mesa-dev] [PATCH 3/6] st/mesa: consolidate view format setup code

2016-10-06 Thread Nicolai Hähnle
On 06.10.2016 02:42, Brian Paul wrote: Before, we had code to compute the sampler view's format spread across two different functions: in update_single_texture() and st_get_texture_sampler_view_from_stobj(). Now it's all in one new function. Also, use _mesa_texture_base_format() to simplify the

[Mesa-dev] [PATCH 3/6] st/mesa: consolidate view format setup code

2016-10-05 Thread Brian Paul
Before, we had code to compute the sampler view's format spread across two different functions: in update_single_texture() and st_get_texture_sampler_view_from_stobj(). Now it's all in one new function. Also, use _mesa_texture_base_format() to simplify the code. Reviewed-by: Edward O'Callaghan