Re: [Mesa-dev] [PATCH 00/32] First pass at automaking Gallium

2012-08-29 Thread Matt Turner
On Wed, Aug 29, 2012 at 11:16 PM, Matt Turner wrote: > Here's the first pass at automaking Gallium. It converts the winsys > and all the driver directories but radeon. > > Compile tested. Files checked to confirm that they're the same size, > but other than that, untested. Please test. > > Next wi

[Mesa-dev] [PATCH 32/32] state_trackers/dri/sw: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/state_trackers/dri/sw/.gitignore |1 + src/gallium/state_trackers/dri/sw/Makefile| 25 - src/gallium/state_trackers/dri/sw/Makefile.am | 21 + 4 files changed, 23 insert

[Mesa-dev] [PATCH 31/32] state_trackers/dri/drm: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/state_trackers/dri/drm/.gitignore |1 + src/gallium/state_trackers/dri/drm/Makefile| 27 src/gallium/state_trackers/dri/drm/Makefile.am | 20 + 4 files changed, 22 inserti

[Mesa-dev] [PATCH 30/32] state_trackers/dri: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/state_trackers/dri/.gitignore |1 + src/gallium/state_trackers/dri/Makefile| 12 src/gallium/state_trackers/dri/Makefile.am |1 + 4 files changed, 3 insertions(+), 12 deletions(-) create mode 100644 s

[Mesa-dev] [PATCH 29/32] winsys/sw/xlib: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/winsys/sw/xlib/.gitignore |1 + src/gallium/winsys/sw/xlib/Makefile| 17 - src/gallium/winsys/sw/xlib/Makefile.am | 13 + 4 files changed, 15 insertions(+), 17 deletions(-) create mode 100644

[Mesa-dev] [PATCH 28/32] winsys/sw/wrapper: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/winsys/sw/wrapper/.gitignore |1 + src/gallium/winsys/sw/wrapper/Makefile| 12 src/gallium/winsys/sw/wrapper/Makefile.am | 12 4 files changed, 14 insertions(+), 12 deletions(-) create mode

[Mesa-dev] [PATCH 27/32] winsys/sw/wayland: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/winsys/sw/wayland/.gitignore |1 + src/gallium/winsys/sw/wayland/Makefile| 13 - src/gallium/winsys/sw/wayland/Makefile.am | 13 + 4 files changed, 15 insertions(+), 13 deletions(-) create mod

[Mesa-dev] [PATCH 26/32] winsys/sw/null: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/winsys/sw/null/.gitignore |1 + src/gallium/winsys/sw/null/Makefile| 16 src/gallium/winsys/sw/null/Makefile.am | 12 4 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 s

[Mesa-dev] [PATCH 25/32] winsys/sw/fbdev: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac|1 + src/gallium/winsys/sw/fbdev/.gitignore |1 + src/gallium/winsys/sw/fbdev/Makefile| 13 - src/gallium/winsys/sw/fbdev/Makefile.am | 12 4 files changed, 14 insertions(+), 13 deletions(-) create mode 100644

[Mesa-dev] [PATCH 24/32] winsys/sw/dri: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/winsys/sw/dri/.gitignore |1 + src/gallium/winsys/sw/dri/Makefile| 13 - src/gallium/winsys/sw/dri/Makefile.am | 12 4 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 src/gall

[Mesa-dev] [PATCH 23/32] winsys/sw: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/winsys/sw/.gitignore |1 + src/gallium/winsys/sw/Makefile| 26 -- src/gallium/winsys/sw/Makefile.am | 15 +++ 4 files changed, 17 insertions(+), 26 deletions(-) create mode 100644 src/gall

[Mesa-dev] [PATCH 22/32] svga/winsys/drm: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac|1 + src/gallium/winsys/svga/drm/.gitignore |1 + src/gallium/winsys/svga/drm/Makefile| 19 --- src/gallium/winsys/svga/drm/Makefile.am | 19 +++ 4 files changed, 21 insertions(+), 19 deletions(-) create

[Mesa-dev] [PATCH 21/32] nouveau/winsys/drm: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/winsys/nouveau/drm/.gitignore |1 + src/gallium/winsys/nouveau/drm/Makefile| 11 --- src/gallium/winsys/nouveau/drm/Makefile.am | 15 +++ 4 files changed, 17 insertions(+), 11 deletions(-) create

[Mesa-dev] [PATCH 20/32] radeonsi: Convert to automake

2012-08-29 Thread Matt Turner
Can't use LTLIBRARIES here yet, since libradeon isn't converted. --- configure.ac |1 + src/gallium/drivers/radeonsi/.gitignore |1 + src/gallium/drivers/radeonsi/Makefile| 21 - src/gallium/drivers/radeonsi/Makefile.am | 19

[Mesa-dev] [PATCH 19/32] nvc0: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/drivers/nvc0/.gitignore |1 + src/gallium/drivers/nvc0/Makefile| 12 src/gallium/drivers/nvc0/Makefile.am | 14 ++ 4 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 src/gallium

[Mesa-dev] [PATCH 18/32] nv50: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/drivers/nv50/.gitignore |1 + src/gallium/drivers/nv50/Makefile| 12 src/gallium/drivers/nv50/Makefile.am | 14 ++ 4 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 src/gallium

[Mesa-dev] [PATCH 17/32] nv30: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/drivers/nv30/.gitignore |1 + src/gallium/drivers/nv30/Makefile| 12 src/gallium/drivers/nv30/Makefile.am | 14 ++ 4 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 src/gallium

[Mesa-dev] [PATCH 16/32] nouveau: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac|1 + src/gallium/drivers/nouveau/.gitignore |1 + src/gallium/drivers/nouveau/Makefile| 16 src/gallium/drivers/nouveau/Makefile.am | 16 4 files changed, 18 insertions(+), 16 deletions(-) create mode

[Mesa-dev] [PATCH 15/32] svga: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/drivers/svga/.gitignore |1 + src/gallium/drivers/svga/Makefile| 19 --- src/gallium/drivers/svga/Makefile.am | 17 + 4 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 s

[Mesa-dev] [PATCH 14/32] softpipe: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/drivers/softpipe/.gitignore |1 + src/gallium/drivers/softpipe/Makefile| 37 -- src/gallium/drivers/softpipe/Makefile.am | 42 ++ 4 files changed, 44 insertions(+), 3

[Mesa-dev] [PATCH 13/32] llvmpipe: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/drivers/llvmpipe/.gitignore |1 + src/gallium/drivers/llvmpipe/Makefile| 75 --- src/gallium/drivers/llvmpipe/Makefile.am | 95 ++ 4 files changed, 97 insertions(+), 75 d

[Mesa-dev] [PATCH 12/32] rbug: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/drivers/rbug/.gitignore |1 + src/gallium/drivers/rbug/Makefile| 12 src/gallium/drivers/rbug/Makefile.am | 21 + 4 files changed, 23 insertions(+), 12 deletions(-) create mode 100644 src/

[Mesa-dev] [PATCH 11/32] i915/winsys/sw: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/winsys/i915/sw/.gitignore |1 + src/gallium/winsys/i915/sw/Makefile| 12 src/gallium/winsys/i915/sw/Makefile.am | 19 +++ 4 files changed, 21 insertions(+), 12 deletions(-) create mode 10064

[Mesa-dev] [PATCH 10/32] i915/winsys/drm: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac|1 + src/gallium/winsys/i915/drm/.gitignore |1 + src/gallium/winsys/i915/drm/Makefile| 13 - src/gallium/winsys/i915/drm/Makefile.am | 16 4 files changed, 18 insertions(+), 13 deletions(-) create mode 100

[Mesa-dev] [PATCH 09/32] i915g: Convert to automake

2012-08-29 Thread Matt Turner
--- configure.ac |1 + src/gallium/drivers/i915/.gitignore |1 + src/gallium/drivers/i915/Makefile|9 - src/gallium/drivers/i915/Makefile.am | 14 ++ 4 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 src/gallium/dri

[Mesa-dev] [PATCH 08/32] r600g: Use gallium automake include file

2012-08-29 Thread Matt Turner
--- src/gallium/drivers/r600/Makefile.am |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am index 628eaab..7af5748 100644 --- a/src/gallium/drivers/r600/Makefile.am +++ b/src/gallium/drivers/r60

[Mesa-dev] [PATCH 07/32] libgallium: Convert to automake

2012-08-29 Thread Matt Turner
From: Tom Stellard --- configure.ac |2 + src/gallium/auxiliary/.gitignore |1 + src/gallium/auxiliary/Makefile| 42 -- src/gallium/auxiliary/Makefile.am | 45 + 4 files changed, 48 insertio

[Mesa-dev] [PATCH 06/32] trace: Convert to automake

2012-08-29 Thread Matt Turner
From: Tom Stellard --- configure.ac |1 + src/gallium/drivers/trace/.gitignore |2 ++ src/gallium/drivers/trace/Makefile| 13 - src/gallium/drivers/trace/Makefile.am | 17 + 4 files changed, 20 insertions(+), 13 deletions(-)

[Mesa-dev] [PATCH 05/32] radeon/winsys: Convert to automake

2012-08-29 Thread Matt Turner
From: Tom Stellard --- configure.ac |1 + src/gallium/winsys/radeon/drm/.gitignore |1 + src/gallium/winsys/radeon/drm/Makefile| 15 --- src/gallium/winsys/radeon/drm/Makefile.am | 15 +++ 4 files changed, 17 insertions(+), 15

[Mesa-dev] [PATCH 04/32] r300g: Build a libtool archive

2012-08-29 Thread Matt Turner
From: Tom Stellard --- src/gallium/drivers/r300/Makefile.am | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am index 6c4bba7..6e5a47b 100644 --- a/src/gallium/drivers/r300/Makefil

[Mesa-dev] [PATCH 03/32] r300g: Use gallium automake include file

2012-08-29 Thread Matt Turner
From: Tom Stellard [mattst88] v2: Remove ARCH_FLAGS/OPT_FLAGS --- src/gallium/drivers/r300/Makefile.am |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am index 79b17f6..6c4bba7 100644 --- a/

[Mesa-dev] [PATCH 02/32] gallium: Add common automake include file

2012-08-29 Thread Matt Turner
From: Tom Stellard [mattst88] v2: Remove ARCH_FLAGS/OPT_FLAGS --- src/gallium/Automake.inc |5 + 1 files changed, 5 insertions(+), 0 deletions(-) create mode 100644 src/gallium/Automake.inc diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc new file mode 100644 index

[Mesa-dev] [PATCH 01/32] automake: Convert Gallium target and winsys

2012-08-29 Thread Matt Turner
--- configure.ac|2 ++ src/gallium/targets/.gitignore |1 + src/gallium/targets/Makefile| 12 src/gallium/targets/Makefile.am |1 + src/gallium/winsys/.gitignore |1 + src/gallium/winsys/Makefile | 12 src/gallium/winsys/

[Mesa-dev] [PATCH 00/32] First pass at automaking Gallium

2012-08-29 Thread Matt Turner
Here's the first pass at automaking Gallium. It converts the winsys and all the driver directories but radeon. Compile tested. Files checked to confirm that they're the same size, but other than that, untested. Please test. Next will be state trackers, and finally the target directories. Beyond t

Re: [Mesa-dev] Mesa & Mozilla regarding S3TC patent problem

2012-08-29 Thread thibaut bethune
Thank you all for your kind answers Here is the corresponding bug report : https://bugzilla.mozilla.org/show_bug.cgi?id=774134 The patent issue has been briefly discussed there... Thibaut 2012/8/29 Tapani Pälli : > Hello; > > On 08/29/2012 12:30 AM, Kenneth Graunke wrote: >> On 08/28/2012 10:56

[Mesa-dev] [Bug 54106] Fix a memory leak in dri2_terminate()

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54106 --- Comment #1 from Homer Hsing 2012-08-30 06:03:24 UTC --- Hi, any comment ? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___

[Mesa-dev] [Bug 54234] link break after git pull august 29

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54234 --- Comment #2 from Alexandre Demers 2012-08-30 04:23:34 UTC --- I should add: make[3]: Entering directory `/home/dema1701/projects/display/mesa/src/gallium/targets/egl-static' /bin/sh ../../../../bin/mklib -o egl_gallium.so -noprefix -linker '

[Mesa-dev] [Bug 54234] link break after git pull august 29

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54234 --- Comment #1 from Alexandre Demers 2012-08-30 04:18:15 UTC --- Same thing here since 28th. Fetching and merging latest commits don't help: mklib: Making Linux shared library: egl_gallium.so ../../../../src/gallium/auxiliary/libgallium.a(u_dl

[Mesa-dev] [Bug 54234] link break after git pull august 29

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54234 Alexandre Demers changed: What|Removed |Added CC||alexandre.f.dem...@gmail.co

[Mesa-dev] [Bug 54240] New: [swrast] piglit fbo-generatemipmap-filtering regression

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54240 Bug #: 54240 Summary: [swrast] piglit fbo-generatemipmap-filtering regression Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64)

Re: [Mesa-dev] [PATCH] Remove libGLU

2012-08-29 Thread Kenneth Graunke
On 08/29/2012 07:41 PM, Matt Turner wrote: > It's been moved to its own repository, found at > http://cgit.freedesktop.org/mesa/glu/ > --- > Well, it hasn't been moved yet.. > > I've stripped out all the diff that just deleted entire files, > namely everything in src/glu and include/GL/glu*.

Re: [Mesa-dev] problem with "meta: Don't stray outside the confines of the API specified in the context"

2012-08-29 Thread Brian Paul
On Wed, Aug 29, 2012 at 6:16 PM, Paul Berry wrote: > On 29 August 2012 16:16, Brian Paul wrote: >> >> In enable.c there's a call to _mesa_meta_in_progress(). But the meta code >> is not always built or linked in when building gallium targets. >> >> For now, I think I can put a _mesa_meta_in_prog

[Mesa-dev] [Bug 54239] New: SIGSEGV src/mesa/drivers/common/meta.c:1085

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54239 Bug #: 54239 Summary: SIGSEGV src/mesa/drivers/common/meta.c:1085 Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

[Mesa-dev] [PATCH] Remove libGLU

2012-08-29 Thread Matt Turner
It's been moved to its own repository, found at http://cgit.freedesktop.org/mesa/glu/ --- Well, it hasn't been moved yet.. I've stripped out all the diff that just deleted entire files, namely everything in src/glu and include/GL/glu*.h, leaving only the changes made to files we're keeping

Re: [Mesa-dev] problem with "meta: Don't stray outside the confines of the API specified in the context"

2012-08-29 Thread Paul Berry
On 29 August 2012 16:16, Brian Paul wrote: > In enable.c there's a call to _mesa_meta_in_progress(). But the meta code > is not always built or linked in when building gallium targets. > > For now, I think I can put a _mesa_meta_in_progress() dummy function in > the state_tracker code. But that

[Mesa-dev] [Bug 54234] link break after git pull august 29

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54234 Rafael Castillo changed: What|Removed |Added Severity|critical|blocker Priority|medium

[Mesa-dev] [Bug 54234] New: link break after git pull august 29

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54234 Bug #: 54234 Summary: link break after git pull august 29 Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Stat

[Mesa-dev] problem with "meta: Don't stray outside the confines of the API specified in the context"

2012-08-29 Thread Brian Paul
In enable.c there's a call to _mesa_meta_in_progress(). But the meta code is not always built or linked in when building gallium targets. For now, I think I can put a _mesa_meta_in_progress() dummy function in the state_tracker code. But that's a pretty ugly hack. What's the reason for call

[Mesa-dev] [PATCH] i965/msaa: flag _NEW_MULTISAMPLE in the brw_tracked_state

2012-08-29 Thread Anuj Phogat
This is required to get the program recompiled when SampleAlphaToCoverage is enabled. Patch also removes a redundant comment in struct brw_wm_prog_key. Signed-off-by: Anuj Phogat --- src/mesa/drivers/dri/i965/brw_wm.c |3 ++- src/mesa/drivers/dri/i965/brw_wm.h |2 +- 2 files changed, 3 i

Re: [Mesa-dev] Mesa (master): i965/msaa: Add sample-alpha-to-coverage support for multiple render targets

2012-08-29 Thread Anuj Phogat
On Fri, Aug 24, 2012 at 9:17 AM, Eric Anholt wrote: > Anuj Phogat writes: > >> Module: Mesa >> Branch: master >> Commit: e592f7df0361eb8b5c75944f0151c4e6b3f839dd >> URL: >> http://cgit.freedesktop.org/mesa/mesa/commit/?id=e592f7df0361eb8b5c75944f0151c4e6b3f839dd >> >> Author: Anuj Phogat >>

[Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-29 Thread Anuj Phogat
This reduces the overhead of using the fixed function internally in the driver. V2: Use setup_glsl_generate_mipmap() and setup_ff_generate_mipmap() functions to avoid code duplication. Use glsl version when ARB_{vertex, fragmet}_shader are present. Remove redundant code. V3: Remove re

Re: [Mesa-dev] [PATCH] glsl: s/class/struct/ for ast_type_qualifier

2012-08-29 Thread Kenneth Graunke
On 08/29/2012 08:04 AM, Brian Paul wrote: > To silence an MSVC compiler warning about class vs. struct. > --- > src/glsl/glsl_parser_extras.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h > index 66463c

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-29 Thread Ian Romanick
On 08/29/2012 08:21 AM, Brian Paul wrote: On 08/28/2012 11:28 PM, Anuj Phogat wrote: This reduces the overhead of using the fixed function internally in the driver. V2: Use setup_glsl_generate_mipmap() and setup_ff_generate_mipmap() functions to avoid code duplication. Use glsl versio

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-29 Thread Ian Romanick
On 08/28/2012 10:28 PM, Anuj Phogat wrote: This reduces the overhead of using the fixed function internally in the driver. V2: Use setup_glsl_generate_mipmap() and setup_ff_generate_mipmap() functions to avoid code duplication. Use glsl version when ARB_{vertex, fragmet}_shader are pre

[Mesa-dev] [Bug 54162] "make clean" leaves some .o files

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54162 --- Comment #4 from Matt Turner 2012-08-29 17:05:34 UTC --- (In reply to comment #3) > probably the same as my bug (even though I have more .o files left): > https://bugs.freedesktop.org/show_bug.cgi?id=51383 > > one should be marked as a dupli

Re: [Mesa-dev] [PATCH] i965/fs: Initialize output_components[] by filling it with zeros.

2012-08-29 Thread Paul Berry
On 29 August 2012 02:30, Kenneth Graunke wrote: > Prior to commit 2f1869822, emit_fb_writes() looped from 0 to 3, writing > all four components of a vec4 color output. However, that broke for > smaller output types (float, vec2, or vec3). To fix that, I introduced > a new variable (output_compo

Re: [Mesa-dev] Split libGLU into its own repository?

2012-08-29 Thread Brian Paul
On 08/29/2012 10:38 AM, Matt Turner wrote: On Wed, Aug 29, 2012 at 6:57 AM, Brian Paul wrote: On 08/27/2012 03:58 PM, Matt Turner wrote: On Sun, Jan 22, 2012 at 4:03 AM, Kenneth Graunke wrote: A while back, we split off GLw into a separate repository. The rationale was that GLw should be m

Re: [Mesa-dev] Split libGLU into its own repository?

2012-08-29 Thread Matt Turner
On Wed, Aug 29, 2012 at 6:57 AM, Brian Paul wrote: > On 08/27/2012 03:58 PM, Matt Turner wrote: >> >> On Sun, Jan 22, 2012 at 4:03 AM, Kenneth Graunke >> wrote: >>> >>> A while back, we split off GLw into a separate repository. The rationale >>> was that GLw should be maintained and released inde

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-29 Thread Brian Paul
On 08/28/2012 11:28 PM, Anuj Phogat wrote: This reduces the overhead of using the fixed function internally in the driver. V2: Use setup_glsl_generate_mipmap() and setup_ff_generate_mipmap() functions to avoid code duplication. Use glsl version when ARB_{vertex, fragmet}_shader are pre

[Mesa-dev] [PATCH] glsl: s/class/struct/ for ast_type_qualifier

2012-08-29 Thread Brian Paul
To silence an MSVC compiler warning about class vs. struct. --- src/glsl/glsl_parser_extras.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h index 66463c5..fc08ee2 100644 --- a/src/glsl/glsl_parser_extras.h ++

[Mesa-dev] [Bug 54209] Define CPU_TO_LE32 on OpenBSD

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54209 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH 1/5] radeonsi: fix stupid bug added in commit 07838603b9a69c05911edbcd351bfce5ad9b5a2c

2012-08-29 Thread Alex Deucher
On Wed, Aug 29, 2012 at 5:11 AM, Christian König wrote: > Signed-off-by: Christian König for the series: Reviewed-by: Alex Deucher ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] Split libGLU into its own repository?

2012-08-29 Thread Brian Paul
On 08/27/2012 03:58 PM, Matt Turner wrote: On Sun, Jan 22, 2012 at 4:03 AM, Kenneth Graunke wrote: A while back, we split off GLw into a separate repository. The rationale was that GLw should be maintained and released independently from Mesa/Gallium since it hardly ever changes and isn't clos

[Mesa-dev] [Bug 54209] New: Define CPU_TO_LE32 on OpenBSD

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54209 Bug #: 54209 Summary: Define CPU_TO_LE32 on OpenBSD Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: OpenBSD Status: NEW S

[Mesa-dev] [PATCH] i965/fs: Initialize output_components[] by filling it with zeros.

2012-08-29 Thread Kenneth Graunke
Prior to commit 2f1869822, emit_fb_writes() looped from 0 to 3, writing all four components of a vec4 color output. However, that broke for smaller output types (float, vec2, or vec3). To fix that, I introduced a new variable (output_components[]) containing the size of the output type for each r

[Mesa-dev] [PATCH 5/5] radeonsi: stop big offsets from hanging the GPU

2012-08-29 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 45eda64..ca0eb0d 100644 --- a/

[Mesa-dev] [PATCH 1/5] radeonsi: fix stupid bug added in commit 07838603b9a69c05911edbcd351bfce5ad9b5a2c

2012-08-29 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/si_state_draw.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 5f8e211..75df4e8 100644 --- a/sr

[Mesa-dev] [PATCH 3/5] radeonsi: disable NPOT textures for now

2012-08-29 Thread Christian König
Looks like we have an alignment issue with NPOT textures and mipmaps. So disable NPOT textures until we figure out what is going wrong here. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pipe.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/

[Mesa-dev] [PATCH 4/5] radeonsi: disable Z16 for now

2012-08-29 Thread Christian König
It's causing crashes. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/si_state.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index b7a3cf4..c01c3f6 100644 --- a/src/g

[Mesa-dev] [PATCH 2/5] radeonsi: handle indirect constants gracefully

2012-08-29 Thread Christian König
It's not supported yet, so at least don't try to crash the box. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_

[Mesa-dev] [Bug 53361] Commit of Mesa broke Wayland's weston on some graphics cards

2012-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53361 Chris Wilson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|