[Mesa-dev] [Bug 98242] dEQP mandates preprocessor tests for #line expressions

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98242 --- Comment #7 from Tapani Pälli --- (In reply to Kenneth Graunke from comment #6) > I've split out the define defined parts of this bug as: > https://bugs.freedesktop.org/show_bug.cgi?id=98522 > > This bug will now just be

[Mesa-dev] [Bug 97967] glsl/tests/cache-test regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97967 --- Comment #2 from Tapani Pälli --- maybe it does not implement '-p' for the mkdir? My original cache set did this, if wanted some code can be taken from here:

Re: [Mesa-dev] [PATCH 23/26] i965: Restructure fast clear eligibility decision

2016-10-31 Thread Pohjolainen, Topi
On Mon, Oct 31, 2016 at 02:51:06PM -0700, Jason Ekstrand wrote: >On Mon, Oct 31, 2016 at 2:38 PM, Jason Ekstrand ><[1]ja...@jlekstrand.net> wrote: > >On Tue, Oct 11, 2016 at 12:26 PM, Topi Pohjolainen ><[2]topi.pohjolai...@gmail.com> wrote: > > From: Ben Widawsky

Re: [Mesa-dev] [RFC 3/3] anv: Do relocations in userspace before execbuf ioctl

2016-10-31 Thread Jason Ekstrand
On Oct 31, 2016 10:06 PM, "Jason Ekstrand" wrote: > > There are a couple of other options than doing relocations in userspace. Unfortunately, all of the options are gross for one reason or another: > > 1) Do relocations in userspace. This depends on certain behavior of the

Re: [Mesa-dev] [RFC 3/3] anv: Do relocations in userspace before execbuf ioctl

2016-10-31 Thread Jason Ekstrand
There are a couple of other options than doing relocations in userspace. Unfortunately, all of the options are gross for one reason or another: 1) Do relocations in userspace. This depends on certain behavior of the kernel which has never really changed but could, in theory. 2) Have a

[Mesa-dev] [PATCH] anv/device: Return DEVICE_LOST if execbuf2 fails

2016-10-31 Thread Jason Ekstrand
This makes more sense than OUT_OF_HOST_MEMORY. Technically, you can recover from a failed execbuf2 but the batch you just submitted didn't fully execute so things are in an ill-defined state. The app doesn't want to continue from that point anyway. --- src/intel/vulkan/anv_device.c | 10

[Mesa-dev] [RFC 2/3] anv/device: Add an execbuf wrapper

2016-10-31 Thread Jason Ekstrand
This wrapper ensures that we always update all anv_bo::offset fields based on the offsets returned by the kernel. --- src/intel/vulkan/anv_device.c | 51 +- src/intel/vulkan/anv_private.h | 4 2 files changed, 35 insertions(+), 20 deletions(-) diff

[Mesa-dev] [RFC 1/3] anv: Initialize bo offsets to -1

2016-10-31 Thread Jason Ekstrand
--- src/intel/vulkan/anv_allocator.c | 1 + src/intel/vulkan/anv_device.c| 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c index ae18f8e..97532ed 100644 --- a/src/intel/vulkan/anv_allocator.c +++

[Mesa-dev] [RFC 3/3] anv: Do relocations in userspace before execbuf ioctl

2016-10-31 Thread Jason Ekstrand
From: Kristian Høgsberg Kristensen This reduces the amount of stalling that the kernel does between batches and improves the performance of Dota 2 on a Sky Lake GT2 desktop by around 30%. Ideally, we would have a simple execbuf2 flag that would let us tell the

Re: [Mesa-dev] i965: Use nir_shader_gather_info() over do_set_program_inouts()

2016-10-31 Thread Timothy Arceri
On Thu, 2016-10-27 at 13:00 +1100, Timothy Arceri wrote: > This takes us one step closer to being able to drop the GLSL IR > optimisation passes during linking in favour of the NIR passes. > > Patch 4 has *not* been tested on Vulkan I've asked Mark to setup a > branch > for me to run the Vulkan

[Mesa-dev] [PATCH] [rfc] ac/nir->llvm: workaround llvm lowering kill to exec mask

2016-10-31 Thread Dave Airlie
From: Dave Airlie This just a discussion holder patch, radv has generated a shader using discard that lowers the kilp intrinsic into s_mov_b64 exec, 0 ; BEFE0180 however that means exports never happen, and I think this leads to a GPU hang as

Re: [Mesa-dev] Bogus use of '#' in a macro definition (was: Re: Mesa (master): 29 new commits)

2016-10-31 Thread Thomas DEBESSE
Thread reference: https://lists.freedesktop.org/archives/mesa-dev/2014-July/064410.html On 07/31/2014 11:01:29 PDT Carl Worth writes: > Ian Romanick writes: > > On 07/31/2014 12:14 AM, Michel Dänzer wrote: > >> > >> FYI, this change broke the game Reaction Quake, see the failure output > >>

Re: [Mesa-dev] [PATCH] glsl: do not show locp information if it is not available

2016-10-31 Thread Timothy Arceri
On Mon, 2016-10-31 at 16:51 +0100, Juan A. Suarez Romero wrote: > On Wed, 2016-10-26 at 13:42 +0200, Juan A. Suarez Romero wrote: > > > > Ignore source file, line number and column in glcpp_error() and > > glcpp_warning() if those are not available. > > > > It fixes 4 piglit tests: > >  

Re: [Mesa-dev] [PATCH 1/3] vl/dri3: use external texture as back buffers

2016-10-31 Thread Andy Furniss
Michel Dänzer wrote: On 28/10/16 08:19 PM, Andy Furniss wrote: Michel Dänzer wrote: On 27/10/16 07:52 PM, Andy Furniss wrote: Andy Furniss wrote: Michel Dänzer wrote: On 26/10/16 08:07 PM, Andy Furniss wrote: The bad = Starting with DRI3 (which is default) I still get trashed rendering

Re: [Mesa-dev] [PATCH 04/10] gallium/radeon: don't call u_format helpers if we have that info already

2016-10-31 Thread Marek Olšák
On Mon, Oct 31, 2016 at 10:04 PM, Nicolai Hähnle wrote: > On 29.10.2016 13:17, Marek Olšák wrote: >> >> From: Marek Olšák >> >> --- >> src/gallium/drivers/radeon/r600_texture.c | 13 + >> src/gallium/drivers/radeonsi/si_blit.c| 5 +++--

Re: [Mesa-dev] [PATCH 01/31] amd/common: move llvm helper prototype to ac_llvm_util.h

2016-10-31 Thread Dave Airlie
On 1 November 2016 at 08:10, Nicolai Hähnle wrote: > From: Nicolai Hähnle 1-4 are Reviewed-by: Dave Airlie Dave. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [Bug 98242] dEQP mandates preprocessor tests for #line expressions

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98242 Kenneth Graunke changed: What|Removed |Added Summary|dEQP mandates preprocessor |dEQP mandates

[Mesa-dev] [PATCH 15/31] radeonsi: use PS prolog for monolithic shaders

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 42 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 16/31] radeonsi: extract si_build_vs_{prolog, epilog}_function

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 182 +++ 1 file changed, 115 insertions(+), 67 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 28/31] radeonsi: si_shader_vs only depends on the GS selector

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state_shaders.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 3269468..537c673

[Mesa-dev] [PATCH 17/31] radeonsi: use VS prolog and epilog for monolithic shaders

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 35 ++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 18/31] radeonsi: use VS epilog for monolithic TES

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 13 + 1 file changed, 13 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 7272313..628b8c3 100644 ---

[Mesa-dev] [PATCH 26/31] radeonsi: make si_generate_gs_copy_shader usable as a standalone function

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle It really only depends on the shader selector. --- src/gallium/drivers/radeonsi/si_shader.c | 79 +--- 1 file changed, 43 insertions(+), 36 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c

[Mesa-dev] [PATCH 21/31] radeonsi: get rid of select_interp_param

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle The condition !ctx->no_prolog is now always true. --- src/gallium/drivers/radeonsi/si_shader.c | 41 1 file changed, 41 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c

[Mesa-dev] [PATCH 30/31] radeonsi: remove si_shader_context::is_gs_copy_shader

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle It has become redundant. --- src/gallium/drivers/radeonsi/si_shader.c | 11 --- src/gallium/drivers/radeonsi/si_shader_internal.h | 1 - 2 files changed, 4 insertions(+), 8 deletions(-) diff --git

[Mesa-dev] [PATCH 19/31] radeonsi: extract si_build_tcs_epilog_function

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 79 +++- 1 file changed, 46 insertions(+), 33 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 23/31] radeonsi: get rid of si_llvm_emit_fs_epilogue

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle It is no longer used. --- src/gallium/drivers/radeonsi/si_shader.c | 97 +--- 1 file changed, 1 insertion(+), 96 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c

[Mesa-dev] [PATCH 29/31] radeonsi: make the GS copy shader owned by the GS selector

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle The copy shader only depends on the selector. This change avoids creating separate code paths for monolithic vs. non-monolithic geometry shaders. --- src/gallium/drivers/radeonsi/si_pipe.h | 2 +- src/gallium/drivers/radeonsi/si_shader.c

[Mesa-dev] [PATCH 08/31] radeonsi: free data structures when shader compiles fail

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 6ae63c8..5a0153c

[Mesa-dev] [PATCH 31/31] radeonsi: generate GS prolog to (partially) fix triangle strip adjacency rotation

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle Fixes GL45-CTS.geometry_shader.adjacency.adjacency_indiced_triangle_strip and others. This leaves the case of triangle strips with adjacency and primitive restarts open. It seems that the only thing that cares about that is a piglit test. Fixing

[Mesa-dev] [PATCH 05/31] radeonsi: fix signature of export intrinsic in VS epilog

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle The incompatible signature becomes an issue when the VS epilog gets merged with the main vertex shader at the IR level. --- src/gallium/drivers/radeonsi/si_shader.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH 20/31] radeonsi: use TCS epilog for monolithic shaders

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle For fixed function TCS, we keep the copying of VS outputs to TES inputs inside the main function; the call to si_copy_tcs_inputs is moved accordingly. --- src/gallium/drivers/radeonsi/si_shader.c | 22 +- 1 file changed, 21

[Mesa-dev] [PATCH 27/31] radeonsi: si_vgt_gs_mode only depends on the selector

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state_shaders.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index e4ceb3b..3269468

[Mesa-dev] [PATCH 24/31] radeonsi: get rid of no_{prolog,epilog}

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 223 -- src/gallium/drivers/radeonsi/si_shader_internal.h | 10 - 2 files changed, 80 insertions(+), 153 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c

[Mesa-dev] [PATCH 11/31] radeonsi: extract si_build_ps_epilog_function

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 95 1 file changed, 60 insertions(+), 35 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 25/31] radeonsi: unify the si_compile_* functions for prologs and epilogs

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 239 --- 1 file changed, 61 insertions(+), 178 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 02/31] amd/common: build also for gallium drivers

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle At least when LLVM is used, which is basically always (unless you're only building r600 without OpenCL). --- src/Makefile.am | 5 - src/amd/common/Makefile.am | 6 ++ src/amd/common/Makefile.sources | 4 +++- 3 files

[Mesa-dev] [PATCH 14/31] radeonsi: set num_input_vgprs for fragment shaders in create_function

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle So that the prolog generated for monolithic fragment shaders will have the right signature. --- src/gallium/drivers/radeonsi/si_shader.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git

[Mesa-dev] [PATCH 09/31] radeonsi: split is_monolithic into no_prolog and no_epilog

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle This helps to achieve a gradual transition towards building monolithic shaders via inlining. no_prolog and no_epilog will be removed by the end of the series, separate_prolog remains in use to control the PS input mapping. ---

[Mesa-dev] [PATCH 22/31] radeonsi: get rid of get_interp_param

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle Replace by a simple LLVMGetParam, since ctx->no_prolog is always false. --- src/gallium/drivers/radeonsi/si_shader.c | 54 ++-- 1 file changed, 2 insertions(+), 52 deletions(-) diff --git

[Mesa-dev] [PATCH 12/31] radeonsi: use PS epilog for monolithic shaders

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 207 +++ 1 file changed, 207 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index ec5f950..281a4dd 100644

[Mesa-dev] [PATCH 13/31] radeonsi: extract si_build_ps_prolog_function

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 310 +-- 1 file changed, 171 insertions(+), 139 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 10/31] radeonsi: pass the function name to si_llvm_create_func

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle We will use multiple functions in one module, so they should have different names. --- src/gallium/drivers/radeonsi/si_shader.c| 15 --- src/gallium/drivers/radeonsi/si_shader_internal.h | 1 +

[Mesa-dev] [PATCH 07/31] radeonsi: move main TGSI translation into its own function

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle The idea is that adding prolog and epilog code will be pulled out into the caller. --- src/gallium/drivers/radeonsi/si_shader.c | 103 +-- 1 file changed, 58 insertions(+), 45 deletions(-) diff --git

[Mesa-dev] [PATCH 06/31] radeonsi: add always-inline pass to si_llvm_finalize_module

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle Change the pass manager as well, since this is a module-level pass. No noticeable run-time difference on shader-db. --- src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[Mesa-dev] [PATCH 01/31] amd/common: move llvm helper prototype to ac_llvm_util.h

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/amd/common/ac_llvm_helper.cpp | 5 ++--- src/amd/common/ac_llvm_util.h | 10 ++ src/amd/common/ac_nir_to_llvm.c | 1 + src/amd/common/ac_nir_to_llvm.h | 4 4 files changed, 13 insertions(+), 7 deletions(-) diff --git

[Mesa-dev] [PATCH 00/31] radeonsi: shader parts refactoring

2016-10-31 Thread Nicolai Hähnle
Hi all, this series really does three things: Patches 1-4: Link radeonsi against code in amd/common. I mainly did that because I happened to need some radeon-specific code that interfaces LLVM via C++, and ac_llvm_helper.cpp already existed. It would have been trivial to add a C++ source file to

[Mesa-dev] [PATCH 03/31] amd/common: add ac_is_sgpr_param helper

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/amd/common/ac_llvm_helper.cpp | 10 ++ src/amd/common/ac_llvm_util.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/amd/common/ac_llvm_helper.cpp b/src/amd/common/ac_llvm_helper.cpp index 125f5f3..594339e 100644

[Mesa-dev] [PATCH 04/31] radeonsi: link against amd_common

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/Automake.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/radeonsi/Automake.inc b/src/gallium/drivers/radeonsi/Automake.inc index 5a9dcfd..de52835 100644 ---

Re: [Mesa-dev] [v2 26/26] i965: Enable fast clears for multi-lod

2016-10-31 Thread Jason Ekstrand
New patch 19, 20-21, and 25-26 are Reviewed-by: Jason Ekstrand Patch 24 should be replaced by my two CCS-correct copies patches. There were issues with 22 and 23 but otherwise things are looking good. --Jason On Mon, Oct 31, 2016 at 1:19 PM, Topi Pohjolainen <

Re: [Mesa-dev] [PATCH] i965/gen8: Fix vertex attrib upload for dvec3/4 shader inputs

2016-10-31 Thread Kenneth Graunke
On Monday, October 31, 2016 6:22:43 PM PDT Antia Puentes wrote: > The emission of vertex attributes corresponding to dvec3 and dvec4 > vertex shader input variables was not correct when the passed > to the VertexAttribL* commands was <= 2. > > This was because we were using the vertex array size

Re: [Mesa-dev] [PATCH 23/26] i965: Restructure fast clear eligibility decision

2016-10-31 Thread Jason Ekstrand
On Mon, Oct 31, 2016 at 2:38 PM, Jason Ekstrand wrote: > On Tue, Oct 11, 2016 at 12:26 PM, Topi Pohjolainen < > topi.pohjolai...@gmail.com> wrote: > >> From: Ben Widawsky >> >> Signed-off-by: Ben Widawsky >> --- >>

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc3 / CC'ing Mesa-devel

2016-10-31 Thread Dieter Nützel
Am 31.10.2016 22:41, schrieb Dieter Nützel: Am 31.10.2016 21:22, schrieb Marek Olšák: Hi, Hello Marek! Can you try to replace: if (!(surf_ws->flags & RADEON_SURF_IMPORTED)) { with: if (!(surf_ws->flags & (RADEON_SURF_IMPORTED | RADEON_SURF_FMASK))) { ? Marek I've tried 2 times to be

Re: [Mesa-dev] [PATCH 1/3] intel: aubinator: don't print out blocks twice

2016-10-31 Thread Anuj Phogat
On Tue, Oct 25, 2016 at 4:49 AM, Lionel Landwerlin wrote: > Signed-off-by: Lionel Landwerlin > --- > src/intel/tools/aubinator.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/src/intel/tools/aubinator.c

Re: [Mesa-dev] [PATCH 25/26] i965/gen8: Relax asserts prohibiting arrayed/mipmapped fast clears

2016-10-31 Thread Jason Ekstrand
On Tue, Oct 11, 2016 at 12:26 PM, Topi Pohjolainen < topi.pohjolai...@gmail.com> wrote: > Signed-off-by: Topi Pohjolainen > --- > src/intel/isl/isl.c | 3 +-- > src/mesa/drivers/dri/i965/brw_blorp.c | 6 +++--- >

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc3 / CC'ing Mesa-devel

2016-10-31 Thread Dieter Nützel
Am 31.10.2016 21:22, schrieb Marek Olšák: Hi, Hello Marek! Can you try to replace: if (!(surf_ws->flags & RADEON_SURF_IMPORTED)) { with: if (!(surf_ws->flags & (RADEON_SURF_IMPORTED | RADEON_SURF_FMASK))) { ? Marek I've tried 2 times to be sure. No luck. Any other idea? I looked over

Re: [Mesa-dev] [PATCH 23/26] i965: Restructure fast clear eligibility decision

2016-10-31 Thread Jason Ekstrand
On Tue, Oct 11, 2016 at 12:26 PM, Topi Pohjolainen < topi.pohjolai...@gmail.com> wrote: > From: Ben Widawsky > > Signed-off-by: Ben Widawsky > --- > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 51 > ++- > 1 file

[Mesa-dev] [Bug 98428] Undefined non-weak-symbol in dri-drivers

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98428 Kyle Brenneman changed: What|Removed |Added CC|

[Mesa-dev] [Bug 98428] Undefined non-weak-symbol in dri-drivers

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98428 --- Comment #9 from Kyle Brenneman --- > > > - And last but not least - reuse GLVND dispatch. For this we would need > > > to > > > convince Kyle that GLdisplatch.so can be accessible by vendors and it gets > > > some

[Mesa-dev] [PATCH] glsl: fix lowering of UBO references of named blocks

2016-10-31 Thread Nicolai Hähnle
From: Nicolai Hähnle When a UBO reference has the form block_name.foo where block_name refers to a block where the first member has a non-zero offset, the base offset was incorrectly added to the reference. Fixes an assertion triggered in debug builds by

Re: [Mesa-dev] [PATCH 10/10] amd: fix a typo in PIXEL_PIPE_STAT_RESET definition

2016-10-31 Thread Nicolai Hähnle
Patches 5-10: Reviewed-by: Nicolai Hähnle On 29.10.2016 13:17, Marek Olšák wrote: From: Marek Olšák --- src/amd/common/sid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/common/sid.h b/src/amd/common/sid.h index

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc3

2016-10-31 Thread Jason Ekstrand
On Mon, Oct 31, 2016 at 1:59 PM, Emil Velikov wrote: > On 31 October 2016 at 20:47, Jason Ekstrand wrote: > > On Mon, Oct 31, 2016 at 8:34 AM, Emil Velikov > > wrote: > >> > >> On 31 October 2016 at 15:11, Ilia Mirkin

Re: [Mesa-dev] [PATCH 04/10] gallium/radeon: don't call u_format helpers if we have that info already

2016-10-31 Thread Nicolai Hähnle
On 29.10.2016 13:17, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/radeon/r600_texture.c | 13 + src/gallium/drivers/radeonsi/si_blit.c| 5 +++-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc3

2016-10-31 Thread Emil Velikov
On 31 October 2016 at 20:47, Jason Ekstrand wrote: > On Mon, Oct 31, 2016 at 8:34 AM, Emil Velikov > wrote: >> >> On 31 October 2016 at 15:11, Ilia Mirkin wrote: >> > Hi Emil, >> > >> > It appears that you missed

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc3

2016-10-31 Thread Jason Ekstrand
On Mon, Oct 31, 2016 at 8:34 AM, Emil Velikov wrote: > On 31 October 2016 at 15:11, Ilia Mirkin wrote: > > Hi Emil, > > > > It appears that you missed cherry-picking one of Samuel's commits: > > > > commit 84e946380b2d5ddc62a107b667be39abf1932704

Re: [Mesa-dev] [PATCH 2/3] glx/glvnd: Fix dispatch function names and indices

2016-10-31 Thread Emil Velikov
On 31 October 2016 at 19:20, Adam Jackson wrote: > On Fri, 2016-10-28 at 17:11 +0100, Emil Velikov wrote: >> > On 19 October 2016 at 18:39, Adam Jackson wrote: >> > The "implementation" in Mesa would be __glXBindTexImageEXT. One could >> > argue that dispatch_*

[Mesa-dev] [Bug 98428] Undefined non-weak-symbol in dri-drivers

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98428 --- Comment #8 from ajax at nwnk dot net --- (In reply to Ian Romanick from comment #7) > So... how does it work if the linked libglapi and libGL provide different, > incompatible implementations of, say, _glapi_set_dispatch?

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc3 / CC'ing Mesa-devel

2016-10-31 Thread Marek Olšák
Hi, Can you try to replace: if (!(surf_ws->flags & RADEON_SURF_IMPORTED)) { with: if (!(surf_ws->flags & (RADEON_SURF_IMPORTED | RADEON_SURF_FMASK))) { ? Marek On Mon, Oct 31, 2016 at 7:21 PM, Dieter Nützel wrote: > Hello Emil, > > if this commit > > commit

Re: [Mesa-dev] [PATCH 2/2] i965: Move gen8_disable_stages to brw_upload_initial_gpu_state

2016-10-31 Thread Nanley Chery
On Mon, Oct 31, 2016 at 01:16:51PM -0700, Anuj Phogat wrote: > On Wed, Oct 26, 2016 at 11:23 AM, Nanley Chery wrote: > > 3DSTATE_WM_CHROMAKEY isn't programmed anywhere else. > > 3DSTATE_WM_HZ_OP is programmed, then cleared by blorp during a > > HZ op, so repeatedly clearing

Re: [Mesa-dev] [PATCH 24/26] i965: Disable aux buffers with non-compatible copies

2016-10-31 Thread Pohjolainen, Topi
On Mon, Oct 31, 2016 at 11:35:36AM -0700, Jason Ekstrand wrote: >Instead, I think we just want to start using my "CCS-correct copy >patches" I agree. > >On Tue, Oct 11, 2016 at 12:26 PM, Topi Pohjolainen ><[1]topi.pohjolai...@gmail.com> wrote: > > Signed-off-by: Topi

Re: [Mesa-dev] [PATCH] gbm: set up the interop extension for egl/drm

2016-10-31 Thread Emil Velikov
On 31 October 2016 at 18:08, Marek Olšák wrote: > On Mon, Oct 31, 2016 at 6:02 PM, Emil Velikov > wrote: >> On 29 October 2016 at 12:18, Marek Olšák wrote: >>> From: Marek Olšák >>> >>> breaking libgbm ->

[Mesa-dev] [v2 26/26] i965: Enable fast clears for multi-lod

2016-10-31 Thread Topi Pohjolainen
From: Ben Widawsky On SKL (also fast clear is used for level 0, layer 0): Manhattan 3.0: 3.88434% +/- 0.814659% Manhattan 3.0 off: 3.25542% +/- 0.101149% Trex: 3.43501% +/- 0.31223% Trex off: 4.13781% +/- 0.0993569% ON BDW:

Re: [Mesa-dev] [PATCH 2/2] i965: Move gen8_disable_stages to brw_upload_initial_gpu_state

2016-10-31 Thread Anuj Phogat
On Wed, Oct 26, 2016 at 11:23 AM, Nanley Chery wrote: > 3DSTATE_WM_CHROMAKEY isn't programmed anywhere else. > 3DSTATE_WM_HZ_OP is programmed, then cleared by blorp during a > HZ op, so repeatedly clearing it after every blorp execution is > redundant. > > Signed-off-by:

Re: [Mesa-dev] [PATCH] vulkan/wsi/x11: handle timeouts properly in next image acquire (v1.1)

2016-10-31 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Wed, Oct 26, 2016 at 4:32 AM, Dave Airlie wrote: > From: Dave Airlie > > For 0 timeout, just poll for an event, and if none, return > For UINT64_MAX timeout, just wait for special event blocked >

Re: [Mesa-dev] [PATCH 1/2] i965: Program 3DSTATE_AA_LINE_PARAMETERS in upload_invariant_state

2016-10-31 Thread Anuj Phogat
On Wed, Oct 26, 2016 at 11:23 AM, Nanley Chery wrote: > This packet is non-pipelined and doesn't ever change across emissions. > > Signed-off-by: Nanley Chery > --- > src/mesa/drivers/dri/i965/brw_misc_state.c | 41 >

[Mesa-dev] [PATCH] draw: use vectorized calculations for fetch

2016-10-31 Thread sroland
From: Roland Scheidegger Instead of doing all the math with scalars, use vectors. This means the overflow math needs to be done manually, albeit that's only really problematic for the stride/index mul, the rest has been pretty much moved outside the shader loop (albeit the

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc3

2016-10-31 Thread Dieter Nützel
Am 31.10.2016 19:33, schrieb Emil Velikov: On 31 October 2016 at 18:16, Dieter Nützel wrote: Hello Emil, if this commit commit 81a95946dab730c1cfcf04ac1373cea5f7908f65 Author: Marek Olšák Date: Thu Oct 20 22:57:03 2016 +0200 gallium/radeon:

Re: [Mesa-dev] [PATCH 2/3] glx/glvnd: Fix dispatch function names and indices

2016-10-31 Thread Adam Jackson
On Fri, 2016-10-28 at 17:11 +0100, Emil Velikov wrote: > > On 19 October 2016 at 18:39, Adam Jackson wrote: > > The "implementation" in Mesa would be __glXBindTexImageEXT. One could > > argue that dispatch_* could be smart enough to recognize their own > > dispatch tables, skip

Re: [Mesa-dev] [PATCH 24/26] i965: Disable aux buffers with non-compatible copies

2016-10-31 Thread Jason Ekstrand
Instead, I think we just want to start using my "CCS-correct copy patches" On Tue, Oct 11, 2016 at 12:26 PM, Topi Pohjolainen < topi.pohjolai...@gmail.com> wrote: > Signed-off-by: Topi Pohjolainen > --- > src/intel/blorp/blorp.h | 2 ++ >

Re: [Mesa-dev] [PATCH 22/26] i965: Add non-msrt mcs array/mipmap alignment restrictions

2016-10-31 Thread Jason Ekstrand
On Tue, Oct 11, 2016 at 12:26 PM, Topi Pohjolainen < topi.pohjolai...@gmail.com> wrote: > There are actually two contradicting pieces in the bspec: > > From the BSpec: 3D-Media-GPGPU Engine - 3D Pipeline Stages - Pixel - > Pixel Backend [IVB+] - MCS Buffer for Render Target(s) > > BDW:

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc3 / CC'ing Mesa-devel

2016-10-31 Thread Dieter Nützel
Hello Emil, if this commit commit 81a95946dab730c1cfcf04ac1373cea5f7908f65 Author: Marek Olšák Date: Thu Oct 20 22:57:03 2016 +0200 gallium/radeon: fold radeon_winsys::surface_best into radeon/winsys Reviewed-by: Nicolai Hähnle hits

Re: [Mesa-dev] [PATCH] gbm: set up the interop extension for egl/drm

2016-10-31 Thread Marek Olšák
On Mon, Oct 31, 2016 at 6:02 PM, Emil Velikov wrote: > On 29 October 2016 at 12:18, Marek Olšák wrote: >> From: Marek Olšák >> >> breaking libgbm -> libEGL ABI? > Old branch ? Rob (identical) patch has already landed - >

[Mesa-dev] [PATCH] i965/gen8: Fix vertex attrib upload for dvec3/4 shader inputs

2016-10-31 Thread Antia Puentes
The emission of vertex attributes corresponding to dvec3 and dvec4 vertex shader input variables was not correct when the passed to the VertexAttribL* commands was <= 2. This was because we were using the vertex array size when emitting vertices to decide if we uploaded a 64-bit floating point

[Mesa-dev] [Bug 91100] [softpipe] piglit egl-create-pbuffer-surface regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91100 Vinson Lee changed: What|Removed |Added Version|git |11.0 -- You are

[Mesa-dev] [Bug 92552] [softpipe] piglit egl-create-context-valid-flag-forward-compatible-gl regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92552 Vinson Lee changed: What|Removed |Added Version|git |11.1 -- You are

[Mesa-dev] [Bug 92946] [softpipe] piglit fcc-front-buffer-distraction regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92946 Vinson Lee changed: What|Removed |Added Version|git |11.1 -- You are

[Mesa-dev] [Bug 92954] [softpipe] piglit drawbuffer-modes regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92954 Vinson Lee changed: What|Removed |Added Version|git |11.1 -- You are

[Mesa-dev] [Bug 96254] [softpipe] piglit unsized-array-not-in-last-position regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96254 Vinson Lee changed: What|Removed |Added Version|git |12.0 -- You are

[Mesa-dev] [Bug 93203] [softpipe] piglit gl30basic regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93203 Vinson Lee changed: What|Removed |Added Version|git |11.1 -- You are

Re: [Mesa-dev] [PATCH] gbm: set up the interop extension for egl/drm

2016-10-31 Thread Emil Velikov
On 29 October 2016 at 12:18, Marek Olšák wrote: > From: Marek Olšák > > breaking libgbm -> libEGL ABI? Old branch ? Rob (identical) patch has already landed - 74b1969d717f2428f0b9dcaaea611e95736120a5 Although the ABI breakage and how to prevent it [in the

[Mesa-dev] [Bug 96518] [llvmpipe] piglit linestipple regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96518 Vinson Lee changed: What|Removed |Added Blocks||98471 Referenced

[Mesa-dev] [Bug 98471] [TRACKER] Mesa 13.0 release tracker

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98471 Vinson Lee changed: What|Removed |Added Depends on||96518 Referenced

[Mesa-dev] [Bug 96518] [llvmpipe] piglit linestipple regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96518 Vinson Lee changed: What|Removed |Added Version|git |13.0 -- You are

[Mesa-dev] [Bug 98471] [TRACKER] Mesa 13.0 release tracker

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98471 Vinson Lee changed: What|Removed |Added Depends on||96684 Referenced

[Mesa-dev] [Bug 96684] [swrast] piglit glsl-array-bounds-01 regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96684 Vinson Lee changed: What|Removed |Added Blocks||98471 Referenced

[Mesa-dev] [Bug 96684] [swrast] piglit glsl-array-bounds-01 regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96684 Vinson Lee changed: What|Removed |Added Version|git |12.0 -- You are

[Mesa-dev] [Bug 98471] [TRACKER] Mesa 13.0 release tracker

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98471 Vinson Lee changed: What|Removed |Added Depends on||96698 Referenced

[Mesa-dev] [Bug 96698] [swrast] piglit glsl-array-bounds-05 regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96698 Vinson Lee changed: What|Removed |Added Blocks||98471 Referenced

[Mesa-dev] [Bug 96698] [swrast] piglit glsl-array-bounds-05 regression

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96698 Vinson Lee changed: What|Removed |Added Version|git |13.0 -- You are

[Mesa-dev] [Bug 98471] [TRACKER] Mesa 13.0 release tracker

2016-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98471 Vinson Lee changed: What|Removed |Added Depends on||96865 Referenced

  1   2   >