Re: [Mesa-dev] News about my GSoC proposal

2011-03-21 Thread Philipp Klaus Krause
Am 21.03.2011 11:43, schrieb Denis Steckelmacher: > […] > I'm open to any suggestion. I now understand the majority of the Mesa code (I > read most of it past week), and I also read some parts of the OpenVG state > tracker (a state tracker not too far from OpenGL, but way simpler, and built > di

Re: [Mesa-dev] [PATCH] st/mesa: In update_samplers(), clear all samplers at once.

2011-03-21 Thread Tilman Sauerbeck
Keith Whitwell [2011-03-21 18:43]: > On Mon, 2011-03-21 at 19:28 +0100, Tilman Sauerbeck wrote: > > Signed-off-by: Tilman Sauerbeck > > --- > > > > update_samplers() showed up in a profile of Heroes of Newerth; > > this patch pushes it down the profile by ~3%. > > > > Does this seem plausible? >

Re: [Mesa-dev] [PATCH] st/mesa: In update_samplers(), clear all samplers at once.

2011-03-21 Thread Keith Whitwell
On Mon, 2011-03-21 at 19:28 +0100, Tilman Sauerbeck wrote: > Signed-off-by: Tilman Sauerbeck > --- > > update_samplers() showed up in a profile of Heroes of Newerth; > this patch pushes it down the profile by ~3%. > > Does this seem plausible? > > src/mesa/state_tracker/st_atom_sampler.c |

[Mesa-dev] [PATCH] st/mesa: In update_samplers(), clear all samplers at once.

2011-03-21 Thread Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck --- update_samplers() showed up in a profile of Heroes of Newerth; this patch pushes it down the profile by ~3%. Does this seem plausible? src/mesa/state_tracker/st_atom_sampler.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/m

Re: [Mesa-dev] [PATCH 2/6] gallium: implement clamping controls (ARB_color_buffer_float)

2011-03-21 Thread Christoph Bumiller
On 03/21/2011 05:43 PM, Marek Olšák wrote: > On Mon, Mar 21, 2011 at 4:50 PM, Brian Paul wrote: > >> On 03/21/2011 09:10 AM, Keith Whitwell wrote: >> >>> On Mon, 2011-03-21 at 02:12 +0100, Marek Olšák wrote: >>> diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/

Re: [Mesa-dev] [PATCH 2/6] gallium: implement clamping controls (ARB_color_buffer_float)

2011-03-21 Thread Marek Olšák
On Mon, Mar 21, 2011 at 4:50 PM, Brian Paul wrote: > On 03/21/2011 09:10 AM, Keith Whitwell wrote: > >> On Mon, 2011-03-21 at 02:12 +0100, Marek Olšák wrote: >> >>> diff --git a/src/gallium/include/pipe/p_state.h >>> b/src/gallium/include/pipe/p_state.h >>> index cf6c5b5..f6ad456 100644 >>> --- a

Re: [Mesa-dev] [PATCH 2/6] gallium: implement clamping controls (ARB_color_buffer_float)

2011-03-21 Thread Marek Olšák
Yeah I moved it from the rasterizer state to the blend state, but then I realized the rasterizer state had been a better place. The thing is the fragment color clamping is done right after the fragment shader output is written, that is before the alpha test, before the depth/stencil test, and there

Re: [Mesa-dev] [PATCH 2/6] gallium: implement clamping controls (ARB_color_buffer_float)

2011-03-21 Thread Brian Paul
On 03/21/2011 09:10 AM, Keith Whitwell wrote: On Mon, 2011-03-21 at 02:12 +0100, Marek Olšák wrote: diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index cf6c5b5..f6ad456 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h

Re: [Mesa-dev] [PATCH 2/6] gallium: implement clamping controls (ARB_color_buffer_float)

2011-03-21 Thread Keith Whitwell
On Mon, 2011-03-21 at 16:23 +0100, Christoph Bumiller wrote: > On 03/21/2011 02:12 AM, Marek Olšák wrote: > > > diff --git a/src/gallium/include/pipe/p_state.h > > b/src/gallium/include/pipe/p_state.h > > index cf6c5b5..f6ad456 100644 > > --- a/src/gallium/include/pipe/p_state.h > > +++ b/src/gal

Re: [Mesa-dev] [PATCH 2/6] gallium: implement clamping controls (ARB_color_buffer_float)

2011-03-21 Thread Christoph Bumiller
On 03/21/2011 02:12 AM, Marek Olšák wrote: > diff --git a/src/gallium/include/pipe/p_state.h > b/src/gallium/include/pipe/p_state.h > index cf6c5b5..f6ad456 100644 > --- a/src/gallium/include/pipe/p_state.h > +++ b/src/gallium/include/pipe/p_state.h > @@ -81,6 +81,8 @@ struct pipe_rasterizer_stat

Re: [Mesa-dev] [PATCH 2/6] gallium: implement clamping controls (ARB_color_buffer_float)

2011-03-21 Thread Keith Whitwell
On Mon, 2011-03-21 at 02:12 +0100, Marek Olšák wrote: > diff --git a/src/gallium/include/pipe/p_state.h > b/src/gallium/include/pipe/p_state.h > index cf6c5b5..f6ad456 100644 > --- a/src/gallium/include/pipe/p_state.h > +++ b/src/gallium/include/pipe/p_state.h > @@ -81,6 +81,8 @@ struct pipe_raster

Re: [Mesa-dev] [PATCH 0/2] mesa/gallium: add NV_texture_barrier

2011-03-21 Thread Keith Whitwell
On Sat, 2011-03-12 at 00:48 +0100, Marek Olšák wrote: > On Fri, Mar 11, 2011 at 2:56 PM, Keith Whitwell wrote: > > > > So my suggestion would be to name this something else, perhaps taking > > language from the NV extension. > > > > Alright. > > There are two patches attached in this email. The

Re: [Mesa-dev] News about my GSoC proposal

2011-03-21 Thread Denis Steckelmacher
Hello, I can consider working on a hardware driver, but I'm not very familiar with these pieces of software. I will also need to work two weeks without my main computer, on a Packard Bell laptop with an RS690m graphics card (r300g driver). The r300g driver is already mature, exept one memory co