Re: [Mesa-dev] [PATCH v3] Rename the _mesa_lookup_enum_by_nr() function Renamed function _mesa_lookup_prim_by_nr() to _mesa_prim_string() _mesa_lookup_enum_by_nr() to _mesa_enum_string() _mesa_lookup_

2013-06-06 Thread Tormod Volden
On Thu, Jun 6, 2013 at 10:44 AM, Arnas Milaševičius wrote: > It seems that you didn't understand me or I didn't undrstand you. For > example gl_enums.py has all the 3 functions. How do I deal with that > file? I don't thing it's the right way to change for example > _mesa_lookup_prim_by_nr() there,

Re: [Mesa-dev] [PATCH] faster util_next_power_of_two() function

2011-06-06 Thread Tormod Volden
On Sun, Jun 5, 2011 at 1:14 AM, Benjamin Bellec wrote: > So here is a v2 patch with a builtin GCC optimization which is the > fastest (thx Matt to point me to this solution). > >From patch: + return (1 << (32 - __builtin_clz(x - 1))); I don't know if the use of gcc guarantees that int will

[Mesa-dev] osmesa: static linking of talloc

2010-10-24 Thread Tormod Volden
Commit 5a3ac74 added $(TALLOC_LIBS) to the mklib call in src/mesa/drivers/osmesa/Makefile and this breaks static builds on Linux since ar barfs on "-ltalloc". I have been looking at different ways of dealing with this without finding any elegant solution. We can change configure.ac to set TALLOC_LI

Re: [Mesa-dev] Mesa 7.10 release

2011-01-10 Thread Tormod Volden
On Mon, Jan 10, 2011 at 4:42 PM, Brian Paul wrote: > The libdrm version checks in configure.ac should be updated.  I think the > driver developers usually forget to do this.  Unless someone says otherwise, > I think I'll bump all of them to 2.4.23 (the latest release) and cherry-pick > back to 7.10

[Mesa-dev] [PATCH] configure.ac: define LIBDRM_INTEL_REQUIRED

2011-01-25 Thread Tormod Volden
From: Tormod Volden To have the LIBDRM* requirements in one place Signed-off-by: Tormod Volden --- configure.ac |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 1c6edb7..a331174 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6

Re: [Mesa-dev] [PATCH] r600g: Avoid setting one gpu register multiple times in a r600_pipe_state

2011-03-14 Thread Tormod Volden
2011/3/14 Mathias Fröhlich wrote: > By that way, I use currently git format-patch and attach these files. > But the output of format-patch is clearly something that could go directly to > a mail delivery agent. But since I only use authenticated mail delivery with a > foreign sendmail/postfix serve

Re: [Mesa-dev] [Mesa3d-dev] Move lists to freedesktop.org?

2010-04-15 Thread Tormod Volden
On Wed, Apr 14, 2010 at 11:16 PM, Brian Paul wrote: > Dan Nicholson wrote: >> >> On Wed, Apr 14, 2010 at 1:52 PM, Brian Paul wrote: >>> >>> Matthew W. S. Bell wrote: On Thu, 2010-04-08 at 16:37 -0700, Jesse Barnes wrote: > > On Thu, 8 Apr 2010 18:38:03 -0400 > Alex Deucher

[Mesa-dev] [PATCH] savage: call _mesa_meta_init/free()

2010-04-15 Thread Tormod Volden
Fixes crash when using _mesa_CopyTexImage2D. Bug #27652. Signed-off-by: Tormod Volden --- I see this was done for intel/nouveau/radeon/swrast. Maybe it is needed for more drivers as well. src/mesa/drivers/dri/savage/savage_xmesa.c |5 + 1 files changed, 5 insertions(+), 0 deletions

[Mesa-dev] [PATCH] r300g: RV560 has 8 vertex shaders

2010-04-21 Thread Tormod Volden
From: Tormod Volden http://ati.amd.com/products/RadeonX1650/x1650xt_specs.html http://en.wikipedia.org/wiki/Comparison_of_ATI_Graphics_Processing_Units Signed-off-by: Tormod Volden --- I do not have the hardware to confirm this though. src/gallium/drivers/r300/r300_chipset.c |2 +- 1

[Mesa-dev] [PATCH] radeon: 9800 SE has only one quadpipe

2010-04-22 Thread Tormod Volden
From: Tormod Volden Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden --- Man

[Mesa-dev] [PATCH] drm/radeon: 9800 SE has only one quadpipe

2010-04-22 Thread Tormod Volden
From: Tormod Volden Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden --- drivers

[Mesa-dev] [PATCH] r300g: add pipe number overrides

2010-04-22 Thread Tormod Volden
From: Tormod Volden These should also be in the newest linux kernels. Signed-off-by: Tormod Volden --- src/gallium/drivers/r300/r300_chipset.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r300/r300_chipset.c b/src/gallium/drivers/r300