Re: [Mesa-dev] main/hash_table.h vs program/hash_table.h

2013-12-22 Thread Eric Anholt
Connor Abbott writes: > Hi, > > While looking at the GLSL IR code, I noticed that different parts of the > code use 2 different hash table implementations. ir_loop_analysis, > ir_variable_refcount, ir_clone, etc. use struct hash_table under > program/hash_table.h, whereas ir_variable_refcount and

Re: [Mesa-dev] [PATCH] mesa: Fix build to properly check for supported compiler flags, v2

2013-12-22 Thread Lauri Kasanen
On Sun, 22 Dec 2013 08:01:26 -0800 Matt Turner wrote: > On Sun, Dec 22, 2013 at 1:39 AM, Lauri Kasanen wrote: > > On Fri, 20 Dec 2013 17:06:03 -0800 > > Matt Turner wrote: > > > >> On Thu, Dec 19, 2013 at 11:43 AM, Lauri Kasanen wrote: > >> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi

Re: [Mesa-dev] [PATCH] mesa: Fix build to properly check for supported compiler flags, v2

2013-12-22 Thread Matt Turner
On Sun, Dec 22, 2013 at 1:39 AM, Lauri Kasanen wrote: > On Fri, 20 Dec 2013 17:06:03 -0800 > Matt Turner wrote: > >> On Thu, Dec 19, 2013 at 11:43 AM, Lauri Kasanen wrote: >> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72708 >> > >> > Signed-off-by: Lauri Kasanen >> > --- >> >> Tha

Re: [Mesa-dev] [PATCH] llvmpipe: use pipe_sampler_view_release() to avoid segfault

2013-12-22 Thread Brian Paul
On 12/22/2013 03:28 AM, Jonathan Liu wrote: On 17/12/2013 1:59 AM, Brian Paul wrote: On 12/15/2013 06:24 PM, Jonathan Liu wrote: This fixes another case of faulting when freeing a pipe_sampler_view that belongs to a previously destroyed context. Signed-off-by: Jonathan Liu --- src/gallium/d

Re: [Mesa-dev] [PATCH] llvmpipe: use pipe_sampler_view_release() to avoid segfault

2013-12-22 Thread Jonathan Liu
On 17/12/2013 1:59 AM, Brian Paul wrote: On 12/15/2013 06:24 PM, Jonathan Liu wrote: This fixes another case of faulting when freeing a pipe_sampler_view that belongs to a previously destroyed context. Signed-off-by: Jonathan Liu --- src/gallium/drivers/llvmpipe/lp_state_sampler.c | 6 ++

Re: [Mesa-dev] [PATCH] st/mesa: use pipe_sampler_view_release()

2013-12-22 Thread Jonathan Liu
On 15/12/2013 4:14 AM, Brian Paul wrote: On 12/14/2013 07:15 AM, Jonathan Liu wrote: This fixes a crash where old_view->context was already freed in the pipe_sampler_view_reference function contained in src/gallium/auxiliary/utils/u_inlines.h. As a result, the sampler_view_destroy function point

Re: [Mesa-dev] [PATCH] mesa: Fix build to properly check for supported compiler flags, v2

2013-12-22 Thread Lauri Kasanen
On Fri, 20 Dec 2013 17:06:03 -0800 Matt Turner wrote: > On Thu, Dec 19, 2013 at 11:43 AM, Lauri Kasanen wrote: > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72708 > > > > Signed-off-by: Lauri Kasanen > > --- > > Thanks, R-b and pushed. Apparently this commit also fixed non-x86 bu