Re: [Mesa-dev] Mesa (master): st/xorg: fix build without LLVM

2011-10-16 Thread Marcin Slusarz
On Fri, Oct 14, 2011 at 08:22:35AM +0200, Michel Dänzer wrote: > On Don, 2011-10-13 at 15:11 -0500, Patrick Baggett wrote: > > Well, trivial answer is that Win32 uses some C/C++ runtime provided by > > Microsoft, usually something like MSVCR90.DLL (v9.0) etc. Solaris uses > > libC.so, for example.

[Mesa-dev] [PATCH] gallium/targets: use c++ compiler for linking

2011-10-16 Thread Marcin Slusarz
On Sun, Oct 16, 2011 at 02:03:16PM +0200, Marcin Slusarz wrote: > On Fri, Oct 14, 2011 at 08:22:35AM +0200, Michel Dänzer wrote: > > On Don, 2011-10-13 at 15:11 -0500, Patrick Baggett wrote: > > > Well, trivial answer is that Win32 uses some C/C++ runtime provided by > > > Microsoft, usually someth

[Mesa-dev] [Bug 41787] [llvmpipe] stencil broken

2011-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41787 --- Comment #8 from José Fonseca 2011-10-16 07:13:18 PDT --- I did find my old patch but it fixed nothing. I'd really like to fix this, but there seems to be something very broken with depth in llvmpipe, that goes beyond the precision lost due

[Mesa-dev] [Bug 41787] [llvmpipe] stencil broken

2011-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41787 --- Comment #9 from José Fonseca 2011-10-16 07:14:23 PDT --- Oh, and I'm not sure if this is depth fighting, or culling. Because the edges of the shadows are visible and apparently correct. -- Configure bugmail: https://bugs.freedesktop.org/us

Re: [Mesa-dev] [PATCH] gallium/targets: use c++ compiler for linking

2011-10-16 Thread Michel Dänzer
On Son, 2011-10-16 at 14:54 +0200, Marcin Slusarz wrote: > On Sun, Oct 16, 2011 at 02:03:16PM +0200, Marcin Slusarz wrote: > > On Fri, Oct 14, 2011 at 08:22:35AM +0200, Michel Dänzer wrote: > > > On Don, 2011-10-13 at 15:11 -0500, Patrick Baggett wrote: > > > > Well, trivial answer is that Win32 u

Re: [Mesa-dev] [PATCH] gallium/targets: use c++ compiler for linking

2011-10-16 Thread Marcin Slusarz
On Sun, Oct 16, 2011 at 04:15:14PM +0200, Michel Dänzer wrote: > On Son, 2011-10-16 at 14:54 +0200, Marcin Slusarz wrote: > > On Sun, Oct 16, 2011 at 02:03:16PM +0200, Marcin Slusarz wrote: > > > On Fri, Oct 14, 2011 at 08:22:35AM +0200, Michel Dänzer wrote: > > > > On Don, 2011-10-13 at 15:11 -05

[Mesa-dev] UBO support patches update

2011-10-16 Thread vlj
Hi, I updated coding style thank to Bryan Paul comments. Besides there are additional work on the API implementation (although it is still uncomplete) ; the parser should now handles default UBO layout (even if currently layout is ignored, std140 is the only layout implemented). UBO information

[Mesa-dev] [PATCH 1/9] glapi: Add Uniform Buffer Object API

2011-10-16 Thread vlj
--- src/mapi/glapi/gen/ARB_Uniform_Buffer_Object.xml | 115 ++ src/mapi/glapi/gen/Makefile |1 + src/mapi/glapi/gen/gl_API.xml|2 +- 3 files changed, 117 insertions(+), 1 deletions(-) create mode 100644 src/mapi/glapi/gen/ARB_U

[Mesa-dev] [PATCH 3/9] mesa : advertise GL_ARB_Uniform_Buffer_Object extension

2011-10-16 Thread vlj
--- src/glsl/glsl_lexer.ll |3 ++- src/glsl/glsl_parser_extras.cpp |1 + src/glsl/glsl_parser_extras.h |2 ++ 3 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/glsl/glsl_lexer.ll b/src/glsl/glsl_lexer.ll index cfd8926..a091f62 100644 --- a/src/glsl/glsl_lexe

[Mesa-dev] [PATCH 4/9] mesa: initial data structures for Uniform Buffer Objects

2011-10-16 Thread vlj
--- src/mesa/main/config.h |5 src/mesa/main/mtypes.h | 51 +++ src/mesa/main/shaderobj.c | 10 +++ src/mesa/program/prog_uniform.h |1 + 4 files changed, 67 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/c

[Mesa-dev] [PATCH 5/9] glsl: change IR to add UBO information

2011-10-16 Thread vlj
--- src/glsl/ir.cpp|1 + src/glsl/ir.h |7 +++ src/glsl/ir_clone.cpp |1 + src/glsl/opt_dead_code.cpp |6 ++ 4 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 41ed4f1..8638bb6 100644 --- a/s

[Mesa-dev] [PATCH 6/9] glsl: parser now aware of UBO

2011-10-16 Thread vlj
--- src/glsl/ast.h | 23 ++ src/glsl/ast_to_hir.cpp | 64 - src/glsl/glsl_parser.yy | 157 ++- src/glsl/glsl_parser_extras.cpp |5 + src/glsl/glsl_parser_extras.h |7 ++ src/mesa/program/ir_to_m

[Mesa-dev] [PATCH 7/9] glsl : Linker support for UBO

2011-10-16 Thread vlj
v2 : - Fix format issue thank to Brian Paul comments. - UBOs are now sent to program correctly. --- src/glsl/linker.cpp | 192 ++- 1 files changed, 191 insertions(+), 1 deletions(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp in

[Mesa-dev] [PATCH 8/9] mesa: add Uniform Buffer Object API implementation

2011-10-16 Thread vlj
--- src/mesa/main/bufferobj.c |2 + src/mesa/main/uniforms.c | 187 + src/mesa/main/uniforms.h | 15 3 files changed, 204 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index c453f9c..cddb0

[Mesa-dev] [PATCH 9/9] gallium : st_glsl_to_tgsi handles UBO

2011-10-16 Thread vlj
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 3fbb0cd..63975a4 100644 --- a/src/mesa/state_tracker/st_glsl_

[Mesa-dev] [PATCH] mesa: generate error if pbo offset is not aligned with the size of specified type

2011-10-16 Thread Yuanhan Liu
v2: quote the spec; explicitly exclude the GL_BITMAP case to make code more readable. (comments from Ian) v3: Cast the offset by GLintptr to remove the compile warning(comments from Brian). I also found that I should use _mesa_sizeof_packed_type() instead, as it includes packed pi

Re: [Mesa-dev] [PATCH] i965: setup address rounding enable bits

2011-10-16 Thread Yuanhan Liu
On Sat, Oct 15, 2011 at 08:59:52AM +0800, Liu Aleaxander wrote: > On Sat, Oct 15, 2011 at 2:11 AM, Eric Anholt wrote: > > On Thu, 13 Oct 2011 11:34:34 +0800, Yuanhan Liu > > wrote: > >> The patch(based on the reading of the emulator) came from while I was > >> trying to fix the oglc pbo texImage

[Mesa-dev] [Bug 18209] Error checking - bindTexPixmap + TEXTURE_2D + no npot textures

2011-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=18209 Jeremy Huddleston changed: What|Removed |Added AssignedTo|xorg-t...@lists.x.org |mesa-dev@lists.freedesktop.