[Mesa-dev] [PATCH] gallivm: Remove llvm::DisablePrettyStackTrace for LLVM >= 3.4.

2013-11-03 Thread Vinson Lee
LLVM 3.4 r193971 removed llvm::DisablePrettyStackTrace and made the pretty stack trace opt-in rather than opt-out. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/sr

Re: [Mesa-dev] [PATCH] i965: Add driconf option clamp_max_samples (v3)

2013-11-03 Thread Chad Versace
On 11/03/2013 02:50 PM, Kenneth Graunke wrote: On 11/03/2013 01:51 PM, Chad Versace wrote: The new option clamps GL_MAX_SAMPLES to a hardware-supported MSAA mode. If negative, then no clamping occurs. v2: (for Paul) - Add option to i965 only, not to all DRI drivers. - Do not realy on int-

Re: [Mesa-dev] [PATCH] clover: fix build with LLVM 3.4

2013-11-03 Thread Mike Lothian
This fixes the build for me Feel free to add my tested by On 1 November 2013 15:25, Aaron Watry wrote: > dso_list was added as an argument for createInternalizePass in 3.4, and > then > it was removed again in the same llvm version. > --- > src/gallium/state_trackers/clover/llvm/invocation.cp

[Mesa-dev] [PATCH] nvc0: Remove unused pointer value cfg.

2013-11-03 Thread Vinson Lee
cfg is only used inside for loop so also move declaration there. Fixes "Unused pointer value" defect reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gallium/drivers/nouve

[Mesa-dev] [PATCH] r600g: Prevent invalid op overflows in release builds.

2013-11-03 Thread Vinson Lee
Fixes "Overflowed return value" defects reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/drivers/r600/r600_isa.h | 9 + 1 file changed, 9 insertions(+) diff --git a/src/gallium/drivers/r600/r600_isa.h b/src/gallium/drivers/r600/r600_isa.h index c6bb869..5b9c3d0 100644 --

[Mesa-dev] [PATCH] r600g: Add missing break for callstack_push FC_PUSH_WQM case.

2013-11-03 Thread Vinson Lee
Fixes "Missing break in switch" reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/drivers/r600/r600_shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index ce15cd7..d6cbfd7 100644 --- a/src/

[Mesa-dev] [PATCH] i965: Initialize schedule_node::delay.

2013-11-03 Thread Vinson Lee
Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee --- src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_sched

Re: [Mesa-dev] [PATCH] i965: Add driconf option clamp_max_samples (v3)

2013-11-03 Thread Kenneth Graunke
On 11/03/2013 01:51 PM, Chad Versace wrote: > The new option clamps GL_MAX_SAMPLES to a hardware-supported MSAA mode. > If negative, then no clamping occurs. > > v2: (for Paul) > - Add option to i965 only, not to all DRI drivers. > - Do not realy on int->uint cast to convert negative > val

[Mesa-dev] [Bug 71199] [llvmpipe] piglit glean polygonOffset regression

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71199 --- Comment #1 from Roland Scheidegger --- My guess would be the test is invalid. The "mrd" meaning is very precise both in d3d10 and OpenGl, and we were being sloppy there before - it really should be exactly one bit (for unorm depth formats). I

[Mesa-dev] [Bug 71110] xorg_driver.c:1030:2: error: too many arguments to function ‘DamageUnregister’

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71110 --- Comment #4 from Vinson Lee --- attachment 88493 fixes the build for me. Tested-by: Vinson Lee -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH 5/6] dri3: Add DRI3 support to GLX, DRI common and Intel driver

2013-11-03 Thread Keith Packard
Kristian Høgsberg writes: > I sent a reply to the sourceforge addresses in the original emails, > but I didn't see it show up in the archives. Trying again with the > freedesktop addresses. (sorry for having an ancient shell script with sourceforge addresses in it) >> +typedef uint32_t * >> +(

[Mesa-dev] [RFC]: __DRIbuffer in the multi-winsys world

2013-11-03 Thread christopher . halse . rogers
From: Christopher James Halse Rogers With DRI3 and the various EGL loaders, GEM names are no longer the lingua franca of winsys integration. Passing around GEM names in the __DRIbuffer struct is getting passé. Attached is a rough first pass at what passing GEM handles rather than names around in

[Mesa-dev] [PATCH] i965: Add driconf option clamp_max_samples (v3)

2013-11-03 Thread Chad Versace
The new option clamps GL_MAX_SAMPLES to a hardware-supported MSAA mode. If negative, then no clamping occurs. v2: (for Paul) - Add option to i965 only, not to all DRI drivers. - Do not realy on int->uint cast to convert negative values to large positive values. Explicitly check for cla

Re: [Mesa-dev] [PATCH] i965: Add driconf option clamp_max_samples

2013-11-03 Thread Chad Versace
On 11/02/2013 12:21 PM, Kenneth Graunke wrote: On 11/02/2013 08:41 AM, Chad Versace wrote: This clamps GL_MAX_SAMPLES to the given value. If negative, then no clamping occurs. CC: Paul Berry CC: Eric Anholt Signed-off-by: Chad Versace --- This patch lives on my branch driconf-clamp-max_sam

[Mesa-dev] [PATCH] i965: implement blit path for PBO glDrawPixels

2013-11-03 Thread Alexander Monakov
Hello, This patch implements accelerated path for glDrawPixels from a PBO in i965. The code follows what intel_pixel_read, intel_pixel_copy, intel_pixel_bitmap and intel_tex_image are doing. Piglit quick.tests show no regressions. In my testing on IVB, performance improvement is huge (about 30x, d

[Mesa-dev] [Bug 71199] New: [llvmpipe] piglit glean polygonOffset regression

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71199 Priority: medium Bug ID: 71199 Keywords: regression CC: jfons...@vmware.com, mcclu...@vmware.com, srol...@vmware.com Assignee: mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH] R600: Make sure OQAP defs and uses happen in the same clause

2013-11-03 Thread Vincent Lejeune
I have put some comments below but otherwise the patch is reviewed-by: Vincent Lejeune >-- next part -- >>From 2eb4673e3184af0e077cbe30a594602441e8d98e Mon Sep 17 00:00:00 2001 >From: >>Tom Stellard >Date: Thu, 5 Sep 2013 08:59:32 -0700 >Subject: [PATCH] R600: Fix sched

[Mesa-dev] [PATCH] R600: Use function inputs to represent data stored in gpr

2013-11-03 Thread Vincent Lejeune
--- lib/Target/R600/AMDGPUCallingConv.td| 15 - lib/Target/R600/R600ISelLowering.cpp| 55 ++-- lib/Target/R600/R600Instructions.td | 2 +- lib/Target/R600/R600Intrinsics.td | 8 ++- test/CodeGen/R600/big_alu.ll

[Mesa-dev] [PATCH] r600/llvm: Store inputs in function arguments

2013-11-03 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 125 - src/gallium/drivers/r600/r600_shader.c | 2 + src/gallium/drivers/radeon/radeon_llvm.h | 1 + .../drivers/radeon/radeon_setup_tgsi_llvm.c| 2 +- 4 files changed, 75 insertions(+)

Re: [Mesa-dev] [PATCH 1/2] winsys/radeon: Add a work around for drmGetVersion() when using render nodes

2013-11-03 Thread David Herrmann
Hi Tom On Tue, Oct 29, 2013 at 9:00 PM, Tom Stellard wrote: > From: Tom Stellard > > DRM_IOCTL_VERSION is not currently a legal ioctl for render nodes, so we > need to hard code the drm version when drmGetVersion() returns NULL. > --- This is already in 3.12: https://git.kernel.org/cgit/linu

[Mesa-dev] [Bug 34495] Selecting objects in Blender 2.56 slow due the software gl_select mode

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34495 --- Comment #75 from kao_chen --- The Mesa packages 9.2.2 arrived yesterday in Debian Testing. I am no longer affected by this bug in Blender. I can switch from a big object to another easily. I have used Blender more than two hours now, It's wo