[Mesa-dev] [PATCH] xlib: fix X_GLXCreateContextAtrribs/Attribs typo

2015-05-22 Thread Brian Paul
In case the glproto.h file isn't up to date, we provide the #define for X_GLXCreateContextAttribsARB. --- src/gallium/state_trackers/glx/xlib/glx_api.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c

[Mesa-dev] [PATCH] glapi: fix scons build

2015-05-22 Thread Dylan Baker
The arguments for glX_proto_size.py changed slightly, the '-h' short option was removed, because argparse reserves that for help messages. The auto-tools based build was already updated to account for this change, but the scons build was not. Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com

Re: [Mesa-dev] [PATCH V2 21/22] i965/gen9: Plugin the code for selecting YF/YS tiling on skl+

2015-05-22 Thread Anuj Phogat
On Thu, May 21, 2015 at 4:33 PM, Ben Widawsky b...@bwidawsk.net wrote: On Fri, Apr 17, 2015 at 04:51:42PM -0700, Anuj Phogat wrote: Note: Yf/Ys tiling stays disabled to avoid any piglit regressions. I'm working on fixing the remaining piglit failures. We need to do some benchmarking to come

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 --- Comment #3 from Ilia Mirkin imir...@alum.mit.edu --- IIRC Dylan even mentioned this would break on python2.6 (without the extra argument parser module). I'm not so eager to drop support for py2.6, not sure why this was done =/ -- You are

Re: [Mesa-dev] [PATCH V2 22/22] i965/gen9: Disable Mip Tail for YF/YS tiled surfaces

2015-05-22 Thread Anuj Phogat
On Thu, May 21, 2015 at 4:55 PM, Ben Widawsky b...@bwidawsk.net wrote: On Fri, Apr 17, 2015 at 04:51:43PM -0700, Anuj Phogat wrote: This fixed the buffer corruption happening in a FBO which use YF/YS tiled renderbuffer or texture as color attachment. Spec recommends disabling mip tails for

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 --- Comment #2 from Vinson Lee v...@freedesktop.org --- (In reply to Brian Paul from comment #1) Vinson, what does your scons command look like? I haven't been able to reproduce this here. It is just 'scons', no arguments. This is the final

[Mesa-dev] [PATCH] glx: fix Scons build

2015-05-22 Thread Brian Paul
Replace -h with --header-tag as was done for the Makefile build. --- src/glx/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/SConscript b/src/glx/SConscript index b91c0bd..619e4c3 100644 --- a/src/glx/SConscript +++ b/src/glx/SConscript @@ -125,7 +125,7 @@

Re: [Mesa-dev] [PATCH] glx: fix Scons build

2015-05-22 Thread Dylan Baker
Well, I wrote the exact same patch and sent it a few seconds ago before I noticed this. Sorry to break things. Reviewed-by: Dylan Baker baker.dyla...@gmail.com On Fri, May 22, 2015 at 01:23:52PM -0700, Brian Paul wrote: Replace -h with --header-tag as was done for the Makefile build. ---

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 Bug ID: 90600 Summary: IOError: [Errno 2] No such file or directory: 'gl_API.xml' Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All)

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 --- Comment #4 from Vinson Lee v...@freedesktop.org --- Build is also broken on Ubuntu 12.04 and it has Python 2.7. Generating build/linux-x86_64-debug/mapi/glapi/glapitable.h ... Traceback (most recent call last): File

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 --- Comment #5 from Ilia Mirkin imir...@alum.mit.edu --- (In reply to Ilia Mirkin from comment #3) IIRC Dylan even mentioned this would break on python2.6 (without the extra argument parser module). I'm not so eager to drop support for

Re: [Mesa-dev] [PATCH V2 17/22] i965/gen9: Add XY_FAST_COPY_BLT support to intelEmitCopyBlit()

2015-05-22 Thread Anuj Phogat
On Thu, May 21, 2015 at 5:46 PM, Anuj Phogat anuj.pho...@gmail.com wrote: On Thu, May 21, 2015 at 12:26 PM, Ben Widawsky b...@bwidawsk.net wrote: A lot of opinion stuff is below, feel free to ignore them if you don't think there are improvements. On Fri, Apr 17, 2015 at 04:51:38PM -0700, Anuj

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 --- Comment #1 from Brian Paul bri...@vmware.com --- Vinson, what does your scons command look like? I haven't been able to reproduce this here. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee

Re: [Mesa-dev] [PATCH 15/20] i915: Enable intel_render path for points

2015-05-22 Thread Ville Syrjälä
On Thu, May 21, 2015 at 09:14:03PM +0300, Ville Syrjälä wrote: On Fri, May 15, 2015 at 12:18:11PM -0700, Ian Romanick wrote: There are some really twitchy tests in ES1 (and possibly ES2) conformance related to this. Do any of those tests change with this commit? I did run some ES1

Re: [Mesa-dev] [PATCH 01/20] t_dd_dmatmp: Kill the paths rendering quads/quad strips via indexed vertices

2015-05-22 Thread Ville Syrjälä
On Fri, May 15, 2015 at 12:06:54PM -0700, Ian Romanick wrote: On 03/23/2015 05:47 AM, ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä ville.syrj...@linux.intel.com No driver supports elts currently, and these make the validate_render code a bit hard to follow. Just kill them.

[Mesa-dev] [PATCH] vc4: make vc4_begin_query() returns a boolean

2015-05-22 Thread Samuel Pitoiset
I forgot to make the change in 96f164f6f047833091eb98a73aa80c31dc94f962. This fixes a warning with GCC and probably an error with Clang. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/drivers/vc4/vc4_query.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [Mesa-dev] [PATCH v2 03/14] nir: cleanup cf nodes earlier in nir_cf_node_remove()

2015-05-22 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand jason.ekstr...@intel.com On Thu, May 21, 2015 at 9:40 AM, Connor Abbott cwabbo...@gmail.com wrote: Before, when we were deleting a cf node that was a block, we were first removing all the instructions and then calling cleanup_cf_node(), at which point

Re: [Mesa-dev] [PATCH v2 04/14] nir: properly clean up jumps when removing cf nodes

2015-05-22 Thread Jason Ekstrand
On Thu, May 21, 2015 at 9:55 AM, Matt Turner matts...@gmail.com wrote: On Thu, May 21, 2015 at 9:40 AM, Connor Abbott cwabbo...@gmail.com wrote: Before, we might have left dangling predecessors from jumps that were going to be removed. v2: split out from nir: insert ssa_undef instructions

[Mesa-dev] [PATCH 5/5] nir/cse: use the instr_hash helper

2015-05-22 Thread Connor Abbott
This replaces an O(n^2) algorithm with an O(n) one, while allowing us to import most of the infrastructure required for GVN. The idea is to walk the dominance tree depth-first, similar when converting to SSA, and remove the instructions from the set when we're done visiting the sub-tree of the

[Mesa-dev] [PATCH 1/5] nir: split out instruction comparison functions

2015-05-22 Thread Connor Abbott
We'll want to use these outside of nir_opt_cse.c. Rather than adding yet another thing to the mess that is nir.c, create a new file and move nir_srcs_equal() there too. Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/Makefile.sources| 1 + src/glsl/nir/nir.c

[Mesa-dev] [PATCH 4/5] nir: add a helper for finding duplicate instructions

2015-05-22 Thread Connor Abbott
This can be used for both CSE and value numbering. Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/Makefile.sources | 2 + src/glsl/nir/nir_instr_hash.c | 255 ++ src/glsl/nir/nir_instr_hash.h | 36 ++ 3 files changed, 293

[Mesa-dev] [PATCH 3/5] nir: constify instruction comparison functions

2015-05-22 Thread Connor Abbott
Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/nir/nir.h | 4 ++-- src/glsl/nir/nir_instr_compare.c | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index e3b7b17..19b1e18 100644 ---

[Mesa-dev] [PATCH 0/5] NIR CSE performance improvements

2015-05-22 Thread Connor Abbott
This series implements an API that lets us use a hash set in the CSE pass, which fixes the performance problem while getting most of the code for Global Value Numbering (GVN) on top of GCM into the tree and actively used. The first three patches are taken from Jason's rebase of my GVN series, and

[Mesa-dev] [PATCH 2/5] nir: constify nir_ssa_alu_instr_src_components()

2015-05-22 Thread Connor Abbott
Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/nir/nir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index f04195f..e3b7b17 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -722,7 +722,7 @@