Re: [Mesa-dev] [PATCH] anv/pipeline: do not disable depth writes if depth testing is disabled

2017-04-02 Thread Iago Toral
Can anyone review this one? On Wed, 2017-03-29 at 08:58 +0200, Iago Toral Quiroga wrote: > Writing and testing are two different things and they can be set > separately > by the application. If an application wants to record depth data > without > caring for the depth test, it can enable depth tes

Re: [Mesa-dev] [RFC PATCH] egl/android: Dequeue buffers inside EGL calls

2017-04-02 Thread Tomasz Figa
On Mon, Apr 3, 2017 at 2:42 PM, Tapani Pälli wrote: > > > On 04/02/2017 08:12 PM, Tomasz Figa wrote: >> >> Sorry for replying to myself, just got enlightened... >> >> On Mon, Apr 3, 2017 at 2:07 AM, Tomasz Figa wrote: >>> >>> Hi Mauro, >>> >>> On Mon, Apr 3, 2017 at 1:38 AM, Mauro Rossi >>> wrot

Re: [Mesa-dev] [RFC PATCH] egl/android: Dequeue buffers inside EGL calls

2017-04-02 Thread Tapani Pälli
On 04/02/2017 08:12 PM, Tomasz Figa wrote: Sorry for replying to myself, just got enlightened... On Mon, Apr 3, 2017 at 2:07 AM, Tomasz Figa wrote: Hi Mauro, On Mon, Apr 3, 2017 at 1:38 AM, Mauro Rossi wrote: 2017-03-30 16:17 GMT+02:00 Emil Velikov : On 30 March 2017 at 11:55, Tomasz

[Mesa-dev] [PATCH] radv/winsys: only workout color/depth levels if we have color/depth

2017-04-02 Thread Dave Airlie
From: Dave Airlie This fixes an old bug that seems to get triggered by dEQP-VK.memory.requirements.image.sparse_tiling_optimal We return early when allocating S8_UINT due to there being no color or depth, and end up with image size of 0. Signed-off-by: Dave Airlie --- src/amd/vulkan/winsys/am

Re: [Mesa-dev] [RFC PATCH] egl/android: Dequeue buffers inside EGL calls

2017-04-02 Thread Tapani Pälli
On 04/02/2017 07:38 PM, Mauro Rossi wrote: 2017-03-30 16:17 GMT+02:00 Emil Velikov mailto:emil.l.veli...@gmail.com>>: On 30 March 2017 at 11:55, Tomasz Figa mailto:tf...@chromium.org>> wrote: > Android buffer queues can be abandoned, which results in failing to > dequeue next buf

Re: [Mesa-dev] [PATCH] travis: remove r600 as it requires llvm 3.8

2017-04-02 Thread Christian Gmeiner
Hi, 2017-04-02 22:44 GMT+02:00 Rhys Kidd : > On 2 April 2017 at 08:42, Christian Gmeiner > wrote: >> >> At the moment travis ci failes with the following error: >> >> checking for RADEON... yes >> checking for RADEON... yes >> configure: error: LLVM 3.8.0 or newer is required for r600 >> make: **

[Mesa-dev] [PATCH] st/omx/dec: Properly undefine DEBUG macro

2017-04-02 Thread Shaleen Jain
--- src/gallium/state_trackers/omx/vid_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/omx/vid_dec.c b/src/gallium/state_trackers/omx/vid_dec.c index 9a6efb8e28..94664eba04 100644 --- a/src/gallium/state_trackers/omx/vid_dec.c +++ b/src/gallium

Re: [Mesa-dev] [PATCH 2/2] st/shader_cache: Fix memory leak

2017-04-02 Thread Brian Paul
On Sun, Apr 2, 2017 at 11:31 AM, Bartosz Tomczyk < bartosz.tomczy...@gmail.com> wrote: > --- > src/mesa/state_tracker/st_shader_cache.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/mesa/state_tracker/st_shader_cache.c > b/src/mesa/state_tracker/st_shader_cache.c > index e8c7289e

[Mesa-dev] [PATCH 1/2] radv/ac: round cube array coordinate before fixup.

2017-04-02 Thread Dave Airlie
From: Dave Airlie This fixes: dEQP-VK.glsl.texture_functions.texture.samplercubearray* Signed-off-by: Dave Airlie --- src/amd/common/ac_nir_to_llvm.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index

[Mesa-dev] [PATCH 2/2] radv/ac: fix texture derivative ordering

2017-04-02 Thread Dave Airlie
From: Dave Airlie The ordering NIR gives us is correct for the hw, this fixes: dEQP-VK.glsl.texture_functions.texturegrad.* (mainly trigged on isampler/usampler 3d textures.). Signed-off-by: Dave Airlie --- src/amd/common/ac_nir_to_llvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

[Mesa-dev] [PATCH 2/2] radv: fix interp at sample code.

2017-04-02 Thread Dave Airlie
From: Dave Airlie Interp at sample needs to use the center, since the sample positions it retrieves are relative to the center. This fixes a bunch of CTS tests with multisample_interpolation. Signed-off-by: Dave Airlie --- src/amd/common/ac_nir_to_llvm.c | 4 +--- 1 file changed, 1 insertion(

[Mesa-dev] [PATCH 1/2] radv: overhaul fragment shader sample positions.

2017-04-02 Thread Dave Airlie
From: Dave Airlie The current code was broken, and I decided to redesign it instead. This puts the sample positions for all samples into the queue constant descriptor buffer after all the spill/ring descriptors. It then uses a single offset register to point how far into the samples the samples

Re: [Mesa-dev] [PATCH] mesa/glthread: Call unmarshal_batch directly in glthread_finish

2017-04-02 Thread Timothy Arceri
Trailing whitespace and style issue with else fixed and pushed. Thanks! On 31/03/17 17:22, Nicolai Hähnle wrote: On 30.03.2017 22:31, Bartosz Tomczyk wrote: Call it directly when batch queue is empty. This avoids costly thread synchronisation. This commit improves performance of games that have

Re: [Mesa-dev] [PATCH 2/3] radeonsi: remove most uses of lp_build_const*

2017-04-02 Thread Timothy Arceri
That changes to the param in si_llvm_pack_two_int16() and si_llvm_pack_two_int32_as_int16() should probably have been split out. Anyway with or without that change series is: Reviewed-by: Timothy Arceri ___ mesa-dev mailing list mesa-dev@lists.freede

Re: [Mesa-dev] [PATCH 2/3] radeonsi: remove most uses of lp_build_const*

2017-04-02 Thread Timothy Arceri
The changes to the param in si_llvm_pack_two_int16() and si_llvm_pack_two_int32_as_int16() should probably have been split out. Anyway with or without that change series is: Reviewed-by: Timothy Arceri ___ mesa-dev mailing list mesa-dev@lists.freedes

[Mesa-dev] [PATCH 1/3] radeonsi: clean up 'radeon_bld' references

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeonsi/si_shader.c | 108 ++- 1 file changed, 48 insertions(+), 60 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 3876010..2da00f9 100644 --- a/src/galli

[Mesa-dev] [PATCH 3/3] radeonsi: use i32_0 and i32_1 more

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeonsi/si_shader.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index e514d61..21efd9a 100644 --- a/src/galli

[Mesa-dev] [PATCH 2/3] radeonsi: remove most uses of lp_build_const*

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeonsi/si_shader.c | 270 ++--- src/gallium/drivers/radeonsi/si_shader_tgsi_alu.c | 2 +- .../drivers/radeonsi/si_shader_tgsi_setup.c| 24 +- 3 files changed, 145 insertions(+), 151 deletions(-) diff --git a/src/g

[Mesa-dev] [PATCH] radeonsi: fix broken texture filtering on SIK-CIK since GFX9 changes

2017-04-02 Thread Marek Olšák
From: Marek Olšák Don't clear state[7] on SI-CIK, and only do the meta stuff on VI+. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100531 --- src/gallium/drivers/radeonsi/si_descriptors.c | 32 ++- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/

Re: [Mesa-dev] [PATCH 19/19] radeonsi: enable ARB_shader_ballot

2017-04-02 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák Marek On Fri, Mar 31, 2017 at 7:14 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Require LLVM 5.0 or later because LLVM 4.0 is easily fooled into > putting the lane select of llvm.amdgcn.readlane into a VGPR and then > fails to continue to compi

Re: [Mesa-dev] [PATCH 1/2] glsl/shader_cache: Fix memory leak

2017-04-02 Thread Timothy Arceri
On 03/04/17 09:52, Timothy Arceri wrote: On 03/04/17 03:31, Bartosz Tomczyk wrote: --- src/compiler/glsl/shader_cache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/glsl/shader_cache.cpp b/src/compiler/glsl/shader_cache.cpp index ea1bc01f02..8c42a95664 100644 --- a/s

Re: [Mesa-dev] [PATCH 1/2] glsl/shader_cache: Fix memory leak

2017-04-02 Thread Timothy Arceri
On 03/04/17 03:31, Bartosz Tomczyk wrote: --- src/compiler/glsl/shader_cache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/glsl/shader_cache.cpp b/src/compiler/glsl/shader_cache.cpp index ea1bc01f02..8c42a95664 100644 --- a/src/compiler/glsl/shader_cache.cpp +++ b/src

Re: [Mesa-dev] [PATCH] amd/addrlib: fix optimized build warnings

2017-04-02 Thread Marek Olšák
Pushed. Thanks. Marek On Sun, Apr 2, 2017 at 7:22 PM, Grazvydas Ignotas wrote: > All the -Wunused-but-set-variable ones. > Found a way to do it with a oneliner. > > Signed-off-by: Grazvydas Ignotas > --- > no commit access (currently pending) > > src/amd/addrlib/core/addrcommon.h | 2 +- > 1 f

Re: [Mesa-dev] [PATCH] radeonsi: use unreachable to fix a warning

2017-04-02 Thread Marek Olšák
Pushed. Thanks. Marek On Sun, Apr 2, 2017 at 7:22 PM, Grazvydas Ignotas wrote: > si_state.c: In function ‘si_make_texture_descriptor’: > si_state.c:3240:25: warning: ‘num_format’ may be used uninitialized > si_state.c:3240:12: warning: ‘data_format’ may be used uninitialized > > Signed-off-by: G

Re: [Mesa-dev] [PATCH] gallium: fix some math formulas to display better

2017-04-02 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sun, Apr 2, 2017 at 6:02 PM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > src/gallium/docs/source/tgsi.rst | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) > > diff --git a/src/gallium/docs/source/tgsi.rst

Re: [Mesa-dev] [PATCH v3 1/2] st/mesa: add st_convert_image()

2017-04-02 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák Marek On Fri, Mar 31, 2017 at 12:48 PM, Samuel Pitoiset wrote: > Should be used by the state tracker when glGetImageHandleARB() > is called in order to create a pipe_image_view template. > > v3: - move the comment to *.c > v2: - make 'st' const > -

Re: [Mesa-dev] [PATCH 4/5] r600g: use a clever alignment for index buffer uploads

2017-04-02 Thread Marek Olšák
Pushed, thanks. Marek On Sat, Apr 1, 2017 at 10:55 AM, Constantine Kharlamov wrote: > Thank you, please, could you push them too? I don't have commit access. > > On 28.03.2017 22:36, Marek Olšák wrote: >> Actually nevermind. >> >> Patches 1-3: >> Reviewed-by: Marek Olšák >> >> Patches 4-5: >> T

Re: [Mesa-dev] [PATCH] radv: Rework guard band calculation.

2017-04-02 Thread Dave Airlie
On 2 April 2017 at 22:43, Bas Nieuwenhuizen wrote: > We want the guardband_x/y to be the largerst scalars such that each > viewport scaled by that amount is still a subrange of [-32767, 32767]. > > The old code has a couple of issues: > 1) It used scissor instead of viewport_scissor, potentially t

Re: [Mesa-dev] [PATCH] travis: remove r600 as it requires llvm 3.8

2017-04-02 Thread Dave Airlie
On 3 April 2017 at 06:44, Rhys Kidd wrote: > On 2 April 2017 at 08:42, Christian Gmeiner > wrote: >> >> At the moment travis ci failes with the following error: >> >> checking for RADEON... yes >> checking for RADEON... yes >> configure: error: LLVM 3.8.0 or newer is required for r600 >> make: **

[Mesa-dev] [PATCH] travis: Support LLVM 3.8+ on Trusty-based Travis-CI via apt-get not apt addon

2017-04-02 Thread Rhys Kidd
Per comments by Travis-CI, the apt addon is only really needed for the container-based Precise builds, as they don't yet support Trusty on that platform. Mesa currently uses Trusty fully-virtualized environment (due to sudo: required). See further: https://docs.travis-ci.com/user/trusty-ci-envi

Re: [Mesa-dev] [PATCH] travis: remove r600 as it requires llvm 3.8

2017-04-02 Thread Rhys Kidd
On 2 April 2017 at 08:42, Christian Gmeiner wrote: > At the moment travis ci failes with the following error: > > checking for RADEON... yes > checking for RADEON... yes > configure: error: LLVM 3.8.0 or newer is required for r600 > make: *** No targets specified and no makefile found. Stop. > >

Re: [Mesa-dev] [PATCH 1/2] glsl/shader_cache: Fix memory leak

2017-04-02 Thread Grazvydas Ignotas
On Sun, Apr 2, 2017 at 8:31 PM, Bartosz Tomczyk wrote: > --- > src/compiler/glsl/shader_cache.cpp | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/compiler/glsl/shader_cache.cpp > b/src/compiler/glsl/shader_cache.cpp > index ea1bc01f02..8c42a95664 100644 > --- a/src/compiler/glsl/s

[Mesa-dev] [PATCH 9/9] gallium: decrease the size of pipe_draw_info - 88 -> 80 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/auxiliary/indices/u_primconvert.c | 10 -- src/gallium/include/pipe/p_state.h| 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/gallium/auxiliary/indices/u_primconvert.c b/src/gallium/auxiliary/indices/u_primconvert.

[Mesa-dev] [PATCH 1/9] gallium: decrease the size of pipe_rasterizer_state - 36 -> 32 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/include/pipe/p_state.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index ce19b92..5d995dc 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/in

[Mesa-dev] [PATCH 7/9] gallium: decrease the size of pipe_resource - 64 -> 48 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák Some other changes needed here. --- src/gallium/auxiliary/rbug/rbug_texture.c | 4 ++-- src/gallium/auxiliary/rbug/rbug_texture.h | 4 ++-- src/gallium/auxiliary/vl/vl_video_buffer.h | 2 +- src/gallium/drivers/rbug/rbug_core.c | 2 +- src/gallium/include/pipe/p_sta

[Mesa-dev] [PATCH 3/9] gallium: decrease the size of pipe_framebuffer_state - 96 -> 80 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/include/pipe/p_state.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 54bcf07..62f5192 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/i

[Mesa-dev] [PATCH 6/9] gallium: decrease the size of pipe_box - 24 -> 16 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák Also: pipe_transfer: 48 -> 40 bytes. pipe_blit_info = 176 -> 160 bytes. --- src/gallium/include/pipe/p_state.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 392bb8b..6a

[Mesa-dev] [PATCH 5/9] gallium: decrease the size of pipe_sampler_view - 48 -> 32 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/include/pipe/p_state.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index a4692b6..392bb8b 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gall

[Mesa-dev] [PATCH 8/9] gallium: decrease the size of pipe_vertex_element - 16 -> 8 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/include/pipe/p_state.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index ae7f1c3..d68a4d4 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/

[Mesa-dev] [PATCH 4/9] gallium: decrease the size of pipe_surface - 48 -> 40 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/include/pipe/p_state.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 62f5192..a4692b6 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/

[Mesa-dev] [PATCH 2/9] gallium: decrease the size of pipe_stream_output_info - 532 -> 268 bytes

2017-04-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeon/r600_pipe_common.h | 2 +- src/gallium/drivers/radeon/r600_streamout.c | 2 +- src/gallium/include/pipe/p_state.h| 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h

Re: [Mesa-dev] [RFC PATCH] egl/android: Dequeue buffers inside EGL calls

2017-04-02 Thread Mauro Rossi
2017-03-31 13:05 GMT+02:00 Tapani Pälli : > > > On 03/31/2017 10:12 AM, Tapani Pälli wrote: > >> >> >> On 03/31/2017 09:06 AM, Tapani Pälli wrote: >> >>> >>> >>> On 03/31/2017 08:24 AM, Rob Clark wrote: >>> On Fri, Mar 31, 2017 at 12:22 AM, Tapani Pälli wrote: > > > On

[Mesa-dev] [PATCH 3/4] r600g: extract a code into a r600_emit_rasterizer_prim_state()

2017-04-02 Thread Constantine Kharlamov
Also change gs_output_prim type: unsigned → pipe_prim_type. The idea of the code is mostly taken from radeonsi. The new code operating on prev/curr rast_primitives saves ≈15 reloads of PA_SC_LINE_STIPPLE per frame in Kane&Lynch2 Signed-off-by: Constantine Kharlamov --- src/gallium/drivers/r600/r

[Mesa-dev] [PATCH 0/4] r600_state_common small improvements

2017-04-02 Thread Constantine Kharlamov
The patches are based on top of the other 3 reviewed but not yet pushed from "Small r600_draw_vbo optimizations". Here, amongst all, I replaced some "unsigned"s with the enums they represent. It helps understanding the code, and even allowed to remove a short comment with the sole purpose of just d

[Mesa-dev] [PATCH 1/4] r600g: remove duplicate memset by using a pointer, and constify args

2017-04-02 Thread Constantine Kharlamov
Signed-off-by: Constantine Kharlamov --- src/gallium/drivers/r600/r600_state_common.c | 41 +--- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 096caed8d3..d

[Mesa-dev] [PATCH 4/4] r600g: check rasterizer primitive states like in radeonsi

2017-04-02 Thread Constantine Kharlamov
Specifically, non-line primitives skipped, and defaulting to reset on each packet. The skip of non-line primitives saves ≈110 resetting of PA_SC_LINE_STIPPLE register per frame in Kane&Lynch2. Signed-off-by: Constantine Kharlamov --- src/gallium/drivers/r600/r600_state_common.c | 21 +++

[Mesa-dev] [PATCH 2/4] r600g/radeonsi: use the correct types (taken from pipe_draw_info)

2017-04-02 Thread Constantine Kharlamov
Note: si_shader.h has also "type" variable that should be changed to "enum pipe_prim_type", however it triggers a bunch of warnings about unhandled switches, so due not knowing the correct way to handle them, I decided to leave it as is. Signed-off-by: Constantine Kharlamov --- src/gallium/drive

[Mesa-dev] [PATCH 2/2] st/shader_cache: Fix memory leak

2017-04-02 Thread Bartosz Tomczyk
--- src/mesa/state_tracker/st_shader_cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/st_shader_cache.c b/src/mesa/state_tracker/st_shader_cache.c index e8c7289ec6..5dbcb74f73 100644 --- a/src/mesa/state_tracker/st_shader_cache.c +++ b/src/mesa/state_tracker/st

[Mesa-dev] [PATCH 1/2] glsl/shader_cache: Fix memory leak

2017-04-02 Thread Bartosz Tomczyk
--- src/compiler/glsl/shader_cache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/glsl/shader_cache.cpp b/src/compiler/glsl/shader_cache.cpp index ea1bc01f02..8c42a95664 100644 --- a/src/compiler/glsl/shader_cache.cpp +++ b/src/compiler/glsl/shader_cache.cpp @@ -1273,6 +12

[Mesa-dev] [PATCH] amd/addrlib: fix optimized build warnings

2017-04-02 Thread Grazvydas Ignotas
All the -Wunused-but-set-variable ones. Found a way to do it with a oneliner. Signed-off-by: Grazvydas Ignotas --- no commit access (currently pending) src/amd/addrlib/core/addrcommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/addrlib/core/addrcommon.h b/src/

[Mesa-dev] [PATCH] radeonsi: use unreachable to fix a warning

2017-04-02 Thread Grazvydas Ignotas
si_state.c: In function ‘si_make_texture_descriptor’: si_state.c:3240:25: warning: ‘num_format’ may be used uninitialized si_state.c:3240:12: warning: ‘data_format’ may be used uninitialized Signed-off-by: Grazvydas Ignotas --- no commit access (currently pending) src/gallium/drivers/radeonsi/s

Re: [Mesa-dev] [RFC PATCH] egl/android: Dequeue buffers inside EGL calls

2017-04-02 Thread Tomasz Figa
Sorry for replying to myself, just got enlightened... On Mon, Apr 3, 2017 at 2:07 AM, Tomasz Figa wrote: > Hi Mauro, > > On Mon, Apr 3, 2017 at 1:38 AM, Mauro Rossi wrote: >> >> >> 2017-03-30 16:17 GMT+02:00 Emil Velikov : >>> >>> On 30 March 2017 at 11:55, Tomasz Figa wrote: >>> > Android buff

Re: [Mesa-dev] [RFC PATCH] egl/android: Dequeue buffers inside EGL calls

2017-04-02 Thread Tomasz Figa
Hi Mauro, On Mon, Apr 3, 2017 at 1:38 AM, Mauro Rossi wrote: > > > 2017-03-30 16:17 GMT+02:00 Emil Velikov : >> >> On 30 March 2017 at 11:55, Tomasz Figa wrote: >> > Android buffer queues can be abandoned, which results in failing to >> > dequeue next buffer. Currently this would fail somewhere

Re: [Mesa-dev] [RFC PATCH] egl/android: Dequeue buffers inside EGL calls

2017-04-02 Thread Mauro Rossi
2017-03-30 16:17 GMT+02:00 Emil Velikov : > On 30 March 2017 at 11:55, Tomasz Figa wrote: > > Android buffer queues can be abandoned, which results in failing to > > dequeue next buffer. Currently this would fail somewhere deep within > > the DRI stack calling loader's getBuffers*(), without any

[Mesa-dev] [PATCH] gallium: fix some math formulas to display better

2017-04-02 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/docs/source/tgsi.rst | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 05b06ce..ca31924 100644 --- a/src/gallium/docs/source/tg

[Mesa-dev] [Bug 100402] [d3d9 bisected] Diablo III fails to start after commit 0630d3600bfb770cf3b23761c45b3add3b277c6b

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100402 --- Comment #2 from Ilia Mirkin --- Please retest with https://cgit.freedesktop.org/mesa/mesa/commit/?id=7a0c1eee0c25e343d8c276e4471e4a113d61f233 and let me know if that's fixed now. -- You are receiving this mail because: You are the assignee

[Mesa-dev] [PATCH 2/2] aubinator/gen_decoder/i965: decode instructions from dword 0

2017-04-02 Thread Lionel Landwerlin
Some packets like 3DSTATE_VF_STATISTICS, 3DSTATE_DRAWING_RECTANGLE, 3DPRIMITIVE, PIPELINE_SELECT, etc... have configurable fields in dword0, we probably want to print those. Signed-off-by: Lionel Landwerlin --- src/intel/common/gen_decoder.c| 21 + src/intel/c

[Mesa-dev] [PATCH 1/2] intel: gen_decoder: store pointer to current decoded field in iterator

2017-04-02 Thread Lionel Landwerlin
Signed-off-by: Lionel Landwerlin --- src/intel/common/gen_decoder.c | 50 +- src/intel/common/gen_decoder.h | 1 + 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c index 7b04ac

Re: [Mesa-dev] [PATCH 0/5] anv: Add support for VK_KHR_incremental_present

2017-04-02 Thread Lionel Landwerlin
This series is : Reviewed-by: Lionel Landwerlin On 01/04/17 06:37, Jason Ekstrand wrote: I've had these patches lying around for a while now waiting for the extension to go public. It went public, so here they are. This series adds all of the core window system bits for doing a trivial imple

[Mesa-dev] [PATCH] radv: Rework guard band calculation.

2017-04-02 Thread Bas Nieuwenhuizen
We want the guardband_x/y to be the largerst scalars such that each viewport scaled by that amount is still a subrange of [-32767, 32767]. The old code has a couple of issues: 1) It used scissor instead of viewport_scissor, potentially taking into account a viewport that is too small and theref

[Mesa-dev] [PATCH] travis: remove r600 as it requires llvm 3.8

2017-04-02 Thread Christian Gmeiner
At the moment travis ci failes with the following error: checking for RADEON... yes checking for RADEON... yes configure: error: LLVM 3.8.0 or newer is required for r600 make: *** No targets specified and no makefile found. Stop. Signed-off-by: Christian Gmeiner --- .travis.yml | 2 +- 1 file

Re: [Mesa-dev] [PATCH] radv: fix order of the guardband register emission.

2017-04-02 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Sun, Apr 2, 2017 at 6:47 AM, Dave Airlie wrote: > From: Dave Airlie > > y is vert, x is horiz. > > Noticed in visual inspection compared to radeonsi. > > Signed-off-by: Dave Airlie > --- > src/amd/vulkan/si_cmd_buffer.c | 4 ++-- > 1 file changed, 2 insertio