[Mesa-dev] [PATCH] nvc0: bind a fake tess control program when there isn't one available

2015-07-25 Thread Ilia Mirkin
Apparently this is necessary in order for tess factors to work in a tess eval program without a tess control program bound. Probably because it uses the fake program's shader header to work out the number of patch constants. Fixes vs-tes-tessinner-tessouter-inputs Signed-off-by: Ilia Mirkin

Re: [Mesa-dev] [PATCH] radeonsi: add fine derivate control (v2.1)

2015-07-25 Thread Marek Olšák
Reviewed-by: Marek Olšák marek.ol...@amd.com Marek On Sat, Jul 25, 2015 at 2:14 AM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com This adds support for fine derivatives and enables ARB_derivative_control on radeonsi. (just fell out of my working out

[Mesa-dev] [PATCH 1/3] gallium: add an interface for dumping debug driver state

2015-07-25 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com --- src/gallium/include/pipe/p_context.h | 12 src/gallium/include/pipe/p_defines.h | 5 + 2 files changed, 17 insertions(+) diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index f89dae9..52f51f6

[Mesa-dev] [PATCH 3/3] gallium/ddebug: new pipe for hang detection and driver state dumping

2015-07-25 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com This is like identity or trace, but simpler. It doesn't wrap most states. Run with: GALLIUM_DDEBUG=1000 [executable] where executable is the app and 1000 is in miliseconds, meaning that the context will be considered hung if a fence fails to signal in 1000

[Mesa-dev] [PATCH 2/3] gallium: add flags parameter to pipe_screen::context_create

2015-07-25 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com This allows creating compute-only and debug contexts. --- src/gallium/auxiliary/util/u_tests.c | 2 +- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c | 2 +- src/gallium/drivers/freedreno/a2xx/fd2_context.c | 2 +-

[Mesa-dev] [PATCH V2] glsl: fix atomic buffer index for bindings other than 0

2015-07-25 Thread Timothy Arceri
Since commit c0cd5b var-data.binding was being used as a replacement for atomic buffer index, but they don't have to be the same value they just happen to end up the same when binding is 0. Now we store atomic buffer index in the unused var-data.index to avoid the extra memory of putting back the

[Mesa-dev] [PATCH] mesa: add missing queries for ARB_direct_state_access

2015-07-25 Thread Daniel Scharrer
--- ARB_dsa / GL 4.5 add indexed GL_TEXTURE_BINDING_* and GL_SAMPLER_BINDING queries, as well as a GL_TEXTURE_TARGET query on texture objects. The implementation for the GL_TEXTURE_BINDING_* and GL_SAMPLER_BINDING queries is based on their non-indexed variants. To map the binding enum to a

Re: [Mesa-dev] [PATCH V2] glsl: fix atomic buffer index for bindings other than 0

2015-07-25 Thread Alejandro Piñeiro
Hi Timothy, thanks for CCing me. Just to say that it looks good to me. And FWIW, with this patch, the piglit subtest included on the second version of my patch (second version after the first review of Ian Romanick) here: http://lists.freedesktop.org/archives/piglit/2015-May/015979.html pass

[Mesa-dev] [PATCH 3/3 v4.1] clover: add clLinkProgramm (CL 1.2)

2015-07-25 Thread EdB
--- src/gallium/state_trackers/clover/api/program.cpp | 33 +++ 1 file changed, 33 insertions(+) diff --git a/src/gallium/state_trackers/clover/api/program.cpp b/src/gallium/state_trackers/clover/api/program.cpp index 553bc83..086f952 100644 ---

Re: [Mesa-dev] Using the right context in st_texture_release_all_sampler_views()

2015-07-25 Thread Marek Olšák
FYI, Unreal Engine demos reproduce this issue too: https://wiki.unrealengine.com/Linux_Demos Marek On Thu, Jul 23, 2015 at 6:59 PM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Thu, Jul 23, 2015 at 9:55 AM, Alex Deucher alexdeuc...@gmail.com wrote: On Wed, Jul 22, 2015 at 6:32

Re: [Mesa-dev] [PATCH V2] glsl: fix atomic buffer index for bindings other than 0

2015-07-25 Thread Erik Faye-Lund
On Sat, Jul 25, 2015 at 4:24 PM, Timothy Arceri t_arc...@yahoo.com.au wrote: Since commit c0cd5b var-data.binding was being used as a replacement for atomic buffer index, but they don't have to be the same value they just happen to end up the same when binding is 0. Now we store atomic buffer

Re: [Mesa-dev] [PATCH 3/3] clover: add clLinkProgramm (CL 1.2)

2015-07-25 Thread Francisco Jerez
EdB edb+m...@sigluy.net writes: --- src/gallium/state_trackers/clover/api/program.cpp | 35 ++ src/gallium/state_trackers/clover/core/error.hpp | 7 + src/gallium/state_trackers/clover/core/program.cpp | 4 +++

[Mesa-dev] [Bug 91387] Mesa 10.6.1 implementation error: invalid target in _swrast_choose_texture_sample_func

2015-07-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91387 --- Comment #6 from Michael Godfrey michaeldgodf...@gmail.com --- The Octave developer for this code made a change based on: I attached a preliminary patch that avoids using the GL_SELECT mechanism when we are only looking for axes objects.

Re: [Mesa-dev] [PATCH] clover: Pass image attributes to the kernel

2015-07-25 Thread Francisco Jerez
Zoltan Gilian zoltan.gil...@gmail.com writes: Read-only and write-only image arguments are recognized and distinguished. Attributes of the image arguments are passed to the kernel as implicit arguments. --- src/gallium/state_trackers/clover/core/kernel.cpp | 46 ++-