[Mesa-dev] Continuous Integration

2013-10-24 Thread Yomi Ogunwumi
Hello everyone. I was reading through the Help Wanted page and I was wondering if 6. Automatic Testing still needed to be done. The three continuous integration systems currently I'm looking at are : • Jenkins • Buildbot • Travis-CI The first two require a dedicated build server AFAIK, while Tr

[Mesa-dev] [Bug 70823] while configuring the Mesa -9.2.2 file error will be there in C++ preprocessor .. please suggest me what to do..

2013-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70823 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] i965: Update MESA_INFO to eliminate error

2013-10-24 Thread Kenneth Graunke
On 10/23/2013 12:41 PM, Courtney Goeltzenleuchter wrote: > If a user set MESA_INFO and the OpenGL application uses a > 3.0 or later context then the MESA_INFO debug output will have > an error when it queries for extensions using the deprecated > enum GL_EXTENSIONS. Passing context argument allows

Re: [Mesa-dev] [PATCH] glsl/gs: Fix transform feedback of gl_ClipDistance.

2013-10-24 Thread Pohjolainen, Topi
On Wed, Oct 23, 2013 at 01:08:42PM -0700, Paul Berry wrote: > Since gl_ClipDistance is lowered from an array of floats to an array > of vec4's during compilation, transform feedback has special logic to > keep track of the pre-lowered array size so that attempting to perform > transform feedback on

Re: [Mesa-dev] Continuous Integration

2013-10-24 Thread Tom Stellard
On Thu, Oct 24, 2013 at 02:55:36AM -0400, Yomi Ogunwumi wrote: > Hello everyone. > > I was reading through the Help Wanted page and I was wondering if 6. > Automatic Testing still needed to be done. > > The three continuous integration systems currently I'm looking at are : > > • Jenkins > • Bui

[Mesa-dev] [PATCH 0/4] GL_OES_get_program_binary extension

2013-10-24 Thread Tapani Pälli
Hello; These patches introduce GL_OES_get_program_binary extension support for Mesa. There are already stub functions for this extension, patches add the missing functionality part. This is based on the 'more automatic' shader cache work I've been implementing. I wanted to implement this first as

[Mesa-dev] [PATCH 1/4] glsl: export populate_symbol_table

2013-10-24 Thread Tapani Pälli
shader cache needs this to allocate and fill gl_shader symbol table Signed-off-by: Tapani Pälli --- src/glsl/linker.cpp | 2 +- src/glsl/linker.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index b23c31a..63127ff 100644 --- a

[Mesa-dev] [PATCH 2/4] mesa: iterate method for string_to_uint_map

2013-10-24 Thread Tapani Pälli
shader cache requires this to be able to cache gl_shader_program Signed-off-by: Tapani Pälli --- src/mesa/program/hash_table.h | 8 1 file changed, 8 insertions(+) diff --git a/src/mesa/program/hash_table.h b/src/mesa/program/hash_table.h index e95fc49..ece43a1 100644 --- a/src/mesa/pr

[Mesa-dev] [PATCH 4/4] mesa: OES_get_program_binary functionality

2013-10-24 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/mesa/main/shaderapi.c | 46 +++--- 1 file changed, 39 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index d3677c8..3ce7ea4 100644 --- a/src/mesa/main/shaderapi.c +++ b/s

Re: [Mesa-dev] [PATCH 1/2] glsl: Optimize (not A) or (not B) into not (A and B).

2013-10-24 Thread Erik Faye-Lund
On Thu, Oct 24, 2013 at 2:19 AM, Matt Turner wrote: > A few Serious Sam 3 shaders affected: > > instructions in affected programs: 4384 -> 4344 (-0.91%) > --- > src/glsl/opt_algebraic.cpp | 12 > 1 file changed, 12 insertions(+) > > diff --git a/src/glsl/opt_algebraic.cpp b/src/g

Re: [Mesa-dev] [PATCH 2/2] glsl: Optimize (not A) and (not B) into not (A or B).

2013-10-24 Thread Erik Faye-Lund
On Thu, Oct 24, 2013 at 2:19 AM, Matt Turner wrote: > No shader-db changes, but seems like a good idea. > --- > src/glsl/opt_algebraic.cpp | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/src/glsl/opt_algebraic.cpp b/src/glsl/opt_algebraic.cpp > index 3bf0689..1ce9e2d 100644 > --

Re: [Mesa-dev] [PATCH] glsl/gs: Fix transform feedback of gl_ClipDistance.

2013-10-24 Thread Paul Berry
On 24 October 2013 00:13, Pohjolainen, Topi wrote: > On Wed, Oct 23, 2013 at 01:08:42PM -0700, Paul Berry wrote: > > Since gl_ClipDistance is lowered from an array of floats to an array > > of vec4's during compilation, transform feedback has special logic to > > keep track of the pre-lowered arra

[Mesa-dev] [PATCH 4/7] vl/vlc: add remove bits function

2013-10-24 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_vlc.h | 12 1 file changed, 12 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_vlc.h b/src/gallium/auxiliary/vl/vl_vlc.h index 0dc1df9..9f67ba9 100644 --- a/src/gallium/auxiliary/vl/vl_vlc

[Mesa-dev] OpenMAX state tracker

2013-10-24 Thread Christian König
Hello list, the following patch set implements an initial OpenMAX state tracker. Supported are hardware accelerated decoding of both MPEG2 and H264 using UVD on modern radeon chips. In opposite to our VDPAU implementation the H264 decoder supports Hi10P as well, but on the other hand probably

[Mesa-dev] [PATCH 3/7] vl/h264: split fields into SPS/PPS

2013-10-24 Thread Christian König
From: Christian König Add alot of missing fields as well. Signed-off-by: Christian König --- .../drivers/nouveau/nouveau_vp3_video_bsp.c| 30 src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c | 24 +++--- src/gallium/drivers/nouveau/nv50/nv84_video_bsp.c | 38 +- src

[Mesa-dev] [PATCH 2/7] radeon/uvd: fix H264 chroma format handling

2013-10-24 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_uvd.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c index 134ce4e..6d87841 100644

[Mesa-dev] [PATCH 5/7] vl/vlc: add function to limit the vlc size

2013-10-24 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_vlc.h | 53 ++- 1 file changed, 41 insertions(+), 12 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_vlc.h b/src/gallium/auxiliary/vl/vl_vlc.h index 9f67ba9..ea4f93d

[Mesa-dev] [PATCH 1/7] vl: add 400 chroma format as well

2013-10-24 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/include/pipe/p_format.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index b82f08f..461d38f 100644 --- a/src/gallium/include/pipe/p_format.h +++

[Mesa-dev] [PATCH 6/7] vl/rbsp: add H.264 RBSP implementation

2013-10-24 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_rbsp.h | 164 + 1 file changed, 164 insertions(+) create mode 100644 src/gallium/auxiliary/vl/vl_rbsp.h diff --git a/src/gallium/auxiliary/vl/vl_rbsp.h b/src/gallium/auxil

[Mesa-dev] [Bug 69437] Composite Bypass no longer works

2013-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69437 U. Artie Eoff changed: What|Removed |Added CC||cwo...@cworth.org --- Comment #4 from U.

Re: [Mesa-dev] [PATCH] glsl/gs: Fix transform feedback of gl_ClipDistance.

2013-10-24 Thread Pohjolainen, Topi
On Thu, Oct 24, 2013 at 03:38:49AM -0700, Paul Berry wrote: >On 24 October 2013 00:13, Pohjolainen, Topi >wrote: > > On Wed, Oct 23, 2013 at 01:08:42PM -0700, Paul Berry wrote: > > Since gl_ClipDistance is lowered from an array of floats to an array > > of vec4's during com

Re: [Mesa-dev] [PATCH 1/2] glsl: Optimize (not A) or (not B) into not (A and B).

2013-10-24 Thread Matt Turner
On Thu, Oct 24, 2013 at 1:46 AM, Erik Faye-Lund wrote: > On Thu, Oct 24, 2013 at 2:19 AM, Matt Turner wrote: >> A few Serious Sam 3 shaders affected: >> >> instructions in affected programs: 4384 -> 4344 (-0.91%) >> --- >> src/glsl/opt_algebraic.cpp | 12 >> 1 file changed, 12 i

Re: [Mesa-dev] clover: fix build after a3ed98f7aa85636579a5696bf036ec13e5c9104a

2013-10-24 Thread Brian Paul
On 10/23/2013 01:33 PM, David Heidelberger wrote: link to similiar bug: https://bugs.freedesktop.org/show_bug.cgi?id=70804 --- src/gallium/state_trackers/clover/core/kernel.cpp | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/clover/core/ke

[Mesa-dev] [PATCH] i965/fs: Drop no-op shifts by 0.

2013-10-24 Thread Eric Anholt
I noticed this in a shader in Unigine Heaven that was spilling. While it doesn't really reduce register pressure, it shaves a few instructions anyway (7955 -> 7882). --- src/glsl/opt_algebraic.cpp | 8 1 file changed, 8 insertions(+) diff --git a/src/glsl/opt_algebraic.cpp b/src/glsl/op

Re: [Mesa-dev] clover: fix build after a3ed98f7aa85636579a5696bf036ec13e5c9104a

2013-10-24 Thread Tom Stellard
On Thu, Oct 24, 2013 at 09:14:49AM -0600, Brian Paul wrote: > On 10/23/2013 01:33 PM, David Heidelberger wrote: > > link to similiar bug: https://bugs.freedesktop.org/show_bug.cgi?id=70804 > > > > --- > > src/gallium/state_trackers/clover/core/kernel.cpp | 7 --- > > 1 file changed, 4 insert

Re: [Mesa-dev] [PATCH] clover: Refuse to create context with invalid properties

2013-10-24 Thread Jan Vesely
On Tue, 2013-10-22 at 13:38 -0700, Francisco Jerez wrote: > Jan Vesely writes: > > > On Mon, 2013-10-21 at 22:20 -0700, Francisco Jerez wrote: > >> Jan Vesely writes: > >> > >> > the specs say that clCreateContext reutrns error > >> > "if platform value specified in properties is not a valid pl

[Mesa-dev] [Bug 69437] Composite Bypass no longer works

2013-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69437 --- Comment #5 from Carl Worth --- (In reply to comment #4) > Any progress on getting this backported to the 9.2 branch? I attempted a cherry-pick over to the 9.2 branch, and there were non-trivial conflicts taht I didn't feel comfortable attemp

Re: [Mesa-dev] [PATCH 3/7] vl/h264: split fields into SPS/PPS

2013-10-24 Thread Ilia Mirkin
On Thu, Oct 24, 2013 at 9:14 AM, Christian König wrote: > From: Christian König > > Add alot of missing fields as well. > > Signed-off-by: Christian König > --- > .../drivers/nouveau/nouveau_vp3_video_bsp.c| 30 > src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c | 24 +++--- >

Re: [Mesa-dev] [PATCH 09/15] i965: Build the driver into a shared mesa_dri_drivers.so .

2013-10-24 Thread Chad Versace
On 10/23/2013 11:35 AM, Eric Anholt wrote: Chad Versace writes: The bits about globalDriverAPI and megadriver_stub.c feel strongly logically disjoint from the rest of the patch. And, they really aren't related to i965. It looks like they should get separated out into a separate patch the immed

Re: [Mesa-dev] [PATCH 09/15] i965: Build the driver into a shared mesa_dri_drivers.so .

2013-10-24 Thread Chad Versace
On 10/23/2013 11:31 AM, Eric Anholt wrote: Chad Versace writes: On 10/11/2013 06:03 PM, Eric Anholt wrote: Previously, we've split things such that mesa core is in libdricore, exposing the whole Mesa core interface in the global namespace, and the i965_dri.so code all links against that. Alo

Re: [Mesa-dev] [PATCH] i965/fs: Drop no-op shifts by 0.

2013-10-24 Thread Matt Turner
On Thu, Oct 24, 2013 at 8:53 AM, Eric Anholt wrote: > I noticed this in a shader in Unigine Heaven that was spilling. While it > doesn't really reduce register pressure, it shaves a few instructions > anyway (7955 -> 7882). > --- > src/glsl/opt_algebraic.cpp | 8 > 1 file changed, 8 ins

[Mesa-dev] [RFC] gallium/auxiliary: u_primconvert for GL_QUADS

2013-10-24 Thread Rob Clark
From: Rob Clark A utility to turn quads into tri's + index buffer, which can be used by drivers for hardware which does not natively support quads. Signed-off-by: Rob Clark --- NOTE: I was planning to add a few other primitive types, and optimize to not recreate the index buffer each time. But

Re: [Mesa-dev] [PATCH 3/7] vl/h264: split fields into SPS/PPS

2013-10-24 Thread Christian König
Am 24.10.2013 19:18, schrieb Ilia Mirkin: On Thu, Oct 24, 2013 at 9:14 AM, Christian König wrote: From: Christian König Add alot of missing fields as well. Signed-off-by: Christian König --- .../drivers/nouveau/nouveau_vp3_video_bsp.c| 30 src/gallium/drivers/nouveau/nou

Re: [Mesa-dev] [PATCH] i965/fs: Drop no-op shifts by 0.

2013-10-24 Thread Erik Faye-Lund
Why is this tagged as i965/fs, when everything seems to happen in the glsl-optimizer? On Thu, Oct 24, 2013 at 5:53 PM, Eric Anholt wrote: > I noticed this in a shader in Unigine Heaven that was spilling. While it > doesn't really reduce register pressure, it shaves a few instructions > anyway (7

Re: [Mesa-dev] [PATCH 3/7] vl/h264: split fields into SPS/PPS

2013-10-24 Thread Ilia Mirkin
On Thu, Oct 24, 2013 at 1:55 PM, Christian König wrote: > Am 24.10.2013 19:18, schrieb Ilia Mirkin: > >> On Thu, Oct 24, 2013 at 9:14 AM, Christian König >> wrote: >>> >>> From: Christian König >>> >>> Add alot of missing fields as well. >>> >>> Signed-off-by: Christian König >>> --- >>> .../

Re: [Mesa-dev] Continuous Integration

2013-10-24 Thread Yomi Ogunwumi
I apologize. I'm in way over my head. I thought this would be easy for some reason but it seems I thought wrong. I'm going to step back and wrap my head around all of this... Yomi ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.free

[Mesa-dev] [PATCH] gallium: kill off PIPE_FORMAT_Z32_UNORM with extreme prejudice

2013-10-24 Thread sroland
From: Roland Scheidegger This format, while still supported in OpenGL (but optional) and glx, is just causing major nuisance everywhere and needs special code in some places, because things like 1 << depth_bits don't work. It is also the reason why we chose (just like in GL) depth clear values as

Re: [Mesa-dev] [PATCH 00/18] Implement GLX_MESA_query_renderer

2013-10-24 Thread Ian Romanick
Dave and Marek, Do either of you guys plan to implement support for this extension? The value to developers is obviously increased if more drivers support the extension. This extension was born from feedback that I received from people at FOSDEM and from various game developers at Game Developer

[Mesa-dev] [PATCH] mesa: Update MESA_INFO to eliminate error

2013-10-24 Thread Courtney Goeltzenleuchter
If a user set MESA_INFO and the OpenGL application uses a 3.0 or later context then the MESA_INFO debug output will have an error when it queries for extensions using the deprecated enum GL_EXTENSIONS. Passing context argument allows code to return extension list directly regardless of profile. Com

Re: [Mesa-dev] [RFC] gallium/auxiliary: u_primconvert for GL_QUADS

2013-10-24 Thread Brian Paul
On 10/24/2013 11:44 AM, Rob Clark wrote: From: Rob Clark A utility to turn quads into tri's + index buffer, which can be used by drivers for hardware which does not natively support quads. Signed-off-by: Rob Clark We already have some code for this. Check out the u_indices.c code. The svg

[Mesa-dev] [Bug 69437] Composite Bypass no longer works

2013-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69437 --- Comment #6 from Kristian Høgsberg --- (In reply to comment #5) > (In reply to comment #4) > > Any progress on getting this backported to the 9.2 branch? > > I attempted a cherry-pick over to the 9.2 branch, and there were non-trivial > confl

Re: [Mesa-dev] [RFC] gallium/auxiliary: u_primconvert for GL_QUADS

2013-10-24 Thread Rob Clark
On Thu, Oct 24, 2013 at 3:26 PM, Brian Paul wrote: > On 10/24/2013 11:44 AM, Rob Clark wrote: >> >> From: Rob Clark >> >> A utility to turn quads into tri's + index buffer, which can be used by >> drivers for hardware which does not natively support quads. >> >> Signed-off-by: Rob Clark > > > We

Re: [Mesa-dev] [PATCH] RFC clover: calculate maximum workgroup size based on device

2013-10-24 Thread Francisco Jerez
Aaron Watry writes: > The maximum workgroup size for a given kernel is based on the > capabilities of the device that it's being run on. Previously, > we were just returning the maximum value of a size_t which is > obviously wrong. > > This patch uses the device's capabilities, but doesn't take i

Re: [Mesa-dev] [PATCH] clover: mark gcc 4.7.0 as broken

2013-10-24 Thread Francisco Jerez
David Heidelberger writes: > From e004b63b2896ac2c8951cfda49d4a54d72b16449 Mon Sep 17 00:00:00 2001 > From: David Heidelberger > Date: Wed, 23 Oct 2013 23:35:42 +0200 > Subject: [PATCH] clover: mark gcc 4.7.0 as broken > > --- > configure.ac | 6 -- > 1 file changed, 4 insertions(+), 2

Re: [Mesa-dev] [PATCH 5/8] i965: Implement FS backend for ARB_sample_shading

2013-10-24 Thread Anuj Phogat
On Sat, Oct 19, 2013 at 3:05 PM, Paul Berry wrote: > On 14 October 2013 10:12, Anuj Phogat wrote: >> >> Implement the FS backend for new builtins added by the extension: >> in vec2 gl_SamplePosition >> in int gl_SampleID >> in int gl_NumSamples >> out int gl_SampleMask[] > > > There is a lot goin

Re: [Mesa-dev] [PATCH] i965/fs: Drop no-op shifts by 0.

2013-10-24 Thread Matt Turner
On Thu, Oct 24, 2013 at 11:12 AM, Erik Faye-Lund wrote: > But wait a minute. x shifted by 0 is x, so the latter part looks > correct. But the first conditional seems to assume that 0 sifted by x > is x, but it's really 0, no? Shouldn't both cases return > ir->operands[0]? What am I missing? I thi

[Mesa-dev] [Bug 69437] Composite Bypass no longer works

2013-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69437 --- Comment #7 from Kristian Høgsberg --- Just pushed the backported fix to 9.2: commit 7ab2b8c4c4607817c91946dcba943b29f1bd1895 Author: Kristian Høgsberg Date: Thu Sep 26 12:25:11 2013 -0700 wayland: Don't rely on static variable for id

Re: [Mesa-dev] [PATCH] gallivm: implement fully accurate corner filtering for seamless cube maps

2013-10-24 Thread Brian Paul
On 10/23/2013 11:15 AM, srol...@vmware.com wrote: From: Roland Scheidegger d3d10 requires that cube corners are filtered with accurate weights (that is, the weight of the non-existing corner texel should be evenly distributed to the other 3 texels). OpenGL does not require this (but recommends

Re: [Mesa-dev] [PATCH] gallium: kill off PIPE_FORMAT_Z32_UNORM with extreme prejudice

2013-10-24 Thread Brian Paul
On 10/24/2013 12:48 PM, srol...@vmware.com wrote: From: Roland Scheidegger This format, while still supported in OpenGL (but optional) and glx, is just causing major nuisance everywhere and needs special code in some places, because things like 1 << depth_bits don't work. It is also the reason

Re: [Mesa-dev] [PATCH 15/18] docs: Import extension spec for GLX_MESA_query_renderer

2013-10-24 Thread Marek Olšák
On Sat, Oct 12, 2013 at 12:10 AM, Ian Romanick wrote: > From: Ian Romanick > > The enumerated values are currently allocated from Intel's range. > > Signed-off-by: Ian Romanick > --- > docs/MESA_query_renderer.spec | 381 > ++ > 1 file changed, 381 inser

Re: [Mesa-dev] [PATCH] gallium: kill off PIPE_FORMAT_Z32_UNORM with extreme prejudice

2013-10-24 Thread Marek Olšák
Sounds good to me. Marek On Thu, Oct 24, 2013 at 8:48 PM, wrote: > From: Roland Scheidegger > > This format, while still supported in OpenGL (but optional) and glx, is just > causing major nuisance everywhere and needs special code in some places, > because things like 1 << depth_bits don't wo

[Mesa-dev] [PATCH] graw: add a test rendering a huge triangle

2013-10-24 Thread Zack Rusin
Used to test rasterization, because we often breakdown on subdivision of triangles with long edges. Signed-off-by: Zack Rusin --- src/gallium/tests/graw/SConscript | 1 + src/gallium/tests/graw/tri-large.c | 173 + 2 files changed, 174 insertions(+) create