Re: [Mesa-dev] [PATCH 1/5] i965/query: Set Ready flag in gen6_queryobj_get_results().

2014-12-14 Thread Kenneth Graunke
On Saturday, December 13, 2014 08:21:35 PM Ben Widawsky wrote: > On Fri, Dec 12, 2014 at 11:15:38PM -0800, Kenneth Graunke wrote: > > q->Ready means that the results are in, and core Mesa is free to return > > them to the application. gen6_queryobj_get_results() is a natural place > > to set that

[Mesa-dev] [PATCH 3/7] clover: split module::section::text

2014-12-14 Thread EdB
OpenCL 1.2 make distinction between 3 binaries kind: executable as produce by clBuildProgram and clLinkProgam compiled as produce by clCompileProgram library as produce by clLinkProgam with -create-library option --- src/gallium/state_trackers/clover/core/kernel.cpp | 2 +- src/gallium/stat

[Mesa-dev] [PATCH 5/7] clover: seperate build and compile

2014-12-14 Thread EdB
they produce different binaries --- src/gallium/state_trackers/clover/api/program.cpp | 2 +- .../state_trackers/clover/core/compiler.hpp| 12 ++- src/gallium/state_trackers/clover/core/program.cpp | 48 +++-- src/gallium/state_trackers/clover/core/program.hpp | 6 +- .../state_

[Mesa-dev] [PATCH 4/7] clover: clCreateKernel now checks for executable

2014-12-14 Thread EdB
clCreateKernel should check that there is a least one executable available, otherwise it has to trigger CL_INVALID_PROGRAM_EXECUTABLE --- src/gallium/state_trackers/clover/api/kernel.cpp | 3 +++ src/gallium/state_trackers/clover/core/program.cpp | 11 +++ src/gallium/state_trackers/clo

[Mesa-dev] [PATCH 2/7] clover: Dump the OpenCL C code earlier

2014-12-14 Thread EdB
--- src/gallium/state_trackers/clover/llvm/invocation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 10dbe08..510e195 100644 --- a/src/gallium/state_t

[Mesa-dev] [PATCH 7/7] clover: add clLinkProgram

2014-12-14 Thread EdB
--- src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- src/gallium/state_trackers/clover/api/program.cpp | 31 + .../state_trackers/clover/core/compiler.hpp| 6 + src/gallium/state_trackers/clover/core/error.hpp | 7 ++ src/gallium/state_trackers/clover/core/program.c

[Mesa-dev] [PATCH 6/7] clover: override ret_object

2014-12-14 Thread EdB
Return an API object from an intrusive smart reference Clover object, incrementing the reference count of the object. --- src/gallium/state_trackers/clover/api/util.hpp | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/gallium/state_trackers/clover/api/util.hpp b/src/gallium/st

[Mesa-dev] [PATCH] clover: add clLinkProgram

2014-12-14 Thread EdB
--- src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- src/gallium/state_trackers/clover/api/program.cpp | 31 + .../state_trackers/clover/core/compiler.hpp| 6 + src/gallium/state_trackers/clover/core/error.hpp | 7 ++ src/gallium/state_trackers/clover/core/program.c

[Mesa-dev] [PATCH 1/7] clover: move CLOVER_DEBUG stuff into anonymous ns

2014-12-14 Thread EdB
--- .../state_trackers/clover/llvm/invocation.cpp | 26 +- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 5265d10..10dbe08 100644 --- a/src

[Mesa-dev] [PATCH 0/7] clover: add clLinkProgram

2014-12-14 Thread EdB
Hello, This serie add the neccesary bits needed for clLinkProgram. Patches from 1 to 2 are llvm/invocation.cpp little reorganisation. Patches 3 to 5 rework our clCompileProgram implementation. Patch 6 is for returning clover smart ptr to the API side. Patch 7 finaly add clLinkProgram. Patches fro

Re: [Mesa-dev] [PATCH] clover: add clLinkProgram

2014-12-14 Thread EdB
On Sunday, December 14, 2014 11:31:28 AM EdB wrote: This one went out by mistake (I forgot to remove -1 option on git send-email). It's the same as [Patch 7/7] > --- > src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- > src/gallium/state_trackers/clover/api/program.cpp | 31 + >

[Mesa-dev] [Bug 87302] d3dadapter.so file name has no lib prefix

2014-12-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87302 Bug ID: 87302 Summary: d3dadapter.so file name has no lib prefix Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity:

[Mesa-dev] Mesa 10.4.0 released

2014-12-14 Thread Emil Velikov
Mesa 10.4.0 has been released! Mesa 10.4.0 is a feature release that includes many updates and enhancements. The full list is available in the release notes file in docs/relnotes/10.4.html. The tag in the GIT repository for Mesa 10.4.0 is 'mesa-10.4.0'. I have verified that the tag is in the corr

[Mesa-dev] [Bug 87302] d3dadapter.so file name has no lib prefix

2014-12-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87302 --- Comment #1 from Emil Velikov --- What makes you think that it needs one ? It's not a shared library nor its meant to be linked against. It's a module that should be dlopened. -Emil P.S. It was me that intentionally removed the prefix :P --

Re: [Mesa-dev] [RFC 2/8] mesa: bump required GCC version to 4.1.0

2014-12-14 Thread Emil Velikov
On 12/12/14 11:46, Timothy Arceri wrote: > Signed-off-by: Timothy Arceri > --- > > Its been just under 5 years since the required version > of GCC was set at 3.3.0 at the time it was 7 years old. > > I'm proposing bumping it to 4.1.0 which is almost 9 years > old since its used in RHEL 5 whi

Re: [Mesa-dev] [PATCH] mesa: Add mesa SHA-1 functions

2014-12-14 Thread Emil Velikov
On 11/12/14 21:51, Carl Worth wrote: > From: Kristian Høgsberg > > The upcoming shader cache uses the SHA-1 algorithm for cryptographic > naming. These new mesa_sha1 functions are implemented with the nettle > library. > --- > > This patch is another in support of my upcoming shader-cache work.

Re: [Mesa-dev] [Mesa-stable] [PATCH 5/5] glx: Handle out-of-sequence swap completion events correctly.

2014-12-14 Thread Emil Velikov
Hi Mario, I've picked up patches 1-4 in master and will land them in the stable branches shortly. Gents, Can anyone spare some time and take a look at this patch. If you're planning to look into it in a few days/a week from now, kindly let me know so that I can keep the annoyance to a minimum :)

[Mesa-dev] [Bug 87302] d3dadapter.so file name has no lib prefix

2014-12-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87302 --- Comment #2 from Georgy --- Hi Emil. I try to build wine with nine patch, and wine's configure can't find -ld3dadapter, symlinking does not fix this issue. IMHO, if we use lib prefix so we can use both dlopen and linking against (if some app w

[Mesa-dev] [Bug 87302] d3dadapter.so file name has no lib prefix

2014-12-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87302 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] mesa: Add mesa SHA-1 functions

2014-12-14 Thread Matt Turner
On Sun, Dec 14, 2014 at 7:06 AM, Emil Velikov wrote: > On 11/12/14 21:51, Carl Worth wrote: >> From: Kristian Høgsberg >> >> The upcoming shader cache uses the SHA-1 algorithm for cryptographic >> naming. These new mesa_sha1 functions are implemented with the nettle >> library. >> --- >> >> This

[Mesa-dev] [PATCH] mapi: add glapi-test and shared-glapi-test to .gitignore

2014-12-14 Thread Juha-Pekka Heikkila
On the same go remove src/mapi/shared-glapi/tests/.gitignore and src/mapi/glapi/tests/.gitignore as useless. Signed-off-by: Juha-Pekka Heikkila --- src/mapi/.gitignore| 2 ++ src/mapi/glapi/tests/.gitignore| 1 - src/mapi/shared-glapi/tests/.gitignore | 2 -- 3 files

[Mesa-dev] [PATCH] util: add u_atomic_test to .gitignore

2014-12-14 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/util/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/.gitignore b/src/util/.gitignore index e945ecb..ecf4985 100644 --- a/src/util/.gitignore +++ b/src/util/.gitignore @@ -1 +1,2 @@ format_srgb.c +u_atomic_test -- 1.8.5.1 _

Re: [Mesa-dev] [PATCH] mapi: add glapi-test and shared-glapi-test to .gitignore

2014-12-14 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] util: add u_atomic_test to .gitignore

2014-12-14 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] glsl: Add gl_MaxViewports to available builtin constants

2014-12-14 Thread Maxence Le Doré
Hi Matt, To be sure to not missing something, I used a simple vertex shader I have there and had the following line in : int a = gl_MaxDrawBuffers; At runtime, everything was ok, and GLSL compiler didn't complain about anything. So there is nothing in mesa to prevent the use of some GLSL constan

[Mesa-dev] [Bug 77449] Tracker bug for all bugs related to Steam titles

2014-12-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Felix Schwarz changed: What|Removed |Added Depends on||80584 -- You are receiving this mail be

[Mesa-dev] [Bug 77449] Tracker bug for all bugs related to Steam titles

2014-12-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Sven Arvidsson changed: What|Removed |Added Depends on||87076 -- You are receiving this mail b

[Mesa-dev] [Bug 87076] Dead Island needs allow_glsl_extension_directive_midshader

2014-12-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87076 Sven Arvidsson changed: What|Removed |Added Blocks||77449 -- You are receiving this mail b

Re: [Mesa-dev] [PATCH 5/5] i965/query: Cache whether the batch references the query BO.

2014-12-14 Thread Ben Widawsky
On Fri, Dec 12, 2014 at 11:15:42PM -0800, Kenneth Graunke wrote: > Chris Wilson noted that repeated calls to CheckQuery() would call > drm_intel_bo_references(brw->batch.bo, query->bo) on each invocation, > which is expensive. Once we've flushed, we know that future batches > won't reference query

Re: [Mesa-dev] [RFC 2/8] mesa: bump required GCC version to 4.1.0

2014-12-14 Thread kallisti5
On 2014-12-14 08:45, Emil Velikov wrote: On 12/12/14 11:46, Timothy Arceri wrote: Signed-off-by: Timothy Arceri --- Its been just under 5 years since the required version of GCC was set at 3.3.0 at the time it was 7 years old. I'm proposing bumping it to 4.1.0 which is almost 9 years old

Re: [Mesa-dev] [RFC 2/8] mesa: bump required GCC version to 4.1.0

2014-12-14 Thread kallisti5
On 2014-12-14 09:22, kallisti5 wrote: On 2014-12-14 08:45, Emil Velikov wrote: On 12/12/14 11:46, Timothy Arceri wrote: Signed-off-by: Timothy Arceri --- Its been just under 5 years since the required version of GCC was set at 3.3.0 at the time it was 7 years old. I'm proposing bumping it

Re: [Mesa-dev] [RFC 6/8] mesa: remove support for GCC older than 4.1.0

2014-12-14 Thread kallisti5
On 2014-12-12 05:46, Timothy Arceri wrote: Signed-off-by: Timothy Arceri --- src/mesa/main/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 34671dc..cdc843d 100644 --- a/src/mesa/main/compiler.h +++ b/src/me

Re: [Mesa-dev] [PATCH 1/3] glx/dri3: Fix glXWaitForSbcOML() to handle targetSBC==0 correctly.

2014-12-14 Thread Keith Packard
Mario Kleiner writes: > targetSBC == 0 is a special case, which asks the function > to block until all pending OpenGL bufferswap requests have > completed. Well, it blocks until all pending glXSwapBuffersMscOML requests for the target window have completed. It seems that it's supposed to *not* c

Re: [Mesa-dev] [PATCH 2/3] glx/dri3: Track separate (ust, msc) for PresentPixmap vs. PresentNotifyMsc

2014-12-14 Thread Keith Packard
Mario Kleiner writes: > This patch fixes the problem. Yes, this looks like a good fix, but the names chosen seem very misleading to me. Given that you're splitting the functionality, using new names for the two functions will ensure that we carefully review all current uses of the values and can

Re: [Mesa-dev] [PATCH 3/3] glx/dri3: Request non-vsynced Present for swapinterval zero.

2014-12-14 Thread Keith Packard
Mario Kleiner writes: > Restores proper immediate tearing swap behaviour for > OpenGL bufferswap under DRI3/Present. Hrm. I'd love for this to be controlled by the GLX_EXT_swap_control_tear extension, but that one uses negative interval values to indicate tearing, instead of providing a new API,

Re: [Mesa-dev] [PATCH v3 05/28] mesa: Let _mesa_swizzle_and_convert take array format types instead of GL types

2014-12-14 Thread Iago Toral
On Fri, 2014-12-12 at 11:31 -0800, Jason Ekstrand wrote: > I like this patch, but I doubt it actually builds at this point in the > series. There are other callers of _mesa_swizzle_and_convert. True, I'll fix that. It does build though, that is why I did not catch this when I moved the patch to