[Mesa-dev] [PATCH 1/4] glx: remove the unused var

2011-11-29 Thread Yuanhan Liu
Silence the compile warning Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- src/glx/drisw_glx.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index a150c61..7ba491b 100644 --- a/src/glx/drisw_glx.c +++

[Mesa-dev] [PATCH 3/4] i965: let if_stack just store the instruction index

2011-11-29 Thread Yuanhan Liu
Let if_stack just store the instruction pointer(an index). This is somehow more flexible than store the instruction memory address. This patch is mainly for the next patch. Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- src/mesa/drivers/dri/i965/brw_eu.c |3 +--

[Mesa-dev] [PATCH 4/4] i965: increase the brw eu instruction store size dynamically

2011-11-29 Thread Yuanhan Liu
Increase the brw eu instruction store size dynamically instead of just allocating it statically with a constant limit. This would fix something that 'GL_MAX_PROGRAM_INSTRUCTIONS_ARB was 16384 while the driver would limit it to 1'. Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com ---

[Mesa-dev] Latest Git broken? error: 'struct gl_array_object' has no member named 'PointSize'

2011-11-29 Thread Theiss, Ingo
Dear devs, is it possible that the current git is broken? After my daily git pull I am no longer able to build mesa. Here is the error which breaks my build: --- gcc -c -o main/ffvertex_prog.o main/ffvertex_prog.c -DFEATURE_GL=1 -DFEATURE_ES1=1 -DFEATURE_ES2=1 -D_GNU_SOURCE -DPTHREADS

Re: [Mesa-dev] Latest Git broken? error: 'struct gl_array_object' has no member named 'PointSize'

2011-11-29 Thread Chia-I Wu
On Tue, Nov 29, 2011 at 5:14 PM, Theiss, Ingo ingo.the...@i-matrixx.de wrote: Dear devs, is it possible that the current git is broken? After my daily git pull I am no longer able to build mesa. Here is the error which breaks my build: It should be fixed now. --- gcc -c -o

Re: [Mesa-dev] Latest Git broken? error: 'struct gl_array_object' has no member named 'PointSize'

2011-11-29 Thread Theiss, Ingo
Am Dienstag, 29. November 2011 10:27 CET, Chia-I Wu olva...@gmail.com schrieb: On Tue, Nov 29, 2011 at 5:14 PM, Theiss, Ingo ingo.the...@i-matrixx.de wrote: Dear devs, is it possible that the current git is broken? After my daily git pull I am no longer able to build mesa. Here

[Mesa-dev] [PATCH 0/1] Delete i965g

2011-11-29 Thread Kai Wasserbäch
Dear mesa-dev list, I prepared a patch, that should delete the i965g driver. I hope I didn't miss something. It would be _very_ good if someone with more Mesa/Gallium3D experience could have a look at this. Please note, that I don't have commit access to Mesa's Git repository. In case you accept

Re: [Mesa-dev] [PATCH 0/1] Delete i965g

2011-11-29 Thread Kai Wasserbäch
Dear mesa-dev list, Kai Wasserbäch schrieb am 29.11.2011 15:17: Kai Wasserbäch (1): i965g: Delete this driver, it is broken. the patch itself is held in moderation because it exceeds 128 KB, didn't know there was a limit. I've uploaded the mbox file to [0] for immediate review and hope

[Mesa-dev] [PATCH] mesa: fix MESA_FORMAT_RG88 format match test

2011-11-29 Thread Brian Paul
--- src/mesa/main/formats.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index d3b12d0..9374f00 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -2596,7 +2596,7 @@

Re: [Mesa-dev] [PATCH] mesa: add STATIC_ASSERT() macro for compile-time assertions

2011-11-29 Thread Jose Fonseca
Brian, The whole series looks a nice cleanup to me. I haven't tried to compile this on MSVC, but it looks ordinary C, so it should be alright. Jose - Original Message - This can be used to check that tables have the right number of entries, etc. at compile-time. This will

Re: [Mesa-dev] [PATCH 0/1] Delete i965g

2011-11-29 Thread Jose Fonseca
The bulk is there but there are a few places missing. I'll update those, do some sanity checks and commit. Jose - Original Message - Dear mesa-dev list, Kai Wasserbäch schrieb am 29.11.2011 15:17: Kai Wasserbäch (1): i965g: Delete this driver, it is broken. the patch itself

[Mesa-dev] [PATCH 1/2] gallium/auxiliary: Remove os_stream.

2011-11-29 Thread jfonseca
From: José Fonseca jose.r.fons...@gmail.com XP kernel mode was the only subsystem lacking stdio FILES. --- src/gallium/auxiliary/Makefile.sources |5 - src/gallium/auxiliary/os/os_stream.c| 58 - src/gallium/auxiliary/os/os_stream.h| 145

[Mesa-dev] [PATCH 2/2] Remove windows kernel support code.

2011-11-29 Thread jfonseca
From: José Fonseca jose.r.fons...@gmail.com Not actively used. --- common.py |2 +- scons/gallium.py| 128 + src/gallium/auxiliary/os/os_memory.h|4 -

[Mesa-dev] [PATCH 1/2] docs: Added item to release notes for 7.12.

2011-11-29 Thread Kai Wasserbäch
Signed-off-by: Kai Wasserbäch k...@dev.carbon-project.org --- docs/relnotes-7.12.html |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/relnotes-7.12.html b/docs/relnotes-7.12.html index 74279a0..0d22113 100644 --- a/docs/relnotes-7.12.html +++

[Mesa-dev] [PATCH 0/2] i965g removal: docs update

2011-11-29 Thread Kai Wasserbäch
Dear Jose, I just noticed, that I forgot to commit/send the following two updates to the docs together with the removal patch. Kind regards, Kai Wasserbäch Kai Wasserbäch (2): docs: Added item to release notes for 7.12. docs: Removed i965 entry in the source tree listing.

[Mesa-dev] [PATCH 2/2] docs: Removed i965 entry in the source tree listing.

2011-11-29 Thread Kai Wasserbäch
Signed-off-by: Kai Wasserbäch k...@dev.carbon-project.org --- docs/sourcetree.html |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/docs/sourcetree.html b/docs/sourcetree.html index 713e25b..3f100df 100644 --- a/docs/sourcetree.html +++ b/docs/sourcetree.html @@ -88,7

Re: [Mesa-dev] [PATCH 0/1] Delete i965g

2011-11-29 Thread Jerome Glisse
On Tue, Nov 29, 2011 at 10:12 AM, Jose Fonseca jfons...@vmware.com wrote: The bulk is there but there are a few places missing. I'll update those, do some sanity checks and commit. Jose Is there a good reason to delete i965g ? Maybe some people are interested in it. Cheers, Jerome

Re: [Mesa-dev] [PATCH 0/1] Delete i965g

2011-11-29 Thread Jose Fonseca
- Original Message - On Tue, Nov 29, 2011 at 10:12 AM, Jose Fonseca jfons...@vmware.com wrote: The bulk is there but there are a few places missing. I'll update those, do some sanity checks and commit. Jose Is there a good reason to delete i965g ? Hi Jerome, Yes. Please

Re: [Mesa-dev] [PATCH 1/2] gallium/auxiliary: Remove os_stream.

2011-11-29 Thread Brian Paul
On 11/29/2011 09:04 AM, jfons...@vmware.com wrote: From: José Fonsecajose.r.fons...@gmail.com XP kernel mode was the only subsystem lacking stdio FILES. --- src/gallium/auxiliary/Makefile.sources |5 - src/gallium/auxiliary/os/os_stream.c| 58 -

[Mesa-dev] [PATCH 0/1] Delete the cell driver

2011-11-29 Thread Kai Wasserbäch
Dear mesa-dev list, the recent discussion about enabling GLSL unconditionally ([0]) lead to the assessment, that certain Gallium3D drivers lacked developers (and users) but complicated the development of the actively maintained Gallium3D drivers. The cell driver was named as one such driver. The

Re: [Mesa-dev] [PATCH 0/1] Delete the cell driver

2011-11-29 Thread Jose Fonseca
Thanks. This one was was almost perfect -- it was just missing to remove src/gallium/auxiliary/rtasm/rtasm_ppc_spe.[ch] which was only used by cell. I'll push later if there are no objections. Jose - Original Message - Dear mesa-dev list, the recent discussion about enabling GLSL

[Mesa-dev] [Bug 43343] New: [r600g] piglit: fbo-mipmap-copypix fails

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43343 Bug #: 43343 Summary: [r600g] piglit: fbo-mipmap-copypix fails Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

[Mesa-dev] [Bug 43344] New: [r600g] piglit: fbo-sys-blit fails

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43344 Bug #: 43344 Summary: [r600g] piglit: fbo-sys-blit fails Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

[Mesa-dev] [Bug 43344] [r600g] piglit: fbo-sys-blit fails

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43344 --- Comment #1 from Kai k...@dev.carbon-project.org 2011-11-29 10:20:50 PST --- I was just about to file an extra bug for the fby-sys-sub-blit regression, but it sounds, judging from the name, like it might be related to this bug. -- Configure

[Mesa-dev] [Bug 43345] New: [r600g] piglit: quad-invariance fails

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43345 Bug #: 43345 Summary: [r600g] piglit: quad-invariance fails Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

[Mesa-dev] [Bug 43346] New: [r600g] piglit: varray-disabled

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43346 Bug #: 43346 Summary: [r600g] piglit: varray-disabled Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status:

[Mesa-dev] [Bug 43347] New: [r600g] piglit: glx-make-glxdrawable-current fails

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43347 Bug #: 43347 Summary: [r600g] piglit: glx-make-glxdrawable-current fails Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

[Mesa-dev] [Bug 43348] New: [r600g] piglit: spec/ARB_seamless_cube_map/arb_seamless_cube_map fails

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43348 Bug #: 43348 Summary: [r600g] piglit: spec/ARB_seamless_cube_map/arb_seamless_cube_map fails Classification: Unclassified Product: Mesa Version: git Platform: x86-64

[Mesa-dev] [Bug 43317] swrast: glean basic sanity fails

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43317 --- Comment #1 from Brian Paul bri...@vmware.com 2011-11-29 10:29:57 PST --- Works for me. Can you attach the output of glxinfo? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail

Re: [Mesa-dev] [PATCH 3/4] i965: let if_stack just store the instruction index

2011-11-29 Thread Eric Anholt
On Tue, 29 Nov 2011 16:08:38 +0800, Yuanhan Liu yuanhan@linux.intel.com wrote: Let if_stack just store the instruction pointer(an index). This is somehow more flexible than store the instruction memory address. I'd be more specific: This lets us realloc the instruction store. diff --git

Re: [Mesa-dev] [PATCH 4/4] i965: increase the brw eu instruction store size dynamically

2011-11-29 Thread Eric Anholt
On Tue, 29 Nov 2011 16:08:39 +0800, Yuanhan Liu yuanhan@linux.intel.com wrote: Increase the brw eu instruction store size dynamically instead of just allocating it statically with a constant limit. This would fix something that 'GL_MAX_PROGRAM_INSTRUCTIONS_ARB was 16384 while the driver

Re: [Mesa-dev] [PATCH 0/1] Delete the cell driver

2011-11-29 Thread Kai Wasserbäch
Dear Jose, Jose Fonseca schrieb am 29.11.2011 18:55: Thanks. This one was was almost perfect -- it was just missing to remove src/gallium/auxiliary/rtasm/rtasm_ppc_spe.[ch] which was only used by cell. I've updated the patch at [0] to include the above two files (and also remove it from the

Re: [Mesa-dev] [PATCH] mesa: fix MESA_FORMAT_RG88 format match test

2011-11-29 Thread Eric Anholt
On Tue, 29 Nov 2011 07:26:52 -0700, Brian Paul bri...@vmware.com wrote: --- src/mesa/main/formats.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index d3b12d0..9374f00 100644 --- a/src/mesa/main/formats.c +++

[Mesa-dev] [Bug 43138] [glsl] fail to get the active attribute with function glGetProgramiv

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43138 Ian Romanick i...@freedesktop.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

Re: [Mesa-dev] GL 3.0 glDrawPixels(integer format)

2011-11-29 Thread Ian Romanick
On 11/27/2011 06:08 PM, Eric Anholt wrote: While looking into MapRenderbuffer for glDrawPixels, I ended up looking at integer again. It looks like GL 3.0 has added sanity to drawpixels for integer, which is to say that they've disallowed it. I don't think there was any way to usefully use

Re: [Mesa-dev] [PATCH] mesa: Reject glDrawPixels(integer format) on GL 3.0 or greater.

2011-11-29 Thread Ian Romanick
On 11/27/2011 06:08 PM, Eric Anholt wrote: When folding GL_EXT_texture_integer into the core, a new (and very sensible) restriction was added. --- src/mesa/main/drawpix.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/drawpix.c

[Mesa-dev] [PATCH 0/1] gallium/failover: deprecated, dead and now gone(?)

2011-11-29 Thread Kai Wasserbäch
Dear mesa-dev list, [0] mentioned a third module/driver for deletion. The following patch will do exactly that: remove all traces of the failover driver. As before I tried to hit everything but would really appreiciate if somebody with more in-depth knowledge of Mesa's codebase to look over the

[Mesa-dev] [Bug 43317] swrast: glean basic sanity fails

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43317 --- Comment #2 from Nicholas Miell nmi...@gmail.com 2011-11-29 14:03:53 PST --- Created attachment 53961 -- https://bugs.freedesktop.org/attachment.cgi?id=53961 glxinfo with Mesa ccd4d4367f2b4e5aebfc59b832599812a4a1c7d8 -- Configure bugmail:

[Mesa-dev] [Bug 43353] New: [swrast] piglit bgra-vert-attrib-pointer

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43353 Bug #: 43353 Summary: [swrast] piglit bgra-vert-attrib-pointer Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

[Mesa-dev] [Bug 43353] [swrast] piglit bgra-vert-attrib-pointer

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43353 --- Comment #1 from Vinson Lee v...@vmware.com 2011-11-29 15:29:35 PST --- Created attachment 53962 -- https://bugs.freedesktop.org/attachment.cgi?id=53962 bgra-vert-attrib-pointer.png -- Configure bugmail:

[Mesa-dev] [Bug 43353] [swrast] piglit bgra-vert-attrib-pointer regression

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43353 Vinson Lee v...@vmware.com changed: What|Removed |Added Platform|Other |x86 (IA32)

[Mesa-dev] [Bug 43353] [swrast] piglit bgra-vert-attrib-pointer regression

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43353 --- Comment #3 from Vinson Lee v...@vmware.com 2011-11-29 15:50:16 PST --- There are only 'skip'ped commits left to test. The first bad commit could be any of: 762c9766c93697af8d7fbaa729aed118789dbe8e 76ba431b97087e2d5ca0351e0d613f0812fd1425 We

[Mesa-dev] [Bug 43355] New: state_tracker/st_mesa_to_tgsi.c:296:translate_texture_target: Assertion `0' failed.

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43355 Bug #: 43355 Summary: state_tracker/st_mesa_to_tgsi.c:296:translate_texture_ target: Assertion `0' failed. Classification: Unclassified Product: Mesa Version: git

[Mesa-dev] [Bug 43138] [glsl] fail to get the active attribute with function glGetProgramiv

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43138 sunyi yi@intel.com changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #8 from

Re: [Mesa-dev] [PATCH 3/4] i965: let if_stack just store the instruction index

2011-11-29 Thread Yuanhan Liu
On Tue, Nov 29, 2011 at 10:35:42AM -0800, Eric Anholt wrote: On Tue, 29 Nov 2011 16:08:38 +0800, Yuanhan Liu yuanhan@linux.intel.com wrote: Let if_stack just store the instruction pointer(an index). This is somehow more flexible than store the instruction memory address. I'd be more

[Mesa-dev] [PATCH 1/7] glapi: add GL_OES_compressed_ETC1_RGB8_texture for GLES

2011-11-29 Thread Chia-I Wu
From: Chia-I Wu o...@lunarg.com --- src/mapi/glapi/gen/es_EXT.xml |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index bc98aee..c7e7d07 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++

[Mesa-dev] [PATCH 4/7] mesa: add support for GL_OES_compressed_ETC1_RGB8_texture

2011-11-29 Thread Chia-I Wu
From: Chia-I Wu o...@lunarg.com Add support for GL_OES_compressed_ETC1_RGB8_texture to core mesa. There is no driver support yet. Unlike desktop GL compressed texture formats, GLES compressed texture formats usually can only be used with glCompressedTexImage2D. All other gl*Tex*Image*

[Mesa-dev] [PATCH 5/7] gallium: add PIPE_FORMAT_ETC1_RGB8

2011-11-29 Thread Chia-I Wu
From: Chia-I Wu o...@lunarg.com The format is defined by GL_OES_compressed_ETC1_RGB8_texture. --- src/gallium/auxiliary/Makefile.sources |1 + src/gallium/auxiliary/util/u_format.csv |3 + src/gallium/auxiliary/util/u_format.h|7 ++-

[Mesa-dev] [PATCH 6/7] st/mesa: add support for GL_OES_compressed_ETC1_RGB8_texture

2011-11-29 Thread Chia-I Wu
From: Chia-I Wu o...@lunarg.com Have st/mesa recognize MESA_FORMAT_ETC1_RGB8 then we are good to advertise the extension. --- src/mesa/state_tracker/st_extensions.c |8 src/mesa/state_tracker/st_format.c | 12 2 files changed, 20 insertions(+), 0 deletions(-)

[Mesa-dev] [PATCH 7/7] docs: list GL_OES_compressed_ETC1_RGB8_texture in 7.12 release notes

2011-11-29 Thread Chia-I Wu
From: Chia-I Wu o...@lunarg.com --- docs/relnotes-7.12.html |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/docs/relnotes-7.12.html b/docs/relnotes-7.12.html index 393b112..378df96 100644 --- a/docs/relnotes-7.12.html +++ b/docs/relnotes-7.12.html @@ -46,6 +46,7 @@ tbd

Re: [Mesa-dev] [PATCH 4/4] i965: increase the brw eu instruction store size dynamically

2011-11-29 Thread Yuanhan Liu
On Tue, Nov 29, 2011 at 10:40:46AM -0800, Eric Anholt wrote: On Tue, 29 Nov 2011 16:08:39 +0800, Yuanhan Liu yuanhan@linux.intel.com wrote: Increase the brw eu instruction store size dynamically instead of just allocating it statically with a constant limit. This would fix something

[Mesa-dev] [Bug 41999] eglGetProcAddress(glMapBufferOES) doesn't work if the app links against both -lGL and -lGLESv2

2011-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41999 --- Comment #3 from Chia-I Wu olva...@gmail.com 2011-11-29 22:32:44 PST --- Does it help to configure mesa with --enable-shared-glapi and rebuild? The option is mandatory for GL and GLES interoperation. -- Configure bugmail:

Re: [Mesa-dev] [PATCH] mesa: distinct gl_client_array arrays are gone

2011-11-29 Thread Mathias Fröhlich
Hi, Apologies for braking this! Thanks, looks great. Mathias On Tuesday, November 29, 2011 08:22:58 Chia-I Wu wrote: From: Chia-I Wu o...@lunarg.com Fix build errors since 762c9766c93697af8d7fbaa729aed118789dbe8e. --- src/mesa/main/ffvertex_prog.c |2 +- src/mesa/main/get.c

Re: [Mesa-dev] [PATCH] mesa: distinct gl_client_array arrays are gone

2011-11-29 Thread Jose Fonseca
It looks like there is a regression, https://bugs.freedesktop.org/show_bug.cgi?id=43353 . Can you investigate this? Jose - Original Message - Hi, Apologies for braking this! Thanks, looks great. Mathias On Tuesday, November 29, 2011 08:22:58 Chia-I Wu wrote: From: Chia-I