[Mesa-dev] [PATCH] st/mesa: initialize key in st_vp_varient

2010-12-04 Thread Marek Olšák
This fixes endless vertex shader recompilations in find_translated_vp if the shader contains an edge flag output. NOTE: This is a candidate for the 7.9 branch. --- src/mesa/state_tracker/st_program.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/

Re: [Mesa-dev] [RFC] Gallium constant handling speed improvements

2010-12-04 Thread Marek Olšák
Hi Jakob, I like the idea behind the first patch and there is a slight performance improvement with it on r300g, so I hope we'll get it accepted soon. r300g has no requirements on alignment of the offset but other drivers might have. The only change that's needed for r300g in set_constant_buffer i

Re: [Mesa-dev] [PATCH 3/3] gallium/trace: check bind_vertex_sampler_states and set_vertex_sampler_views

2010-12-04 Thread Jakob Bornecrantz
On Sun, Dec 5, 2010 at 1:16 AM, Xavier Chantry wrote: > cso_cache_delete checks if pipe has bind_vertex_sampler_states and > set_vertex_sampler_views so do the same in tr_context. > > This avoids a segfault when tracing nvfx driver on piglit > glx-destroycontext-2 Reviewed-by: Jakob Bornecrantz

Re: [Mesa-dev] [PATCH 2/3] init ps->context with util_surfaces_get and do_get

2010-12-04 Thread Jakob Bornecrantz
On Sun, Dec 5, 2010 at 1:16 AM, Xavier Chantry wrote: > Pass pipe_context rather than pipe_screen to util_surfaces_get and > util_surfaces_do_get so that they can check whether the saved pipe_surface > have the current context, and init properly a new pipe_surface with the > current context. > > p

[Mesa-dev] [PATCH 3/3] gallium/trace: check bind_vertex_sampler_states and set_vertex_sampler_views

2010-12-04 Thread Xavier Chantry
cso_cache_delete checks if pipe has bind_vertex_sampler_states and set_vertex_sampler_views so do the same in tr_context. This avoids a segfault when tracing nvfx driver on piglit glx-destroycontext-2 --- src/gallium/drivers/trace/tr_context.c |6 ++ 1 files changed, 6 insertions(+), 0 de

[Mesa-dev] [PATCH 2/3] init ps->context with util_surfaces_get and do_get

2010-12-04 Thread Xavier Chantry
Pass pipe_context rather than pipe_screen to util_surfaces_get and util_surfaces_do_get so that they can check whether the saved pipe_surface have the current context, and init properly a new pipe_surface with the current context. pipe_context is also passed to pipe_surface_reset and pipe_surface_

[Mesa-dev] [PATCH 1/3] nvfx: fixes after array textures merge

2010-12-04 Thread Xavier Chantry
- pipe_surface->context not initialized in nvfx_miptree_surface_new Should util_surfaces_get handle this initialization and take a pipe_context rather than a pipe_screen ? - ns was not properly initialized in nvfx_miptree_surface_new ns->offset == ~0 test was dead, the initialization of offset t

[Mesa-dev] [Bug 32088] [swrast] implementation error: unexpected format 0x8227 in _swrast_ReadPixels

2010-12-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32088 Vinson Lee changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Vinson Lee 2010

[Mesa-dev] [Bug 32086] [swrast] implementation error: unexpected format 0x8227 in _swrast_DrawPixels

2010-12-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32086 Vinson Lee changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Vinson Lee 2010

[Mesa-dev] [Bug 32105] New: Need talloc include path in make file

2010-12-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32105 Summary: Need talloc include path in make file Product: Mesa Version: 7.9 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Com