Re: [Mesa-dev] [PATCH] nir: Check if u_vector_init() succeeds

2018-04-05 Thread Thomas Helland
Sorry about that. It doesn't hurt to check. Reviewed-by: Thomas Helland 2018-04-05 9:35 GMT+02:00 Topi Pohjolainen : > However, it only fails when running out of memory. Now, if we > are about to check that, we should be consistent and check > the allocation of the worklist as well. > > On the o

[Mesa-dev] [PATCH] nir: Check if u_vector_init() succeeds

2018-04-05 Thread Topi Pohjolainen
However, it only fails when running out of memory. Now, if we are about to check that, we should be consistent and check the allocation of the worklist as well. On the other hand there are other places where we don't check for allocation failures. Therefore I'm not sure if we bother here either. C