Re: [Mesa-dev] [PATCH V4] mesa: add SSE optimisation for glDrawElements

2014-11-02 Thread Timothy Arceri
On Sat, 2014-11-01 at 23:15 +, Bruno Jimenez wrote: > On Wed, 2014-10-29 at 23:09 +1100, Timothy Arceri wrote: > > On Wed, 2014-10-29 at 16:58 +1100, Timothy Arceri wrote: > > > On Tue, 2014-10-28 at 22:14 +, Bruno Jimenez wrote: > > > > Hi, > > > > > > > > I haven't had time to play yet w

[Mesa-dev] [PATCH] clover: fix clBuildProgram Piglit regression

2014-11-02 Thread EdB
should trigger CL_INVALID_VALUE if device_list is NULL and num_devices is greater than zero. introduced by e5468dfa523be2a7a0d04bb9efcf8ae780957563 --- src/gallium/state_trackers/clover/api/program.cpp | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/g

[Mesa-dev] [PATCH] Set llvmpipe and softpipe note only for MSAA.

2014-11-02 Thread Romain Failliot
Hi! Sorry if I'm doing this wrong, first time here. I've tried git send-mail, but I don't have an SMTP server so it wasn't working. Here is the simple commit (and the patch attached): Set llvmpipe and softpipe note only for MSAA. Right now, in mesamatrix.net, the footnote is set so that it seems

Re: [Mesa-dev] [PATCH] clover: fix clBuildProgram Piglit regression

2014-11-02 Thread Francisco Jerez
EdB writes: > should trigger CL_INVALID_VALUE > if device_list is NULL and num_devices is greater than zero. > > introduced by e5468dfa523be2a7a0d04bb9efcf8ae780957563 Tom, can you just drop the the vector of devices parameter and validate the d_devs/num_devs arguments from validate_build_progra

[Mesa-dev] [PATCH v3 0/9] Gallium Nine

2014-11-02 Thread David Heidelberg
Hello everyone! First I'd like thank you for great feedback. Sending third Gallium Nine merge request. We reduced number of commits to necessary minimum. I hope all proposed changes are incorporated in v3. Thank you Axel Davy (2): nine: Add drirc options (v2) nine: Implement threadpool C

[Mesa-dev] [PATCH v3 1/9] tgsi/ureg: add ureg_UARL shortcut (v2)

2014-11-02 Thread David Heidelberg
v2: moved in in same order as in p_shader_tokens (thanks Brian) Signed-off-by: David Heidelberg --- src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h b/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h index

[Mesa-dev] [PATCH v3 2/9] winsys/sw/wrapper: implement is_displaytarget_format_supported for swrast

2014-11-02 Thread David Heidelberg
Signed-off-by: David Heidelberg --- src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c index e552ac2..a6bf498 100644 --- a/sr

[Mesa-dev] [PATCH v3 4/9] gallium/auxiliary: add inc and dec alternative with return (v2)

2014-11-02 Thread David Heidelberg
At this moment we use only zero or positive values. v2: Implement it for also for Solaris, MSVC assembly and enable for other combinations. Signed-off-by: David Heidelberg --- src/gallium/auxiliary/util/u_atomic.h | 78 +++ 1 file changed, 78 insertions(+)

[Mesa-dev] [PATCH v3 3/9] gallium/auxiliary: implement sw_probe_wrapped

2014-11-02 Thread David Heidelberg
Implement pipe_loader_sw_probe_wrapped which allows to use the wrapped software renderer backend when using the pipe loader. Signed-off-by: David Heidelberg --- src/gallium/auxiliary/pipe-loader/pipe_loader.h| 11 +++ src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 22

[Mesa-dev] [PATCH v3 6/9] gallium/auxiliary: add dump functions for bind and transfer flags

2014-11-02 Thread David Heidelberg
v2: rename and extend support with code for C11 and MSVC (thanks to Brian) Signed-off-by: David Heidelberg --- src/gallium/auxiliary/util/u_dump.h | 6 ++ src/gallium/auxiliary/util/u_dump_defines.c | 86 + 2 files changed, 92 insertions(+) diff --git a/s

[Mesa-dev] [PATCH v3 5/9] gallium/auxiliary: add contained and rect checks (v3)

2014-11-02 Thread David Heidelberg
v3: thanks to Brian, improved coding style, also glennk helped spot few things (unsigned -> int, two constify) Signed-off-by: David Heidelberg --- src/gallium/auxiliary/util/u_box.h | 230 src/gallium/auxiliary/util/u_rect.h | 28 + 2 files changed,

[Mesa-dev] [PATCH v3 8/9] nine: Add drirc options (v2)

2014-11-02 Thread David Heidelberg
Implements vblank_mode and throttling, which allows us change default ratio between framerate and input lag. Signed-off-by: David Heidelberg Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/adapter9.h | 1 + src/gallium/state_trackers/nine/swapchain9.c| 5 src/gall

[Mesa-dev] [PATCH v3 7/9] nine: Add state tracker nine for Direct3D9 (v2)

2014-11-02 Thread David Heidelberg
This patch is too big for ML, please see it in https://github.com/iXit/Mesa-3D/commits/for-upstream-3 . ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH v3 9/9] nine: Implement threadpool

2014-11-02 Thread David Heidelberg
DRI_PRIME setups have different issues due the lack of dma-buf fences support in the drivers. For DRI3 DRI_PRIME, a race can appear, making tearings visible, or worse showing older content than expected. Until dma-buf fences are well supported (and by all drivers), an alternative is to send the bu

[Mesa-dev] [Bug 85608] Account request for David Heidelberg

2014-11-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=85608 David Heidelberg (okias) changed: What|Removed |Added Component|New Accounts|Other Assignee|site

[Mesa-dev] [PATCH] i965/chv: Increase VS and GS thread counts

2014-11-02 Thread Ben Widawsky
AFAICT the number of threads is 80, not 70. I am not sure if Ken knows something I do not. Signed-off-by: Ben Widawsky Cc: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_device_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_device

Re: [Mesa-dev] [PATCH] i965/chv: Increase VS and GS thread counts

2014-11-02 Thread Kenneth Graunke
On Sunday, November 02, 2014 11:43:24 AM Ben Widawsky wrote: > AFAICT the number of threads is 80, not 70. I am not sure if Ken knows > something I do not. > > Signed-off-by: Ben Widawsky > Cc: Kenneth Graunke > --- > src/mesa/drivers/dri/i965/brw_device_info.c | 4 ++-- > 1 file changed, 2 ins

Re: [Mesa-dev] [PATCH] clover: fix clBuildProgram Piglit regression

2014-11-02 Thread Tom Stellard
On Sun, Nov 02, 2014 at 08:03:31PM +0200, Francisco Jerez wrote: > EdB writes: > > > should trigger CL_INVALID_VALUE > > if device_list is NULL and num_devices is greater than zero. > > > > introduced by e5468dfa523be2a7a0d04bb9efcf8ae780957563 > > Tom, can you just drop the the vector of device