[Mesa-dev] [Bug 95190] Tomb Raider with PostProcessing enable and Depth of Field set to Ultra has white stuff in the foreground

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95190 --- Comment #9 from Ilia Mirkin --- (In reply to Timothy Arceri from comment #8) > My thinking at the time was that we need to convert the 'const foo[]' to > 'uniform foo[]' before other optimisations passes such as

[Mesa-dev] [Bug 95190] Tomb Raider with PostProcessing enable and Depth of Field set to Ultra has white stuff in the foreground

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95190 --- Comment #8 from Timothy Arceri --- I noticed and attempted to fix this a couple of weeks ago as it was giving me problems with my shader cache work. In the end I dropped it in the too hard basket and did this work

Re: [Mesa-dev] [PATCH 02/13] nir/builder: Add bit_size info to nir_build_imm()

2016-04-28 Thread Samuel Iglesias Gonsálvez
On 28/04/16 19:40, Mark Janes wrote: > Hi Samuel, > > When this patch was pushed, it broke the vulkan build. Can you please > add "--with-vulkan-drivers=intel" to the build-test that you run before > pushing? > I'm sorry for the inconveniences caused. I didn't notice this change would break

[Mesa-dev] [PATCH demos] egl: Add es2eglkms demo

2016-04-28 Thread Dongseong Hwang
This demo shows how ChromeOS renders OpenGL ES2 via kms, drm and gbm. This demo consists of 1. kms modesetting and vsync 2. EGL and GLES2 context creation 3. gbm bo creation and EGL Image binding drm connection code is copied from eglkms. ES2 rendering code is copied from es2tri. Signed-off-by:

[Mesa-dev] [Bug 95190] Tomb Raider with PostProcessing enable and Depth of Field set to Ultra has white stuff in the foreground

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95190 --- Comment #7 from Ilia Mirkin --- OK, so the issue is that it's a different(ish) constant array every time. Code that's like const foo[] = bar foo[] foo[] foo[] becomes bar[] bar[] bar[] And so in essence we have 3

Re: [Mesa-dev] [PATCH] st/glsl_to_tgsi: reduce stack explosion in recursive expression visitor

2016-04-28 Thread Ilia Mirkin
On Tue, Apr 26, 2016 at 11:25 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > In optimized builds, visit(ir_expression *) experiences inlining with gcc that > leads the function to have a roughly 32KB stack frame. This is a problem given > that

[Mesa-dev] [PATCH] gallium/radeon: fix crash in r600_set_streamout_targets

2016-04-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Protect against dereferencing a gap in the targets array. This was triggered by a test in the Khronos CTS. Cc: "11.1 11.2" --- src/gallium/drivers/r600/r600_state_common.c | 3 ++-

Re: [Mesa-dev] [PATCH 6/6] tgsi/text: fix parsing of memory instructions

2016-04-28 Thread Dave Airlie
On 29 April 2016 at 08:56, Ilia Mirkin wrote: > Patches 3-6 are Reviewed-by: Ilia Mirkin All 6 are Reviewed-by: Dave Airlie ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH 1/9] nir/lower_outputs_to_temporaries: fixup for new foreach_block()

2016-04-28 Thread Jason Ekstrand
From: Connor Abbott Reviewed-by: Jason Ekstrand --- .../nir/nir_lower_outputs_to_temporaries.c | 28 ++ 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/src/compiler/nir/nir_lower_outputs_to_temporaries.c

[Mesa-dev] [PATCH 8/9] vc4: fixup for new nir_foreach_block()

2016-04-28 Thread Jason Ekstrand
From: Connor Abbott --- src/gallium/drivers/vc4/vc4_nir_lower_blend.c | 9 - src/gallium/drivers/vc4/vc4_nir_lower_io.c | 20 +--- src/gallium/drivers/vc4/vc4_nir_lower_txf_ms.c | 24 +++-

[Mesa-dev] [PATCH 4/9] nir/gather_info: fixup for new foreach_block()

2016-04-28 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compiler/nir/nir_gather_info.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/compiler/nir/nir_gather_info.c b/src/compiler/nir/nir_gather_info.c index 180cecc..d45b1a2 100644 ---

[Mesa-dev] [PATCH 7/9] ir3: fixup for new nir_foreach_block()

2016-04-28 Thread Jason Ekstrand
From: Connor Abbott --- .../drivers/freedreno/ir3/ir3_nir_lower_if_else.c | 51 +- 1 file changed, 21 insertions(+), 30 deletions(-) diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir_lower_if_else.c

[Mesa-dev] [PATCH 3/9] nir/lower_two_sided_color: fixup for new foreach_block()

2016-04-28 Thread Jason Ekstrand
From: Connor Abbott Reviewed-by: Jason Ekstrand --- src/compiler/nir/nir_lower_two_sided_color.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/compiler/nir/nir_lower_two_sided_color.c

[Mesa-dev] [PATCH 5/9] nir/lower_double_pack: fixup for new nir_foreach_block()

2016-04-28 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compiler/nir/nir_lower_double_packing.c | 47 + 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/src/compiler/nir/nir_lower_double_packing.c b/src/compiler/nir/nir_lower_double_packing.c index

[Mesa-dev] [PATCH 2/9] nir/lower_tex: fixup for new foreach_block()

2016-04-28 Thread Jason Ekstrand
From: Connor Abbott Reviewed-by: Jason Ekstrand --- src/compiler/nir/nir_lower_tex.c | 47 +++- 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/src/compiler/nir/nir_lower_tex.c

[Mesa-dev] [PATCH 9/9] nir: remove now-unused nir_foreach_block*_call()

2016-04-28 Thread Jason Ekstrand
From: Connor Abbott Reviewed-by: Jason Ekstrand --- src/compiler/nir/nir.h | 38 -- 1 file changed, 38 deletions(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index f5f4144..c00124f 100644 ---

[Mesa-dev] [PATCH 6/9] nir/lower_double_ops: fixup for new nir_foreach_block()

2016-04-28 Thread Jason Ekstrand
--- src/compiler/nir/nir_lower_double_ops.c | 32 +--- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/src/compiler/nir/nir_lower_double_ops.c b/src/compiler/nir/nir_lower_double_ops.c index e5cf094..33c20d2 100644 ---

[Mesa-dev] [PATCH 0/9] nir: Finsh fixing up nir_foreach_block()

2016-04-28 Thread Jason Ekstrand
I've pushed most of Connor's nir_foreach_block() patches as well as the patches to fix up the other foreach helpers. This series contains patches that are either from me and need review or interact with things that other people are actively working on. Connor Abbott (6):

Re: [Mesa-dev] [PATCH v2 8/9] i965: Implement ARB_query_buffer_object for HSW+

2016-04-28 Thread Kenneth Graunke
On Wednesday, April 27, 2016 11:01:47 PM PDT Jordan Justen wrote: > v2: > * Declare loop index variable at loop site (idr) > * Make arrays of MI_MATH instructions 'static const' (idr) > * Remove commented debug code (idr) > * Updated comment in set_query_availability (Ken) > * Replace switch

Re: [Mesa-dev] [PATCH] mesa: Fix indirect draw buffer size check on 32-bit systems.

2016-04-28 Thread Mark Janes
Reviewed-by: Mark Janes Kenneth Graunke writes: > Fixes dEQP-GLES31.functional subtests: > draw_indirect.negative.command_offset_not_in_buffer_signed32_wrap > draw_indirect.negative.command_offset_not_in_buffer_unsigned32_wrap > > These tests use

Re: [Mesa-dev] [PATCH 5/5] i965: Write a scalar TCS backend that runs in SINGLE_PATCH mode.

2016-04-28 Thread Jordan Justen
On 2016-04-21 22:32:09, Kenneth Graunke wrote: > Unlike most shader stages, the Hull Shader hardware makes us explicitly > tell it how many threads to dispatch and manually configure the channel > mask. One perk of this is that we have a lot of flexibility - we can > run it in either SIMD4x2 or

Re: [Mesa-dev] [PATCH 1/2] i965/vec4: Lower integer multiplication after optimizations.

2016-04-28 Thread Francisco Jerez
Matt Turner writes: > On Mon, Apr 18, 2016 at 5:18 PM, Matt Turner wrote: >> On Mon, Apr 18, 2016 at 5:08 PM, Ian Romanick wrote: >>> On 04/18/2016 04:14 PM, Matt Turner wrote: Analogous to commit 1e4e17fbd in the i965/fs

Re: [Mesa-dev] [PATCH 6/6] tgsi/text: fix parsing of memory instructions

2016-04-28 Thread Ilia Mirkin
Patches 3-6 are Reviewed-by: Ilia Mirkin On Thu, Apr 28, 2016 at 6:50 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Properly handle Target and Format parameters when present. > --- >

Re: [Mesa-dev] [PATCH] st/glsl_to_tgsi: fix potential crash when allocating temporaries

2016-04-28 Thread Nicolai Hähnle
Reviewed-by: Nicolai Hähnle On 28.04.2016 14:09, Samuel Pitoiset wrote: When index - t->temps_size is greater than 4096, allocating space for temporaries on demand will miserably crash. This can happen when a game uses a lot of temporaries like the recent released Tomb

[Mesa-dev] [PATCH 6/6] tgsi/text: fix parsing of memory instructions

2016-04-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Properly handle Target and Format parameters when present. --- src/gallium/auxiliary/tgsi/tgsi_text.c | 40 +++--- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c

[Mesa-dev] [PATCH 5/6] tgsi/text: add str_match_name_from_array

2016-04-28 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/auxiliary/tgsi/tgsi_text.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index 8a6645f..a707a6f 100644 ---

[Mesa-dev] [PATCH 4/6] tgsi/text: add str_match_format helper function

2016-04-28 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/auxiliary/tgsi/tgsi_text.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index 114e6e5..8a6645f

[Mesa-dev] [PATCH 3/6] tgsi/build: pass Memory.Texture and .Format through tgsi_build_full_instruction

2016-04-28 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/auxiliary/tgsi/tgsi_build.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c index 7e30bb6..d525c8f 100644 ---

[Mesa-dev] [PATCH 2/6] tgsi/dump: signal nospace when the last print exceeded the size

2016-04-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Previously, there was a bug where nospace wasn't signalled if it just so happened that the very last print exceeded the available space. --- src/gallium/auxiliary/tgsi/tgsi_dump.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-)

[Mesa-dev] [PATCH 1/6] tgsi/dump: shared dump_ctx initialization

2016-04-28 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/auxiliary/tgsi/tgsi_dump.c | 48 -- 1 file changed, 17 insertions(+), 31 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c index

[Mesa-dev] [Bug 95190] Tomb Raider with PostProcessing enable and Depth of Field set to Ultra has white stuff in the foreground

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95190 --- Comment #6 from Samuel Pitoiset --- Err, drop the 'k', it's just the number of elements. But you get the idea. :) -- You are receiving this mail because: You are the QA Contact for the

[Mesa-dev] [Bug 95190] Tomb Raider with PostProcessing enable and Depth of Field set to Ultra has white stuff in the foreground

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95190 Ilia Mirkin changed: What|Removed |Added QA Contact|intel-3d-bugs@lists.freedes

[Mesa-dev] [Bug 95088] src/intel/vulkan/anv_entrypoints.h:162:69: error: unknown type name ‘VkXcbSurfaceCreateInfoKHR’

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95088 --- Comment #2 from Vinson Lee --- Build fails with clang too. CC block_pool_no_free.o In file included from block_pool_no_free.c:26: In file included from ../../../../src/intel/vulkan/anv_private.h:60:

[Mesa-dev] [PATCH 1/2] glsl: Convert lower_vec_index_to_swizzle to a rvalue visitor.

2016-04-28 Thread Kenneth Graunke
The old visitor missed some cases. For example, it wouldn't handle an ir_dereference_array with a vector_extract as the index. Rather than trying to add the missing cases, just rewrite it as an ir_rvalue_visitor. This makes it easy to replace any expression, and is much less code. Cc:

[Mesa-dev] [PATCH 2/2] glsl: Lower vector_extracts to swizzles after lower_vector_derefs.

2016-04-28 Thread Kenneth Graunke
lower_vector_derefs can produce new vector_extract operations. Neither i965 nor st_glsl_to_tgsi can handle them, so we'd best convert them to swizzles. Cc: mesa-sta...@lists.freedesktop.org Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95164 Signed-off-by: Kenneth Graunke

[Mesa-dev] [PATCH v2 1/4] egl: android: disable __DRI_DRI2_LOADER support on render nodes

2016-04-28 Thread Rob Herring
Use of __DRI_DRI2_LOADER extension is only supported for card nodes. In order to support dmabufs, Android will be moving to using render nodes and we need to disable the DRI2 loader extension. This is based on the Wayland EGL code. Cc: Rob Clark Cc: Emil Velikov

[Mesa-dev] [PATCH v2 4/4] egl: android: add dma-buf fd support

2016-04-28 Thread Rob Herring
Add support for creating images from Android native buffers with dma-buf fd. As dma-buf support also requires DRI image loader extension, add that as well. This is based on several originally patches written by Varad Gautam. I've collapsed them into logical changes and done a bit of reformatting.

[Mesa-dev] [PATCH v2 3/4] egl: android: factor out back buffer handling code

2016-04-28 Thread Rob Herring
In preparation to use the same code for dma-bufs, factor out the code to a separate function. Signed-off-by: Rob Herring --- src/egl/drivers/dri2/platform_android.c | 36 + 1 file changed, 23 insertions(+), 13 deletions(-) diff --git

[Mesa-dev] [PATCH v2 0/4] Android EGL dma-buf support

2016-04-28 Thread Rob Herring
This series adds dma-buf support for the Android EGL. This is based on earlier work by Varad Gautam. I've tried to maintain existing GEM handle support primarily for android-x86, but have not tested that path. So any testing would be helpful. A git branch is here[1]. Changes in v2: - Split out

[Mesa-dev] [PATCH v2 2/4] egl: android: factor out format conversion code to a function

2016-04-28 Thread Rob Herring
Signed-off-by: Rob Herring --- src/egl/drivers/dri2/platform_android.c | 38 + 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-28 Thread Jose Fonseca
On 28/04/16 20:53, Rob Herring wrote: On Thu, Apr 28, 2016 at 1:57 PM, Jose Fonseca wrote: On 28/04/16 19:50, Rob Herring wrote: On Thu, Apr 28, 2016 at 12:35 PM, Roland Scheidegger wrote: Am 28.04.2016 um 17:52 schrieb Chih-Wei Huang: I clearly

Re: [Mesa-dev] [PATCH 4/4] gbm: Add map/unmap functions

2016-04-28 Thread Eric Anholt
Rob Herring writes: > On Wed, Apr 27, 2016 at 5:01 PM, Emil Velikov > wrote: >> On 27 April 2016 at 19:51, Eric Anholt wrote: >>> Rob Herring writes: >>> On Mon, Apr 25, 2016 at 7:53 PM, Eric Anholt

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-28 Thread Rob Herring
On Thu, Apr 28, 2016 at 1:57 PM, Jose Fonseca wrote: > On 28/04/16 19:50, Rob Herring wrote: >> >> On Thu, Apr 28, 2016 at 12:35 PM, Roland Scheidegger >> wrote: >>> >>> Am 28.04.2016 um 17:52 schrieb Chih-Wei Huang: I clearly understand this

Re: [Mesa-dev] [PATCH 7/7] i965: Remove inst_info table from brw_eu_validate.

2016-04-28 Thread Francisco Jerez
Matt Turner writes: > On Thu, Apr 28, 2016 at 12:19 AM, Francisco Jerez > wrote: >> At this point this doesn't contain any information not already in the >> opcode_desc tables, the validation code can just call >> brw_opcode_desc() in order to find

Re: [Mesa-dev] [PATCH 4/7] i965/disasm: Split opcode tables by the generation they were introduced in.

2016-04-28 Thread Francisco Jerez
Matt Turner writes: > On Thu, Apr 28, 2016 at 12:19 AM, Francisco Jerez > wrote: >> --- >> src/mesa/drivers/dri/i965/brw_disasm.c | 90 >> ++ >> 1 file changed, 69 insertions(+), 21 deletions(-) >> >> diff --git

Re: [Mesa-dev] [PATCH 1/4] nir: Avoid C99 field initializers.

2016-04-28 Thread Jason Ekstrand
On Thu, Apr 28, 2016 at 11:55 AM, Jose Fonseca wrote: > On 28/04/16 18:43, Jason Ekstrand wrote: > >> On Thu, Apr 28, 2016 at 8:49 AM, Jose Fonseca > > wrote: >> >> On 28/04/16 15:37, Connor Abbott wrote: >> >>

Re: [Mesa-dev] [PATCH] st/glsl_to_tgsi: fix potential crash when allocating temporaries

2016-04-28 Thread Ilia Mirkin
Cc: "11.1 11.2" Reviewed-by: Ilia Mirkin On Thu, Apr 28, 2016 at 3:09 PM, Samuel Pitoiset wrote: > When index - t->temps_size is greater than 4096, allocating space for > temporaries on demand will miserably

[Mesa-dev] [PATCH] st/glsl_to_tgsi: fix potential crash when allocating temporaries

2016-04-28 Thread Samuel Pitoiset
When index - t->temps_size is greater than 4096, allocating space for temporaries on demand will miserably crash. This can happen when a game uses a lot of temporaries like the recent released Tomb raider. Signed-off-by: Samuel Pitoiset ---

[Mesa-dev] [Bug 92850] Segfault loading War Thunder

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92850 --- Comment #70 from bellamort...@gmail.com --- Understood. Thank you for putting in the extra work to make this happen, it's much appreciated. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee

[Mesa-dev] [PATCH] Android: fix build ordering of subdirectories

2016-04-28 Thread Rob Herring
Different versions of make behave differently in whether $(wildcard) sorts the results or not. The Android build now explicitly sorts all-named-subdir-makefiles which breaks the build because src/gallium must be included after src/mesa/drivers/dri. The Android build system doesn't support doing

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-28 Thread Jose Fonseca
On 28/04/16 19:50, Rob Herring wrote: On Thu, Apr 28, 2016 at 12:35 PM, Roland Scheidegger wrote: Am 28.04.2016 um 17:52 schrieb Chih-Wei Huang: I clearly understand this point. Actually I've spent several days to try to make it work on the master branch. That's why it was

Re: [Mesa-dev] [PATCH 4/7] i965/disasm: Split opcode tables by the generation they were introduced in.

2016-04-28 Thread Matt Turner
On Thu, Apr 28, 2016 at 11:45 AM, Matt Turner wrote: > On Thu, Apr 28, 2016 at 12:19 AM, Francisco Jerez > wrote: >> --- >> src/mesa/drivers/dri/i965/brw_disasm.c | 90 >> ++ >> 1 file changed, 69 insertions(+), 21

Re: [Mesa-dev] [PATCH 1/4] nir: Avoid C99 field initializers.

2016-04-28 Thread Jose Fonseca
On 28/04/16 18:43, Jason Ekstrand wrote: On Thu, Apr 28, 2016 at 8:49 AM, Jose Fonseca > wrote: On 28/04/16 15:37, Connor Abbott wrote: For the series: Reviewed-by: Connor Abbott

Re: [Mesa-dev] [PATCH 7/7] i965: Remove inst_info table from brw_eu_validate.

2016-04-28 Thread Matt Turner
On Thu, Apr 28, 2016 at 11:35 AM, Matt Turner wrote: > On Thu, Apr 28, 2016 at 12:19 AM, Francisco Jerez > wrote: >> At this point this doesn't contain any information not already in the >> opcode_desc tables, the validation code can just call >>

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-28 Thread Rob Herring
On Thu, Apr 28, 2016 at 12:35 PM, Roland Scheidegger wrote: > Am 28.04.2016 um 17:52 schrieb Chih-Wei Huang: >> I clearly understand this point. >> Actually I've spent several days to try to >> make it work on the master branch. >> That's why it was delayed -- I supposed to

Re: [Mesa-dev] [PATCH 4/7] i965/disasm: Split opcode tables by the generation they were introduced in.

2016-04-28 Thread Matt Turner
On Thu, Apr 28, 2016 at 12:19 AM, Francisco Jerez wrote: > --- > src/mesa/drivers/dri/i965/brw_disasm.c | 90 > ++ > 1 file changed, 69 insertions(+), 21 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c >

Re: [Mesa-dev] [PATCH 7/7] i965: Remove inst_info table from brw_eu_validate.

2016-04-28 Thread Matt Turner
On Thu, Apr 28, 2016 at 12:19 AM, Francisco Jerez wrote: > At this point this doesn't contain any information not already in the > opcode_desc tables, the validation code can just call > brw_opcode_desc() in order to find out whether an instruction is > supported by the

Re: [Mesa-dev] [PATCH v2 mesa] vk/intel: use negative VK_NO_PROTOTYPES scheme

2016-04-28 Thread Eric Engestrom
On Mon, Apr 25, 2016 at 05:08:18PM +0100, Emil Velikov wrote: > On 21 April 2016 at 11:24, Eric Engestrom wrote: > > Commit 3d0fac7aca237bbe8ed8e2a362d3b42d0ef8c46c changed all the > > VK_PROTOTYPES to VK_NO_PROTOTYPES > > This brings the Intel header in line with the

Re: [Mesa-dev] [PATCH 1/2] winsys/radeon: enlarge buffer_indices_hashlist

2016-04-28 Thread Alex Deucher
On Thu, Apr 28, 2016 at 2:05 PM, Marek Olšák wrote: > From: Bas Nieuwenhuizen > > Enlarge the buffer hashlist to prevent large numbers of misses > due to adding more buffers than can be cached in the hashlist. > > Ported from winsys/amdgpu:

Re: [Mesa-dev] [PATCH] swr: remove duplicated constant update code

2016-04-28 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On Apr 28, 2016, at 11:18 AM, Tim Rowley wrote: > > --- > src/gallium/drivers/swr/swr_state.cpp | 91 ++- > 1 file changed, 47 insertions(+), 44 deletions(-) > > diff --git

[Mesa-dev] [PATCH 1/2] winsys/radeon: enlarge buffer_indices_hashlist

2016-04-28 Thread Marek Olšák
From: Bas Nieuwenhuizen Enlarge the buffer hashlist to prevent large numbers of misses due to adding more buffers than can be cached in the hashlist. Ported from winsys/amdgpu: 6373845d985d65c00f7c62b793e67ae5106eabff --- src/gallium/winsys/radeon/drm/radeon_drm_cs.h

[Mesa-dev] [PATCH 2/2] gallium/radeon: add the size only once in r600_context_add_resource_size

2016-04-28 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeon/r600_pipe_common.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 929fecb..8649bbc 100644 ---

[Mesa-dev] [Bug 92850] Segfault loading War Thunder

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92850 --- Comment #69 from Nicolai Hähnle --- bellamorte, feel free to bring this issue to the attention of the gcc and Clang people. It's kind of borderline between a bug and a misfeature. The ::visit method was really huge and

Re: [Mesa-dev] [RFC PATCH] winsys/radeon: drop support for kernels lacking tile mode array queries

2016-04-28 Thread Nicolai Hähnle
Given Emil's tentative release plan, 3.13 will be almost two and half years old by the time this is released - seems fair to me. Reviewed-by: Nicolai Hähnle On 28.04.2016 08:21, Marek Olšák wrote: From: Marek Olšák This will allow us to

Re: [Mesa-dev] [PATCH] radeonsi: rework clear_buffer flags

2016-04-28 Thread Nicolai Hähnle
LGTM. Reviewed-by: Nicolai Hähnle On 28.04.2016 07:54, Marek Olšák wrote: From: Marek Olšák Changes: - don't flush DB for fast color clears - don't flush any caches for initial clears - remove the flag from si_copy_buffer, always assume shader

Re: [Mesa-dev] [PATCH 1/4] nir: Avoid C99 field initializers.

2016-04-28 Thread Jason Ekstrand
On Thu, Apr 28, 2016 at 8:49 AM, Jose Fonseca wrote: > On 28/04/16 15:37, Connor Abbott wrote: > >> For the series: >> >> Reviewed-by: Connor Abbott >> >> For the zero-sized array thing... we could make it a statically-sized >> array, since we never

Re: [Mesa-dev] [PATCH 02/13] nir/builder: Add bit_size info to nir_build_imm()

2016-04-28 Thread Mark Janes
Hi Samuel, When this patch was pushed, it broke the vulkan build. Can you please add "--with-vulkan-drivers=intel" to the build-test that you run before pushing? thanks, Mark Samuel Iglesias Gonsálvez writes: > Signed-off-by: Samuel Iglesias Gonsálvez

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-28 Thread Roland Scheidegger
Am 28.04.2016 um 17:52 schrieb Chih-Wei Huang: > I clearly understand this point. > Actually I've spent several days to try to > make it work on the master branch. > That's why it was delayed -- I supposed to send them > in the last week. > > However, the master branch is always broken for

[Mesa-dev] [PATCH] swr: Remove stall waiting for core query counters.

2016-04-28 Thread BruceCherniak
When gathering query results, swr_gather_stats was unnecessarily stalling the entire pipeline. Results are now collected asynchronously, with a fence marking completion. --- src/gallium/drivers/swr/swr_fence.cpp |6 - src/gallium/drivers/swr/swr_fence.h |8 ++

Re: [Mesa-dev] [PATCH 2/6] nir: Switch the arguments to nir_foreach_phi_src

2016-04-28 Thread Jason Ekstrand
On Thu, Apr 28, 2016 at 12:10 AM, Ian Romanick wrote: > On 04/27/2016 07:39 PM, Jason Ekstrand wrote: > > On Wed, Apr 27, 2016 at 12:54 AM, Ian Romanick > > wrote: > > > > On 04/27/2016 05:41 AM, Jason Ekstrand wrote:

Re: [Mesa-dev] [PATCH] gallium/radeon: drop support for LINEAR_GENERAL layout

2016-04-28 Thread Alex Deucher
On Thu, Apr 28, 2016 at 8:58 AM, Marek Olšák wrote: > From: Marek Olšák > > Unused. All texture imports use LINEAR_ALIGNED regardless of what > the DDX does. Reviewed-by: Alex Deucher > --- >

[Mesa-dev] [AppVeyor] mesa master #1093 completed

2016-04-28 Thread AppVeyor
Build mesa 1093 completed Commit 99474dc29b by Jose Fonseca on 4/28/2016 11:25 AM: nir: Try to warn when C99 extensions are used in nir headers.\n\nIdeally we'd have nir.h being included with -Wpedantic too, but it

Re: [Mesa-dev] [RFC 3/7] gallium/swrast: fix dri_sw_dt->data free func not matching alloc func

2016-04-28 Thread Jose Fonseca
On 28/04/16 08:34, Chih-Wei Huang wrote: From: WuZhen The old code causes crashes when using software rendering. NO_REF_TASK tested: local run Change-Id: Ib1d7f36b9f25ccc13afdd28d1e34f76162d3 Signed-off-by: Chih-Wei Huang ---

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-28 Thread Chih-Wei Huang
2016-04-28 22:22 GMT+08:00 Emil Velikov : > Hi Chih-Wei, > > Thanks for getting these out to the community. > > On 28 April 2016 at 08:34, Chih-Wei Huang wrote: >> This is a series of patches developed by Jide Technolody to enable >> the llvmpipe

[Mesa-dev] [PATCH] swr: remove duplicated constant update code

2016-04-28 Thread Tim Rowley
--- src/gallium/drivers/swr/swr_state.cpp | 91 ++- 1 file changed, 47 insertions(+), 44 deletions(-) diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp index 12916f6..a7ae9df 100644 ---

Re: [Mesa-dev] [PATCH 1/4] nir: Avoid C99 field initializers.

2016-04-28 Thread Jose Fonseca
On 28/04/16 15:37, Connor Abbott wrote: For the series: Reviewed-by: Connor Abbott For the zero-sized array thing... we could make it a statically-sized array, since we never have more than 4 arguments to an ALU instruction, but that would be wasteful of memory. Also, we

Re: [Mesa-dev] [PATCH] nir: mark dsqrt/drsqrt/drcp implementation as exact

2016-04-28 Thread Connor Abbott
On Thu, Apr 28, 2016 at 11:26 AM, Ilia Mirkin wrote: > On Thu, Apr 28, 2016 at 11:21 AM, Connor Abbott wrote: >> On Thu, Apr 28, 2016 at 11:20 AM, Ilia Mirkin wrote: >>> What if the existing operations were already exact? >> >>

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-28 Thread Rob Herring
On Thu, Apr 28, 2016 at 9:22 AM, Emil Velikov wrote: > Hi Chih-Wei, > > Thanks for getting these out to the community. > > On 28 April 2016 at 08:34, Chih-Wei Huang wrote: >> This is a series of patches developed by Jide Technolody to enable >>

Re: [Mesa-dev] [PATCH] nir: mark dsqrt/drsqrt/drcp implementation as exact

2016-04-28 Thread Ilia Mirkin
On Thu, Apr 28, 2016 at 11:21 AM, Connor Abbott wrote: > On Thu, Apr 28, 2016 at 11:20 AM, Ilia Mirkin wrote: >> What if the existing operations were already exact? > > They aren't -- the builder makes them non-exact by default, and we > initialize the

Re: [Mesa-dev] [PATCH] nir: mark dsqrt/drsqrt/drcp implementation as exact

2016-04-28 Thread Connor Abbott
On Thu, Apr 28, 2016 at 11:20 AM, Ilia Mirkin wrote: > What if the existing operations were already exact? They aren't -- the builder makes them non-exact by default, and we initialize the builder ourselves in this pass. > > On Thu, Apr 28, 2016 at 11:17 AM, Connor Abbott

Re: [Mesa-dev] [PATCH] nir: mark dsqrt/drsqrt/drcp implementation as exact

2016-04-28 Thread Ilia Mirkin
What if the existing operations were already exact? On Thu, Apr 28, 2016 at 11:17 AM, Connor Abbott wrote: > The floating-point operations used to implement these have been > carefully chosen to minimize rounding error while still getting decent > performance. We don't want

[Mesa-dev] [PATCH] nir: mark dsqrt/drsqrt/drcp implementation as exact

2016-04-28 Thread Connor Abbott
The floating-point operations used to implement these have been carefully chosen to minimize rounding error while still getting decent performance. We don't want any optimizations to mess with them. While this shouldn't affect anything now, it seems like a good idea. Signed-off-by: Connor Abbott

Re: [Mesa-dev] [PATCH] glsl: Checks for interpolation into its own function.

2016-04-28 Thread Andres Gomez
On Tue, 2016-04-26 at 12:16 +0200, Samuel Iglesias Gonsálvez wrote: > On 04/04/16 18:50, Andres Gomez wrote: > > > > This generalizes the validation also to be done for variables > > inside > > interface blocks, which, for some cases, was missing. > > > > For a discussion about the additional

[Mesa-dev] Mesa 11.3.0/12.0.0 release plan

2016-04-28 Thread Emil Velikov
Hi all, Here is the current tentative 11.3.0/12.0.0 release schedule. May 20th 2016 - Feature freeze/Release candidate 1 May 27th 2016 - Release candidate 2 June 03rd 2016 - Release candidate 3 June 10th 2016 - Release candidate 4/final release With the above in mind we have three weeks to get

[Mesa-dev] Results of the 2016 Election to the X.Org BoD & Vote on the By-Law Changes

2016-04-28 Thread Peter Hutterer
The 2016 Election is now over and the results are in. Two questions were up for voting, 4 seats on the Board of Directors and approval of the amended By-Laws to join SPI. The Results of the Board of Director elections: Candidates and their respective points: Egbert Eich 205

Re: [Mesa-dev] [PATCH 2/2] mesa: dri: Add shared glapi to LIBADD on Android

2016-04-28 Thread Emil Velikov
On 28 April 2016 at 11:41, Nicolas Boichat wrote: > /system/vendor/lib/dri/*_dri.so actually depend on libglapi: without > this, loading the so file fails with: > cannot locate symbol "__emutls_v._glapi_tls_Context" > > On non-Android (non-bionic) platform, EGL uses the

[Mesa-dev] [Bug 95180] rasterizer/memory/Convert.h:170:9: error: ‘__builtin_isnan’ is not a member of ‘std’

2016-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95180 --- Comment #3 from Ilia Mirkin --- >From the sounds of it, there's a #define isnan __builtin_isnan somewhere which is converting std::isnan into std::__builtin_isnan -- You are receiving this mail because: You are

Re: [Mesa-dev] [PATCH 1/4] nir: Avoid C99 field initializers.

2016-04-28 Thread Connor Abbott
For the series: Reviewed-by: Connor Abbott For the zero-sized array thing... we could make it a statically-sized array, since we never have more than 4 arguments to an ALU instruction, but that would be wasteful of memory. Also, we always have at least 1 argument, so we

Re: [Mesa-dev] [PATCH 1/2] configure.ac: Add support for Android builds

2016-04-28 Thread Emil Velikov
Hi Nicolas, On 28 April 2016 at 11:41, Nicolas Boichat wrote: > Add support for EGL android platform. > > Also, detect when --host finishes with -android. In that case, we > do not set _GNU_SOURCE, and define autoconf symbol HAVE_ANDROID, so > that Android-specific

Re: [Mesa-dev] [PATCH 1/7] i965: Pass devinfo pointer to brw_instruction_name().

2016-04-28 Thread Iago Toral
I made a couple of very minor comments to some patches but do with them as you wish. The series is: Reviewed-by: Iago Toral Quiroga On Thu, 2016-04-28 at 00:19 -0700, Francisco Jerez wrote: > A future series will implement support for an instruction that happens > to have the

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-28 Thread Emil Velikov
Hi Chih-Wei, Thanks for getting these out to the community. On 28 April 2016 at 08:34, Chih-Wei Huang wrote: > This is a series of patches developed by Jide Technolody to enable > the llvmpipe for software rendering of Android. > It makes a device without a Mesa

Re: [Mesa-dev] [PATCH 6/7] i965: Move opcode_desc tables into brw_eu.c.

2016-04-28 Thread Iago Toral
On Thu, 2016-04-28 at 00:19 -0700, Francisco Jerez wrote: > The opcode_desc tables are useful for several purposes other than > disassembling the program: Finding out whether an instruction is > three-source in the optimizer and instruction compaction code, > printing out instructions at the IR

Re: [Mesa-dev] [PATCH 3/3] nouveau: Add support for SV_WORK_DIM

2016-04-28 Thread Samuel Pitoiset
On 04/28/2016 04:12 PM, Samuel Pitoiset wrote: On 04/28/2016 04:05 PM, Hans de Goede wrote: Add support for SV_WORK_DIM for nvc0 and nve4. Signed-off-by: Hans de Goede --- Changes in v1 (first non RFC posting): -Adjust NVC0_CB_AUX_GRID_SIZE for the extra value in

Re: [Mesa-dev] [PATCH 1/4] nir: Avoid C99 field initializers.

2016-04-28 Thread Sinclair Yeh
Maybe add a short commit message for 3/4 Reviewed-by: Sinclair Yeh On Thu, Apr 28, 2016 at 12:27:05PM +0100, Jose Fonseca wrote: > As they are not standard C++ and are not supported by MSVC C++ compiler. > > Just have nir_imm_double match nir_imm_float above. > --- >

Re: [Mesa-dev] [PATCH 3/3] nouveau: Add support for SV_WORK_DIM

2016-04-28 Thread Samuel Pitoiset
On 04/28/2016 04:05 PM, Hans de Goede wrote: Add support for SV_WORK_DIM for nvc0 and nve4. Signed-off-by: Hans de Goede --- Changes in v1 (first non RFC posting): -Adjust NVC0_CB_AUX_GRID_SIZE for the extra value in grid-info -Use NVC0_CB_AUX_GRID_SIZE instead of a

Re: [Mesa-dev] [PATCH 5/7] i965/disasm: Mark instructions that no longer exist in the opcode_desc tables.

2016-04-28 Thread Iago Toral
On Thu, 2016-04-28 at 00:19 -0700, Francisco Jerez wrote: > With this small addition we can now easily determine on which > generations a given instruction is supported from the opcode_desc > tables alone. > --- > src/mesa/drivers/dri/i965/brw_disasm.c | 16 ++-- > 1 file changed, 14

[Mesa-dev] [PATCH 2/3] clover: Pass work_dim parameter of clEnqueueNDRangeKernel() to driver

2016-04-28 Thread Hans de Goede
In order to implement get_work_dim() the driver may need to know the clEnqueueNDRangeKernel() work_dim parameter, so pass it to the driver. Signed-off-by: Hans de Goede --- src/gallium/include/pipe/p_state.h| 7 +++

[Mesa-dev] [PATCH 3/3] nouveau: Add support for SV_WORK_DIM

2016-04-28 Thread Hans de Goede
Add support for SV_WORK_DIM for nvc0 and nve4. Signed-off-by: Hans de Goede --- Changes in v1 (first non RFC posting): -Adjust NVC0_CB_AUX_GRID_SIZE for the extra value in grid-info -Use NVC0_CB_AUX_GRID_SIZE instead of a hardcoded value when uploading the grid info -Also

[Mesa-dev] [PATCH 1/3] tgsi: Add WORK_DIM System Value

2016-04-28 Thread Hans de Goede
Add a new WORK_DIM SV type, this is will return the grid dimensions (1-4) for compute (opencl) kernels. This is necessary to implement the opencl get_work_dim() function. Signed-off-by: Hans de Goede --- Changes in v1 (first non RFC): -Document TGSI_SEMANTIC_WORK_DIM in

Re: [Mesa-dev] [PATCH 1/4] gbm: Add Android build support

2016-04-28 Thread Emil Velikov
On 28 April 2016 at 14:34, Rob Herring wrote: > On Fri, Apr 22, 2016 at 5:57 PM, Emil Velikov > wrote: >> Hi Rob, >> >> On 22 April 2016 at 16:50, Rob Herring wrote: >> >>> --- /dev/null >>> +++ b/src/gbm/Android.mk >> >>>

  1   2   >