Re: [Mesa-dev] [PATCH] R600/SI: Add compute support for CI v2

2013-10-24 Thread Michel Dänzer
On Mit, 2013-10-23 at 23:04 -0400, Tom Stellard wrote: From: Tom Stellard thomas.stell...@amd.com v2: - Fix LDS size calculation Reviewed-by: Michel Dänzer michel.daen...@amd.com -- Earthling Michel Dänzer| http://www.amd.com Libre software enthusiast

[Mesa-dev] clover: fix build after a3ed98f7aa85636579a5696bf036ec13e5c9104a

2013-10-24 Thread David Heidelberger
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/kernel.cpp

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

2013-10-24 Thread David Heidelberger
From e004b63b2896ac2c8951cfda49d4a54d72b16449 Mon Sep 17 00:00:00 2001 From: David Heidelberger david.heidelber...@ixit.cz 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 deletions(-) diff

[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

[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 kenn...@whitecape.org changed: What|Removed |Added Status|NEW |RESOLVED

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 • Buildbot •

[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 tapani.pa...@intel.com --- 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

[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 tapani.pa...@intel.com --- 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

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

2013-10-24 Thread Tapani Pälli
Signed-off-by: Tapani Pälli tapani.pa...@intel.com --- 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 ---

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 matts...@gmail.com 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

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 matts...@gmail.com 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

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 topi.pohjolai...@intel.comwrote: 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

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

2013-10-24 Thread Christian König
From: Christian König christian.koe...@amd.com Signed-off-by: Christian König christian.koe...@amd.com --- 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

[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 christian.koe...@amd.com Add alot of missing fields as well. Signed-off-by: Christian König christian.koe...@amd.com --- .../drivers/nouveau/nouveau_vp3_video_bsp.c| 30 src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c | 24 +++---

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

2013-10-24 Thread Christian König
From: Christian König christian.koe...@amd.com Signed-off-by: Christian König christian.koe...@amd.com --- 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

[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 christian.koe...@amd.com Signed-off-by: Christian König christian.koe...@amd.com --- 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

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

2013-10-24 Thread Christian König
From: Christian König christian.koe...@amd.com Signed-off-by: Christian König christian.koe...@amd.com --- 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

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

2013-10-24 Thread Christian König
From: Christian König christian.koe...@amd.com Signed-off-by: Christian König christian.koe...@amd.com --- 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

[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 ullysses.a.e...@intel.com changed: What|Removed |Added CC|

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 topi.pohjolai...@intel.com 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

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 kusmab...@gmail.com wrote: On Thu, Oct 24, 2013 at 2:19 AM, Matt Turner matts...@gmail.com wrote: A few Serious Sam 3 shaders affected: instructions in affected programs: 4384 - 4344 (-0.91%) --- src/glsl/opt_algebraic.cpp | 12

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

[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

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 insertions(+), 3

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 jan.ves...@rutgers.edu writes: On Mon, 2013-10-21 at 22:20 -0700, Francisco Jerez wrote: Jan Vesely jan.ves...@rutgers.edu writes: the specs say that clCreateContext reutrns error if platform value specified in

[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 cwo...@cworth.org --- (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

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 deathsim...@vodafone.de wrote: From: Christian König christian.koe...@amd.com Add alot of missing fields as well. Signed-off-by: Christian König christian.koe...@amd.com --- .../drivers/nouveau/nouveau_vp3_video_bsp.c| 30

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 chad.vers...@linux.intel.com 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

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 chad.vers...@linux.intel.com 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

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 e...@anholt.net 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

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

2013-10-24 Thread Rob Clark
From: Rob Clark robcl...@freedesktop.org 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 robcl...@freedesktop.org --- NOTE: I was planning to add a few other primitive types, and optimize

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 deathsim...@vodafone.de wrote: From: Christian König christian.koe...@amd.com Add alot of missing fields as well. Signed-off-by: Christian König christian.koe...@amd.com ---

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 e...@anholt.net 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

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 deathsim...@vodafone.de wrote: Am 24.10.2013 19:18, schrieb Ilia Mirkin: On Thu, Oct 24, 2013 at 9:14 AM, Christian König deathsim...@vodafone.de wrote: From: Christian König christian.koe...@amd.com Add alot of missing fields as well.

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

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

2013-10-24 Thread sroland
From: Roland Scheidegger srol...@vmware.com 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)

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

[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.

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 robcl...@freedesktop.org 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 robcl...@freedesktop.org We already have some code

[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 k...@bitplanet.net --- (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

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 bri...@vmware.com wrote: On 10/24/2013 11:44 AM, Rob Clark wrote: From: Rob Clark robcl...@freedesktop.org A utility to turn quads into tri's + index buffer, which can be used by drivers for hardware which does not natively support quads.

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

2013-10-24 Thread Francisco Jerez
Aaron Watry awa...@gmail.com 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

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

2013-10-24 Thread Francisco Jerez
David Heidelberger david.heidelber...@ixit.cz writes: From e004b63b2896ac2c8951cfda49d4a54d72b16449 Mon Sep 17 00:00:00 2001 From: David Heidelberger david.heidelber...@ixit.cz Date: Wed, 23 Oct 2013 23:35:42 +0200 Subject: [PATCH] clover: mark gcc 4.7.0 as broken --- configure.ac | 6

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 stereotype...@gmail.com wrote: On 14 October 2013 10:12, Anuj Phogat anuj.pho...@gmail.com 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

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 kusmab...@gmail.com 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

[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 k...@bitplanet.net --- Just pushed the backported fix to 9.2: commit 7ab2b8c4c4607817c91946dcba943b29f1bd1895 Author: Kristian Høgsberg k...@bitplanet.net Date: Thu Sep 26 12:25:11 2013 -0700 wayland:

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 srol...@vmware.com 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

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 srol...@vmware.com 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

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 i...@freedesktop.org wrote: From: Ian Romanick ian.d.roman...@intel.com The enumerated values are currently allocated from Intel's range. Signed-off-by: Ian Romanick ian.d.roman...@intel.com --- docs/MESA_query_renderer.spec | 381

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, srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com 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

[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 za...@vmware.com --- src/gallium/tests/graw/SConscript | 1 + src/gallium/tests/graw/tri-large.c | 173 + 2 files changed, 174