Re: [Mesa-dev] [PATCH] st/glsl_to_nir: fix next_stage gathering

2018-10-30 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sat, Oct 20, 2018 at 12:03 AM Timothy Arceri wrote: > ffs() just returns the bit that is set, we need to know what > stage that bit represents so use u_bit_scan() instead. > > Fixes: 2ca5d9548fc4 ("st/glsl_to_nir: gather next_stage in shader_info") > --- > sr

[Mesa-dev] [PATCH] st/glsl_to_nir: fix next_stage gathering

2018-10-19 Thread Timothy Arceri
ffs() just returns the bit that is set, we need to know what stage that bit represents so use u_bit_scan() instead. Fixes: 2ca5d9548fc4 ("st/glsl_to_nir: gather next_stage in shader_info") --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --