[Mesa-dev] [PATCH] nouveau/video: avoid overwriting base codec init with template

2013-08-23 Thread Ilia Mirkin
Commit 53e20b8b introduced the use of a template to initialize some common fields. Move this copying of fields to before the common vp3 fields are initialized. Reported-by: Martin Peres Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nv50/nv98_video.c | 2 +- src/gallium/drivers/nvc0/nvc0_vi

[Mesa-dev] [PATCH] r600g/llvm: don't export more colors than the number of CBs

2013-08-23 Thread Vadim Girlin
Currently llvm backend always exports at least one color in pixel shader even if no color buffers are enabled. With depth/stencil exports this can result in the following code: EXPORT PIXEL 0 R0.xyzw VPM EXPORT PIXEL 61R1.x___ VPM EXPORT_DONEPIXEL 61R0

[Mesa-dev] [Bug 68493] piglit ARB_uniform_buffer_object compiler layout-column_major-non-uniform regression

2013-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68493 Matt Turner changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 68493] New: piglit ARB_uniform_buffer_object compiler layout-column_major-non-uniform regression

2013-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68493 Priority: medium Bug ID: 68493 Keywords: regression CC: i...@freedesktop.org Assignee: mesa-dev@lists.freedesktop.org Summary: piglit ARB_uniform_buffer_object compiler

[Mesa-dev] [Bug 50482] git mesa fails to build

2013-08-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50482 Henry changed: What|Removed |Added OS|All |Solaris -- You are receiving this mail because:

Re: [Mesa-dev] [PATCH 10/15] i965: Allow immediates to be folded into logical and shift instructions.

2013-08-23 Thread Matt Turner
On Fri, Aug 23, 2013 at 9:02 AM, Paul Berry wrote: > Shouldn't we make a similar change to brw_vec4_copy_propagation.cpp? Yes, thanks. I've folded this change into the patch: --- a/src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.

Re: [Mesa-dev] [PATCH 08/15] glsl: Add heuristics to print floating-point numbers better.

2013-08-23 Thread Matt Turner
On Fri, Aug 23, 2013 at 8:57 AM, Paul Berry wrote: > On 22 August 2013 16:08, Matt Turner wrote: > Unfortunately, this patch breaks "make check", because > src/glsl/tests/optimization-test does a strict character-by-character diff > between the expected and actual output of optimization passes (I

Re: [Mesa-dev] [PATCH 03/15] i965/fs: Add support for translating ir_triop_fma into MAD.

2013-08-23 Thread Matt Turner
On Fri, Aug 23, 2013 at 8:27 AM, Paul Berry wrote: > On 22 August 2013 16:08, Matt Turner wrote: >> >> --- >> src/mesa/drivers/dri/i965/brw_fs.cpp | 1 + >> src/mesa/drivers/dri/i965/brw_fs.h | 1 + >> src/mesa/drivers/dri/i965/brw_fs_channel_expressions

Re: [Mesa-dev] [PATCH 1/2] glsl: Bump standalone compiler versions to 3.30.

2013-08-23 Thread Matt Turner
On Fri, Aug 23, 2013 at 4:57 PM, Kenneth Graunke wrote: > These are necessary in order to compile the built-in functions. > > Signed-off-by: Kenneth Graunke > --- Both are Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.o

Re: [Mesa-dev] [PATCH 1/6] st/clover: Profiling support

2013-08-23 Thread Tom Stellard
On Fri, Aug 09, 2013 at 11:59:25AM +0200, Niels Ole Salscheider wrote: I've pushed the radeonsi patches, I think Francisco is still trying to review the clover patches. -Tom > Signed-off-by: Niels Ole Salscheider > --- > src/gallium/state_trackers/clover/api/event.cpp | 26 - > src/galli

Re: [Mesa-dev] [PATCH] glsl: add default switch case to silence uninitialized variable warning

2013-08-23 Thread Chad Versace
On 08/23/2013 02:05 PM, Paul Berry wrote: On 23 August 2013 13:55, Brian Paul wrote: On 08/23/2013 02:39 PM, Matt Turner wrote: On Fri, Aug 23, 2013 at 1:24 PM, Brian Paul wrote: In that case, let's fix it by initializing limit to 0 at its declaration. That way we will get a (helpful) co

Re: [Mesa-dev] [PATCH] i965: Don't try to fall back when creating unrecognized program targets.

2013-08-23 Thread Chad Versace
On 08/23/2013 11:50 AM, Paul Berry wrote: If brwNewProgram is asked to create a program for an unrecognized target, don't bother falling back on _mesa_new_program(). That just hides bugs. --- src/mesa/drivers/dri/i965/brw_program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Me

Re: [Mesa-dev] [RFC PATCH] i965: Allow C++ type safety in the use of enum brw_urb_write_flags.

2013-08-23 Thread Chad Versace
On 08/23/2013 02:18 PM, Paul Berry wrote: The disadvantages are that (a) we need an explicit enum value for 0, and (b) we can't use related operators like |= unless we define additional overloads. Disadvantage (a) is trivial, not really a problem. Disadvantage (b) can be made painless with th

[Mesa-dev] [PATCH 2/2] glsl: Add built-in function prototypes for GLSL 3.30

2013-08-23 Thread Kenneth Graunke
330.frag is a direct copy of 150.frag. 330.glsl is 150.glsl combined with ARB_shader_bit_encoding.glsl. Signed-off-by: Kenneth Graunke --- src/glsl/builtins/profiles/330.frag | 140 + src/glsl/builtins/profiles/330.glsl | 1029 +++ 2 files changed, 1169 inser

[Mesa-dev] [PATCH 1/2] glsl: Bump standalone compiler versions to 3.30.

2013-08-23 Thread Kenneth Graunke
These are necessary in order to compile the built-in functions. Signed-off-by: Kenneth Graunke --- src/glsl/builtins/tools/generate_builtins.py | 4 ++-- src/glsl/main.cpp| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/glsl/builtins/tools/ge

Re: [Mesa-dev] [PATCH] i965: Don't try to fall back when creating unrecognized program targets.

2013-08-23 Thread Kenneth Graunke
On 08/23/2013 11:50 AM, Paul Berry wrote: If brwNewProgram is asked to create a program for an unrecognized target, don't bother falling back on _mesa_new_program(). That just hides bugs. --- src/mesa/drivers/dri/i965/brw_program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [Mesa-dev] [RFC PATCH] i965: Allow C++ type safety in the use of enum brw_urb_write_flags.

2013-08-23 Thread Mark Mueller
This is a nice improvement over the explicit cast, which is how I've always done it in the past - which is the ugly part of an otherwise great method for flags. Also I use & a lot with enum for clearing bits. On Fri, Aug 23, 2013 at 3:18 PM, Paul Berry wrote: > (From a suggestion by Francisco J

Re: [Mesa-dev] --libdir config option not working?

2013-08-23 Thread Brian Paul
On 08/23/2013 02:35 PM, Matt Turner wrote: On Fri, Aug 23, 2013 at 1:20 PM, Brian Paul wrote: I don't normally do a 'make install' when I'm working, but I'm trying to do that now on a 64-bit fedora 19 system. I want libGL.so*, etc to go into /usr/lib64/ so I configured like this: ./configure

[Mesa-dev] [RFC PATCH] i965: Allow C++ type safety in the use of enum brw_urb_write_flags.

2013-08-23 Thread Paul Berry
(From a suggestion by Francisco Jerez) If an enum represents a bitfield of flags, e.g.: enum E { A = 1, B = 2, C = 4, D = 8, }; then C++ normally prohibits statements like this: enum E x = A | B; because A and B are implicitly converted to ints before OR-ing them, and an int can't be s

Re: [Mesa-dev] [PATCH] glsl: init limit=0 to silence uninitialized var warning

2013-08-23 Thread Paul Berry
On 23 August 2013 14:12, Brian Paul wrote: > --- > src/glsl/ast_to_hir.cpp |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp > index feff586..0db6b45 100644 > --- a/src/glsl/ast_to_hir.cpp > +++ b/src/glsl/ast_to_hir.cpp

[Mesa-dev] [PATCH] glsl: init limit=0 to silence uninitialized var warning

2013-08-23 Thread Brian Paul
--- src/glsl/ast_to_hir.cpp |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index feff586..0db6b45 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -1922,7 +1922,7 @@ validate_binding_qualifier(struct _me

[Mesa-dev] [PATCH 3/3] draw: clean up setting stream out information a bit

2013-08-23 Thread sroland
From: Roland Scheidegger In particular noone is interested in the vertex count, so drop that, and also drop the duplicated num_primitives_generated / so.primitives_storage_needed variables in drivers. I am unable for now to figure out if primitives_storage_needed in SO stats (used for d3d10) shou

[Mesa-dev] [PATCH 2/3] llvmpipe: support nested/overlapping queries for all query types

2013-08-23 Thread sroland
From: Roland Scheidegger There's just no way resetting the counters is working with nested/overlapping queries. --- src/gallium/drivers/llvmpipe/lp_query.c | 35 ++ src/gallium/drivers/llvmpipe/lp_query.h |1 - src/gallium/drivers/llvmpipe/lp_setup_vbuf.c

[Mesa-dev] [PATCH 1/3] softpipe: support nested/overlapping queries for all query types

2013-08-23 Thread sroland
From: Roland Scheidegger There's just no way resetting the counters is working with nested/overlapping queries. --- src/gallium/drivers/softpipe/sp_prim_vbuf.c |2 +- src/gallium/drivers/softpipe/sp_query.c | 33 +-- 2 files changed, 17 insertions(+), 18 deletio

Re: [Mesa-dev] [PATCH] glsl: add default switch case to silence uninitialized variable warning

2013-08-23 Thread Paul Berry
On 23 August 2013 13:55, Brian Paul wrote: > On 08/23/2013 02:39 PM, Matt Turner wrote: > >> On Fri, Aug 23, 2013 at 1:24 PM, Brian Paul wrote: >> >>> --- >>> src/glsl/ast_to_hir.cpp |3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to

Re: [Mesa-dev] [PATCH 05/15] glsl: Add new {fr, ld}exp built-ins IR and prototypes.

2013-08-23 Thread Paul Berry
On 23 August 2013 13:19, Matt Turner wrote: > On Fri, Aug 23, 2013 at 8:55 AM, Paul Berry > wrote: > > On 22 August 2013 16:08, Matt Turner wrote: > >> > >> --- > >> src/glsl/builtins/ir/frexp.ir | 25 > >> + > >> src/glsl/builtins/ir/ldexp.ir

Re: [Mesa-dev] [PATCH] glsl: add default switch case to silence uninitialized variable warning

2013-08-23 Thread Brian Paul
On 08/23/2013 02:39 PM, Matt Turner wrote: On Fri, Aug 23, 2013 at 1:24 PM, Brian Paul wrote: --- src/glsl/ast_to_hir.cpp |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index feff586..24efec6 100644 --- a/src/glsl/ast_to_hir.cpp ++

Re: [Mesa-dev] [PATCH] glsl: add default switch case to silence uninitialized variable warning

2013-08-23 Thread Matt Turner
On Fri, Aug 23, 2013 at 1:24 PM, Brian Paul wrote: > --- > src/glsl/ast_to_hir.cpp |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp > index feff586..24efec6 100644 > --- a/src/glsl/ast_to_hir.cpp > +++ b/src/glsl/ast_to_hir.cpp > @@

Re: [Mesa-dev] --libdir config option not working?

2013-08-23 Thread Matt Turner
On Fri, Aug 23, 2013 at 1:20 PM, Brian Paul wrote: > > I don't normally do a 'make install' when I'm working, but I'm trying to do > that now on a 64-bit fedora 19 system. > > I want libGL.so*, etc to go into /usr/lib64/ so I configured like this: > > ./configure --prefix=/usr --libdir=/usr/lib64

[Mesa-dev] [PATCH] glsl: add default switch case to silence uninitialized variable warning

2013-08-23 Thread Brian Paul
--- src/glsl/ast_to_hir.cpp |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index feff586..24efec6 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -1933,6 +1933,9 @@ validate_binding_qualifier(struct _mesa_glsl_parse

[Mesa-dev] --libdir config option not working?

2013-08-23 Thread Brian Paul
I don't normally do a 'make install' when I'm working, but I'm trying to do that now on a 64-bit fedora 19 system. I want libGL.so*, etc to go into /usr/lib64/ so I configured like this: ./configure --prefix=/usr --libdir=/usr/lib64 --with-gallium-drivers=svga --with-dri-drivers=swrast --ena

Re: [Mesa-dev] [PATCH 05/15] glsl: Add new {fr, ld}exp built-ins IR and prototypes.

2013-08-23 Thread Matt Turner
On Fri, Aug 23, 2013 at 8:55 AM, Paul Berry wrote: > On 22 August 2013 16:08, Matt Turner wrote: >> >> --- >> src/glsl/builtins/ir/frexp.ir | 25 >> + >> src/glsl/builtins/ir/ldexp.ir | 25 >> + >> src/glsl/built

Re: [Mesa-dev] [PATCH 1/3] gallium/osmesa: Make and install an osmesa.pc.

2013-08-23 Thread Matt Turner
All three are Reviewed-by: Matt Turner I've committed them to master and will pick them to 9.2 before the release. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [Mesa-stable] [PATCH] mesa: Set query->EverBound in glQueryCounter().

2013-08-23 Thread Ian Romanick
On 08/23/2013 10:40 AM, Kenneth Graunke wrote: glIsQuery is supposed to return false for names returned by glGenQueries until their first use. BeginQuery is a use, but QueryCounter is also a use. Fixes Piglit's spec/ARB_timer_query/query-lifetime. Signed-off-by: Kenneth Graunke Cc: mesa-sta..

Re: [Mesa-dev] [PATCH] i965: Don't try to fall back when creating unrecognized program targets.

2013-08-23 Thread Anuj Phogat
On Fri, Aug 23, 2013 at 11:50 AM, Paul Berry wrote: > If brwNewProgram is asked to create a program for an unrecognized > target, don't bother falling back on _mesa_new_program(). That just > hides bugs. > --- > src/mesa/drivers/dri/i965/brw_program.c | 3 ++- > 1 file changed, 2 insertions(+),

Re: [Mesa-dev] [PATCH] i965: Don't try to fall back when creating unrecognized program targets.

2013-08-23 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] i965: Don't try to fall back when creating unrecognized program targets.

2013-08-23 Thread Paul Berry
If brwNewProgram is asked to create a program for an unrecognized target, don't bother falling back on _mesa_new_program(). That just hides bugs. --- src/mesa/drivers/dri/i965/brw_program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_program

Re: [Mesa-dev] [PATCH] mesa: Set query->EverBound in glQueryCounter().

2013-08-23 Thread Chad Versace
On 08/23/2013 10:40 AM, Kenneth Graunke wrote: glIsQuery is supposed to return false for names returned by glGenQueries until their first use. BeginQuery is a use, but QueryCounter is also a use. Fixes Piglit's spec/ARB_timer_query/query-lifetime. Signed-off-by: Kenneth Graunke Cc: mesa-sta..

Re: [Mesa-dev] Mesa 9.2 release candidate 2

2013-08-23 Thread Chad Versace
On 08/23/2013 10:30 AM, Clemens Eisserer wrote: Hi, I have verified building from the .tar.bz2 file by doing: tar -xjf Mesa-9.2.0-rc1.tar.bz2 cd Mesa-9.2.0-rc1 ./configure --enable-gallium-llvm --with-llvm-shared-libs make -j6 I tried to compile it on Fedora-19 + updates-testing with: ./c

[Mesa-dev] [PATCH] mesa: Set query->EverBound in glQueryCounter().

2013-08-23 Thread Kenneth Graunke
glIsQuery is supposed to return false for names returned by glGenQueries until their first use. BeginQuery is a use, but QueryCounter is also a use. Fixes Piglit's spec/ARB_timer_query/query-lifetime. Signed-off-by: Kenneth Graunke Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/main/queryo

Re: [Mesa-dev] Mesa 9.2 release candidate 2

2013-08-23 Thread Clemens Eisserer
After performing "autoreconf -fi" I get a bit further: /usr/bin/ld: .libs/entry.o: relocation R_X86_64_32S against `_glapi_Dispatch' can not be used when making a shared object; recompile with -fPIC .libs/entry.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status gmake[4

Re: [Mesa-dev] Mesa 9.2 release candidate 2

2013-08-23 Thread Clemens Eisserer
Hi, > I have verified building from the .tar.bz2 file by doing: > > tar -xjf Mesa-9.2.0-rc1.tar.bz2 > cd Mesa-9.2.0-rc1 > ./configure --enable-gallium-llvm --with-llvm-shared-libs > make -j6 I tried to compile it on Fedora-19 + updates-testing with: ./configure --with-dri-drivers=i965 --with-ga

Re: [Mesa-dev] mesa compiling problem

2013-08-23 Thread Kenneth Graunke
On 08/23/2013 08:06 AM, Brian Paul wrote: On 08/23/2013 05:13 AM, ZhiLi wrote: Hi every one, I am trying to compile Mesa Library version 9.0.3. There is an error, ../../../src/mapi/mapi/stub.c: error: ‘MAPI_TABLE_NUM_STATIC’ undeclared here (not in a function) I trace the source code, and

Re: [Mesa-dev] [PATCH 02/15] glsl: Add support for new fma built-in in ARB_gpu_shader5.

2013-08-23 Thread Matt Turner
On Fri, Aug 23, 2013 at 8:02 AM, Ian Romanick wrote: > Constant folding support? Oh, looks like I forgot to rebase in my fixup: + case ir_triop_fma: + assert(op[0]->type->base_type == GLSL_TYPE_FLOAT); + assert(op[1]->type->base_type == GLSL_TYPE_FLOAT); + assert(op[2]->type->ba

Re: [Mesa-dev] [PATCH 00/30] i965/gen7: Initial geometry shader support.

2013-08-23 Thread Matt Turner
On Thu, Aug 22, 2013 at 8:35 AM, Paul Berry wrote: > Ian gave his review to patches 1-22, assuming the noted changes are made. > If anyone else would like to be mentioned in "Reviewed-by" tags, let me > know. On second thought, you can put my Reviewed-by on 1-22 as well. Thanks Paul! Matt __

Re: [Mesa-dev] [PATCH 14/15] glsl: Add frexp_to_arith lowering pass.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner wrote: > --- > src/glsl/ir_optimization.h | 1 + > src/glsl/lower_instructions.cpp | 106 > > 2 files changed, 107 insertions(+) > Depending on how we decide to resolve the "ir_expression writing to one of its

Re: [Mesa-dev] [PATCH 13/15] glsl: Add ldexp_to_arith lowering pass.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner wrote: > --- > src/glsl/ir_optimization.h | 1 + > src/glsl/lower_instructions.cpp | 128 > > 2 files changed, 129 insertions(+) > > diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h > index b

Re: [Mesa-dev] [PATCH 12/15] i965: Add support for ir_triop_cond_sel.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner wrote: > --- > src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp | 1 + > src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 6 ++ > src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 6 ++ > 3 files changed, 13 insertions(+) >

Re: [Mesa-dev] [PATCH 11/15] glsl: Add conditional-select IR.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner wrote: > It's a ?: that operates per-component on vectors. Will be used in > upcoming lowering passes for frexp and ldexp. > Should we modify the boolean variants of mix() in src/glsl/builtins/ir/ mix.ir to make use of this new IR operation? > --- > src/gl

Re: [Mesa-dev] [PATCH 10/15] i965: Allow immediates to be folded into logical and shift instructions.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner wrote: > These instructions will be used with immediate arguments in the upcoming > frexp and ldexp lowering passes. > --- > src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/src/mesa/d

Re: [Mesa-dev] [PATCH 08/15] glsl: Add heuristics to print floating-point numbers better.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner wrote: > --- > src/glsl/ir_print_visitor.cpp | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp > index 541231a..b518310 100644 > --- a/src/glsl/ir_print_visitor.

Re: [Mesa-dev] [PATCH 05/15] glsl: Add new {fr, ld}exp built-ins IR and prototypes.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner wrote: > --- > src/glsl/builtins/ir/frexp.ir | 25 > + > src/glsl/builtins/ir/ldexp.ir | 25 > + > src/glsl/builtins/profiles/ARB_gpu_shader5.glsl | 10 ++ > 3 files c

Re: [Mesa-dev] [PATCH 03/15] i965/fs: Add support for translating ir_triop_fma into MAD.

2013-08-23 Thread Paul Berry
On 22 August 2013 16:08, Matt Turner wrote: > --- > src/mesa/drivers/dri/i965/brw_fs.cpp | 1 + > src/mesa/drivers/dri/i965/brw_fs.h | 1 + > src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp | 1 + > src/mesa/drivers/dri/i965/brw_fs_visitor.cpp

Re: [Mesa-dev] mesa compiling problem

2013-08-23 Thread Brian Paul
On 08/23/2013 05:13 AM, ZhiLi wrote: Hi every one, I am trying to compile Mesa Library version 9.0.3. There is an error, ../../../src/mapi/mapi/stub.c: error: ‘MAPI_TABLE_NUM_STATIC’ undeclared here (not in a function) I trace the source code, and find it is not defined. Did this happen to

[Mesa-dev] [PATCH] radeonsi: Also set the depth component mask bit for stencil-only exports

2013-08-23 Thread Michel Dänzer
From: Michel Dänzer The stencil values come out wrong without this for some reason. 50 more little piglits. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --g

Re: [Mesa-dev] [PATCH 02/15] glsl: Add support for new fma built-in in ARB_gpu_shader5.

2013-08-23 Thread Ian Romanick
Constant folding support? On 08/22/2013 04:08 PM, Matt Turner wrote: --- src/glsl/ir.cpp| 1 + src/glsl/ir.h | 7 +++ src/glsl/ir_validate.cpp | 1 + src/mesa/program/ir_to_mesa.cpp| 1 + src/mesa/st

Re: [Mesa-dev] [PATCH] i965: Remove redundant (and uninitialized) field vec4_generator::ctx.

2013-08-23 Thread Ian Romanick
On 08/22/2013 05:23 PM, Paul Berry wrote: We never noticed that this field was uninitialized because it is only used in an error path that reports internal Mesa errors. But it's silly to have it around anyway because &brw->ctx is equivalent. Should fix Coverity defect CID 1063351: Uninitialized

Re: [Mesa-dev] [PATCH] mesa: Fix assertion error with glDebugMessageControl

2013-08-23 Thread Brian Paul
On 08/22/2013 05:33 PM, Timothy Arceri wrote: Hi guys, As I'm yet to receive feedback I thought I'd explain more thoroughly what my patch does to make reviewing it easier. Currently glDebugMessageControlARB() ALWAYS throws an assertion whenever the count parameter it set to anything greater t

[Mesa-dev] [PATCH 3/3] gallium/osmesa: Link, not copy, the shared library to the LIB_DIR.

2013-08-23 Thread Jon Severinsson
Just like all other mesa libraries... CC: "9.2" --- src/gallium/targets/osmesa/Makefile.am |2 +- 1 fil ändrad, 1 tillägg(+), 1 borttagning(-) diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am index 25fee6f4..8e6aff6c 100644 --- a/src/gallium/targ

[Mesa-dev] [PATCH 1/3] gallium/osmesa: Make and install an osmesa.pc.

2013-08-23 Thread Jon Severinsson
As of "2f142d59 build: Add --enable-gallium-osmesa flag." the pkgconfig file from classic osmesa is no longer installed when building gallium osmesa, so copy it to gallium osmesa and install the copy instead. CC: "9.2" --- configure.ac|1 + src/gallium/targets/osm

[Mesa-dev] [PATCH 2/3] gallium/osmesa: Always link with the c++ linker.

2013-08-23 Thread Jon Severinsson
Just like all other gallium targets... CC: "9.2" --- src/gallium/targets/osmesa/Makefile.am | 11 ++- 1 fil ändrad, 2 tillägg(+), 9 borttagningar(-) diff --git a/src/gallium/targets/osmesa/Makefile.am b/src/gallium/targets/osmesa/Makefile.am index de78d8cc..25fee6f4 100644 --- a/src/

[Mesa-dev] mesa compiling problem

2013-08-23 Thread ZhiLi
Hi every one, I am trying to compile Mesa Library version 9.0.3. There is an error, ../../../src/mapi/mapi/stub.c: error: ‘MAPI_TABLE_NUM_STATIC’> undeclared here (not in a function)I trace the source code, and find it is not defined.Did this happen to anyone? Can anyone give me some help?Thanks

Re: [Mesa-dev] [PATCH] [RFC] r600g: enable SB backend by default

2013-08-23 Thread Christian König
Am 22.08.2013 18:20, schrieb Vadim Girlin: Signed-off-by: Vadim Girlin Sounds good if it's stable enough. Reviewed-by: Christian König --- src/gallium/drivers/r600/r600_asm.c| 3 ++- src/gallium/drivers/r600/r600_pipe.c | 4 ++-- src/gallium/drivers/r600/r600_pipe.h | 2 +- sr

Re: [Mesa-dev] [Mesa-announce] Mesa 9.2 release candidate 2

2013-08-23 Thread Andreas Boll
2013/8/23 Ian Romanick : > Mesa 9.2 release candidate 2 is now available for testing. > > The tag in the GIT repository for Mesa 9.2-rc2 is 'mesa-9.2-rc2'. > > Mesa 9.2 release candidate 2 is available for download at > ftp://freedesktop.org/pub/mesa/9.2/ > > md5sums: > > 4cde5bbe49658431951e6f5181