[Mesa-dev] [Bug 73512] [clover] mesa.icd. should contain full path

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73512 Igor Gnatenko i.gnatenko.br...@gmail.com changed: What|Removed |Added Attachment #92091|0 |1 is

Re: [Mesa-dev] [PATCH 02/21] glsl: protect locale_t with a mutex

2014-05-05 Thread Kenneth Graunke
On 05/04/2014 02:14 PM, Chia-I Wu wrote: On Sat, May 3, 2014 at 1:52 AM, Ian Romanick i...@freedesktop.org wrote: On 04/22/2014 01:58 AM, Chia-I Wu wrote: There may be two contexts compiling shaders at the same time. locale_t needs to be protected. Rather than calling

Re: [Mesa-dev] [PATCH 13/14] mesa: Split the shader texture update logic from fixed function.

2014-05-05 Thread Marek Olšák
Good point. No, we don't. Marek On Fri, Apr 25, 2014 at 8:07 PM, Eric Anholt e...@anholt.net wrote: Marek Olšák mar...@gmail.com writes: Have you considered disabling creating the fallback textures for hardware which can return the correct constant for a texture fetch if a texture isn't

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

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Bug 77449 depends on bug 77207, which changed state. Bug 77207 Summary: [ivb/hsw] batch overwritten with garbage https://bugs.freedesktop.org/show_bug.cgi?id=77207 What|Removed |Added

[Mesa-dev] [Bug 78298] New: Don't enforce gallium-pipe shared library when enable_xa is set to yes

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78298 Priority: medium Bug ID: 78298 Assignee: mesa-dev@lists.freedesktop.org Summary: Don't enforce gallium-pipe shared library when enable_xa is set to yes Severity: normal

[Mesa-dev] [Bug 78298] Don't enforce gallium-pipe shared library when enable_xa is set to yes

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78298 --- Comment #1 from NicolasChauvet kwiz...@gmail.com --- Created attachment 98481 -- https://bugs.freedesktop.org/attachment.cgi?id=98481action=edit Don-t-enforce-gallium-pipe-loader-when-xa-is-enabled -- You are receiving this mail because:

[Mesa-dev] [Bug 78298] Don't enforce gallium-pipe shared library when enable_xa is set to yes

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78298 --- Comment #2 from Emil Velikov emil.l.veli...@gmail.com --- As of Mesa 10.2 we're building libxatracker as a standalone library, that is not specific to vmware's virtual gpu. If order to use any hardware pipe-driver we need the corresponding

Re: [Mesa-dev] [PATCH] gallium: remove enum numbers from shader cap queries

2014-05-05 Thread Brian Paul
On 05/03/2014 07:43 AM, Michel Dänzer wrote: On 03.05.2014 22:29, Brian Paul wrote: The enum numbers were just cruft. I disagree. Nothing's changed about the reason I added them in the first place: When a driver is queried for a cap it doesn't know about, it prints an error message containing

[Mesa-dev] [Bug 78298] Don't enforce gallium-pipe shared library when enable_xa is set to yes

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78298 Igor Gnatenko i.gnatenko.br...@gmail.com changed: What|Removed |Added CC|

Re: [Mesa-dev] [PATCH] drawtex: resolve glDrawTexfOES extension function

2014-05-05 Thread Brian Paul
On 05/04/2014 11:22 PM, Tapani Pälli wrote: Bugzilla:

Re: [Mesa-dev] [PATCH 13/14] mesa: Split the shader texture update logic from fixed function.

2014-05-05 Thread Brian Paul
On 04/25/2014 12:07 PM, Eric Anholt wrote: Marek Olšák mar...@gmail.com writes: Have you considered disabling creating the fallback textures for hardware which can return the correct constant for a texture fetch if a texture isn't bouńd? No, I hadn't. Given that nobody ever intentionally

Re: [Mesa-dev] [PATCH 03/11] i965: Move has_hiz from the slice to the level.

2014-05-05 Thread Chad Versace
On Thu, May 01, 2014 at 03:57:28PM -0700, Kenneth Graunke wrote: On 05/01/2014 02:21 PM, Eric Anholt wrote: The value depends only on the level, so no need to store the bool per slice. Shrinks intel_mipmap_slice from 24 bytes to 16, while slotting into an existing hole in

[Mesa-dev] [PATCH 2/3] tgsi: add missing switch cases in tgsi_exec_get_shader_param()

2014-05-05 Thread Brian Paul
Add cases for PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS and PIPE_SHADER_CAP_PREFERRED_IR. Remove default switch case so we learn of missing cases at compile time. --- src/gallium/auxiliary/tgsi/tgsi_exec.h | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[Mesa-dev] [PATCH 3/3] svga: add switch case for PIPE_SHADER_CAP_PREFERRED_IR, remove default case

2014-05-05 Thread Brian Paul
Remove default switch case so we're warned of missing cases at compile time. --- src/gallium/drivers/svga/svga_screen.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index

[Mesa-dev] [PATCH 1/3] gallivm: add PIPE_SHADER_CAP_PREFERRED_IR switch case, remove default

2014-05-05 Thread Brian Paul
Return PIPE_SHADER_IR_TGSI for the PIPE_SHADER_CAP_PREFERRED_IR query. Remove default switch case so we learn of missing switch cases at compile time. --- src/gallium/auxiliary/gallivm/lp_bld_limits.h |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 02/21] glsl: protect locale_t with a mutex

2014-05-05 Thread Ian Romanick
On 05/04/2014 02:14 PM, Chia-I Wu wrote: On Sat, May 3, 2014 at 1:52 AM, Ian Romanick i...@freedesktop.org wrote: On 04/22/2014 01:58 AM, Chia-I Wu wrote: There may be two contexts compiling shaders at the same time. locale_t needs to be protected. Rather than calling

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

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Bug 77449 depends on bug 77207, which changed state. Bug 77207 Summary: [ivb/hsw] batch overwritten with garbage https://bugs.freedesktop.org/show_bug.cgi?id=77207 What|Removed |Added

Re: [Mesa-dev] [PATCH] drawtex: resolve glDrawTexfOES extension function

2014-05-05 Thread Ian Romanick
Reviewed-by: Ian Romanick ian.d.roman...@intel.com Thanks Tapani. On 05/04/2014 10:22 PM, Tapani Pälli wrote: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78101 Signed-off-by: Tapani Pälli tapani.pa...@intel.com --- src/egl/opengles1/drawtex.c | 10 +- 1 file changed, 9

[Mesa-dev] [Bug 78258] make check link_varyings.gl_ClipDistance failure

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78258 Ian Romanick i...@freedesktop.org changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment

Re: [Mesa-dev] [PATCH] glsl: fix bogus layout qualifier warnings

2014-05-05 Thread Anuj Phogat
On Sun, May 4, 2014 at 10:09 PM, Tapani Pälli tapani.pa...@intel.com wrote: Print out GL_ARB_explicit_attrib_location warnings only when parsing attribute that uses location qualifier. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77245 Signed-off-by: Tapani Pälli

[Mesa-dev] [PATCH] linker: Fix consumer_inputs_with_locations indexing

2014-05-05 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com In an earlier incarnation of populate_consumer_input_sets and get_matching_input, the consumer_inputs_with_locations array was indexed using the user-specified location. In that version, only user-defined varyings were included in the array. In the

[Mesa-dev] [PATCH v2 0/3] Software rasterizer in the DRM EGL platform

2014-05-05 Thread Giovanni Campagna
This is my second attempt to bring swrast to the DRM EGL platform. It includes both the legacy loader, which will work with any swrast driver, and the new gallium winsys which works with the DRI2 loader and softpipe/llvmpipe. ___ mesa-dev mailing list

[Mesa-dev] [PATCH v2 3/3] Add a new capabilities for drivers that can't share buffers

2014-05-05 Thread Giovanni Campagna
From: Giovanni Campagna gcampa...@src.gnome.org The kms-dri swrast driver cannot share buffers using the GEM, so it must tell the loader to disable extensions relying on that, without disabling the image DRI extension altogheter (which would prevent the loader from working at all). This requires

Re: [Mesa-dev] [PATCH] st/egl: Flush resources before presentation (android - bug 77966)

2014-05-05 Thread Paulo Sergio
Ok. Name is Paulo Sergio Travaglia. Shall I resend the patch? Thanks Em 04/05/2014 18:40, Chia-I Wu olva...@gmail.com escreveu: On Sun, May 4, 2014 at 7:02 PM, Marek Olšák mar...@gmail.com wrote: Reviewed-by: Marek Olšák marek.ol...@amd.com Looks good to me too, except please use your real

[Mesa-dev] [PATCH v2 2/3] Add a dumb drm/kms winsys for software rendering

2014-05-05 Thread Giovanni Campagna
From: Giovanni Campagna gcampa...@src.gnome.org Add a new winsys and target that can be used with a dri2 state tracker and loader instead of drisw. This allows to use gbm as a dri2/image loader and avoid the extra copy from the backbuffer to the shadow frontbuffer. The new driver is called

[Mesa-dev] Compiling Mesa/softpipe for Windows

2014-05-05 Thread André Lochotzke
Hello, I’m trying to get OpenGL 3.3 working on Windows via the softpipe driver. Can somebody tell me the steps to successfully (cross) compile it with either MinGW or Visual Studio. I seem to always run into problems. Thanks André ___ mesa-dev

[Mesa-dev] [PATCH v2 1/3] Add support for swrast to the DRM EGL platform

2014-05-05 Thread Giovanni Campagna
From: Giovanni Campagna gcampa...@src.gnome.org Turn GBM into a swrast loader (providing putimage/getimage backed by a dumb KMS buffer). This allows to run KMS+DRM GL applications (such as weston or mutter-wayland) unmodified on cards that don't have any client side HW acceleration component but

Re: [Mesa-dev] Compiling Mesa/softpipe for Windows

2014-05-05 Thread Brian Paul
On 05/04/2014 01:26 PM, André Lochotzke wrote: Hello, I’m trying to get OpenGL 3.3 working on Windows via the softpipe driver. Can somebody tell me the steps to successfully (cross) compile it with either MinGW or Visual Studio. I seem to always run into problems. The softpipe driver only

[Mesa-dev] Mesa 10.1.2

2014-05-05 Thread Carl Worth
Mesa 10.1.2 has been released. Mesa 10.1.2 is a bug fix release which fixes bugs fixed since the 10.1.1 release, (see below for a list of changes). The tag in the git repository for Mesa 10.1.2 is 'mesa-10.1.2'. Mesa 10.1.2 is available for download at ftp://freedesktop.org/pub/mesa/10.1.2/

Re: [Mesa-dev] Mesa 10.2 release candidate 1

2014-05-05 Thread Emil Velikov
On 03/05/14 05:48, Ian Romanick wrote: Mesa 10.2 release candidate 1 is now available for testing. The current plan of record is to have an additional release candidate each Friday until the 10.2 release on Friday, May 28th. The tag in the GIT repository for Mesa 10.2-rc1 is

Re: [Mesa-dev] [Mesa-announce] Mesa 10.2 release candidate 1

2014-05-05 Thread Carl Worth
Ian Romanick i...@freedesktop.org writes: Mesa 10.2 release candidate 1 is now available for testing. The current plan of record is to have an additional release candidate each Friday until the 10.2 release on Friday, May 28th. With the 10.2 branch open now, I'd like to remind everyone that

Re: [Mesa-dev] [PATCH] mesa: Don't use derived vertex state in api_arrayelt.c

2014-05-05 Thread Fredrik Höglund
On Friday 28 February 2014, Fredrik Höglund wrote: Cc: 10.1 mesa-sta...@lists.freedesktop.org --- src/mesa/main/api_arrayelt.c | 111 ++- 1 file changed, 57 insertions(+), 54 deletions(-) It's possible that this patch fixes a segfault in FlightGear

[Mesa-dev] [PATCH 1/2] configure: error out of building GBM without dri

2014-05-05 Thread Emil Velikov
Both backends require --enable-dri, and building an empty libgbm makes little to no sense. Error out at configure to prevent the user from shooting themselves in the foot. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78225 Cc: 10.1 10.2 mesa-sta...@lists.freedesktop.org Signed-off-by:

[Mesa-dev] [PATCH 2/2] docs: Add a note about llvm-shared-libs and libxatracker

2014-05-05 Thread Emil Velikov
Both changes landed in 10.2, and for people not following the development cycle these will come as a surprise. Note that the pipe_* interface is not stable. Cc: 10.2 mesa-sta...@lists.freedesktop.org Signed-off-by: Emil Velikov emil.l.veli...@gmail.com --- Can someone check if the wording makes

Re: [Mesa-dev] [PATCH 00/21] deferred and threaded glCompileShader

2014-05-05 Thread Fredrik Höglund
On Tuesday 22 April 2014, Chia-I Wu wrote: Hi list, This series adds a thread pool to the GLSL compiler, and a drirc option to defer glCompileShader calls to the pool. The goal is to reduce the start-up time of applications that are aware of this feature. That is, applications that

Re: [Mesa-dev] [PATCH] linker: Fix consumer_inputs_with_locations indexing

2014-05-05 Thread Kenneth Graunke
On 05/05/2014 10:56 AM, Ian Romanick wrote: From: Ian Romanick ian.d.roman...@intel.com In an earlier incarnation of populate_consumer_input_sets and get_matching_input, the consumer_inputs_with_locations array was indexed using the user-specified location. In that version, only

Re: [Mesa-dev] [PATCH 02/21] glsl: protect locale_t with a mutex

2014-05-05 Thread Kenneth Graunke
On 05/05/2014 10:01 AM, Ian Romanick wrote: On 05/04/2014 02:14 PM, Chia-I Wu wrote: On Sat, May 3, 2014 at 1:52 AM, Ian Romanick i...@freedesktop.org wrote: On 04/22/2014 01:58 AM, Chia-I Wu wrote: There may be two contexts compiling shaders at the same time. locale_t needs to be

[Mesa-dev] [PATCH 5/5] meta: Only clear the requested color buffers.

2014-05-05 Thread Kenneth Graunke
This path is used to implement both glClear and glClearBuffer; the latter is only supposed to clear particular buffers. Core Mesa provides us that information in the buffers bitmask; we must only clear buffers mentioned there. To accomplish this, we save/restore the color draw buffers state, and

[Mesa-dev] [PATCH 1/5] i965: Always intel_prepare_render() after invalidating front buffers.

2014-05-05 Thread Kenneth Graunke
Fixes glean/texture_srgb, which hit recursive-flush prevention assertions in vbo_exec_FlushVertices. This probably hurts the performance of front buffer rendering, but very few people in their right mind do front buffer rendering. Fixes Glean's texture_srgb test. Cc: 10.2

[Mesa-dev] [PATCH 3/5] meta: Add a new MESA_META_DRAW_BUFFERS bit.

2014-05-05 Thread Kenneth Graunke
This will be used for saving/restoring the glDrawBuffers state. For now, make sure that existing users of MESA_META_ALL don't get the new bit, since they probably won't want it. Cc: 10.2 mesa-sta...@lists.freedesktop.org Signed-off-by: Kenneth Graunke kenn...@whitecape.org ---

[Mesa-dev] [PATCH 4/5] meta: Add infrastructure for saving/restoring the DrawBuffers state.

2014-05-05 Thread Kenneth Graunke
Sometimes we need to configure what draw buffers we render to, without creating a new FBO. This path will make that possible. Cc: 10.2 mesa-sta...@lists.freedesktop.org Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/common/meta.c | 39

[Mesa-dev] [PATCH 2/5] meta: Unify the GLSL and fixed-function clear paths.

2014-05-05 Thread Kenneth Graunke
The majority of _mesa_meta_Clear and _mesa_meta_glsl_Clear was the same; adding a boolean for whether to use GLSL allows us to share most of it without polluting either path too much. Tested for regressions by hacking i965 to always use the non-GLSL path. Cc: 10.2

[Mesa-dev] [Bug 78318] New: [swrast] piglit glsl-kwin-blur-1 regression

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78318 Priority: medium Bug ID: 78318 Keywords: regression CC: i...@freedesktop.org Assignee: mesa-dev@lists.freedesktop.org Summary: [swrast] piglit glsl-kwin-blur-1 regression

Re: [Mesa-dev] [PATCH] mesa: Don't use derived vertex state in api_arrayelt.c

2014-05-05 Thread Brian Paul
On Mon, May 5, 2014 at 2:49 PM, Fredrik Höglund fred...@kde.org wrote: On Friday 28 February 2014, Fredrik Höglund wrote: Cc: 10.1 mesa-sta...@lists.freedesktop.org --- src/mesa/main/api_arrayelt.c | 111 ++- 1 file changed, 57 insertions(+), 54

Re: [Mesa-dev] [PATCH 1/5] i965: Always intel_prepare_render() after invalidating front buffers.

2014-05-05 Thread Anuj Phogat
On Mon, May 5, 2014 at 3:50 PM, Kenneth Graunke kenn...@whitecape.org wrote: Fixes glean/texture_srgb, which hit recursive-flush prevention assertions in vbo_exec_FlushVertices. This probably hurts the performance of front buffer rendering, but very few people in their right mind do front

[Mesa-dev] [PATCH] glsl_to_tgsi: remove unnecessary dead code elimination pass

2014-05-05 Thread Bryan Cain
With the more advanced dead code elimination pass already being run, eliminate_dead_code was making no difference in instruction count, and had an undesirable O(n^2) runtime. So remove it and rename eliminate_dead_code_advanced to eliminate_dead_code. ---

[Mesa-dev] [PATCH 0/2] Varying packing support for arrays_of_arrays

2014-05-05 Thread Timothy Arceri
Patch 1 is untested as the i965 backend supports packing but it should be easy to review. Patch 2 has been tested with an updated version [1] of the simple packing piglit test. [1] http://lists.freedesktop.org/archives/piglit/2014-May/010639.html ___

[Mesa-dev] [PATCH 1/2] glsl: calculate component size for arrays of arrays when varying packing disabled

2014-05-05 Thread Timothy Arceri
Signed-off-by: Timothy Arceri t_arc...@yahoo.com.au --- src/glsl/link_varyings.cpp | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/glsl/link_varyings.cpp b/src/glsl/link_varyings.cpp index 45f1b10..5a18e40 100644 --- a/src/glsl/link_varyings.cpp +++

[Mesa-dev] [PATCH 2/2] glsl: support packing of arrays of arrays

2014-05-05 Thread Timothy Arceri
Signed-off-by: Timothy Arceri t_arc...@yahoo.com.au --- src/glsl/lower_packed_varyings.cpp | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/glsl/lower_packed_varyings.cpp b/src/glsl/lower_packed_varyings.cpp index e865474..dd2e22e 100644 ---