[Mesa-dev] [Bug 99781] Some Unity games fail assertion on startup in glXCreateContextAttribsARB

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99781 Nicholas Miell changed: What|Removed |Added CC||synapt...@gmail.com

[Mesa-dev] [Bug 105004] Mesa causes Unity3d Game Editor Crash

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105004 Nicholas Miell changed: What|Removed |Added Resolution|--- |DUPLICATE

Re: [Mesa-dev] [PATCH v3 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Nanley Chery
On Tue, Feb 06, 2018 at 05:57:26PM -0800, Jason Ekstrand wrote: > On Tue, Feb 6, 2018 at 5:09 PM, Nanley Chery wrote: > > > On Mon, Feb 05, 2018 at 06:16:26PM -0800, Jason Ekstrand wrote: > > > This commit completely reworks aux tracking. This includes a number of > > >

Re: [Mesa-dev] [PATCH] glxinfo/wglinfo: query/print more GL limits

2018-02-07 Thread Eric Engestrom
On Wednesday, 2018-02-07 10:23:06 -0700, Brian Paul wrote: > On 02/07/2018 10:12 AM, Eric Engestrom wrote: > > On Wednesday, 2018-02-07 08:48:06 -0700, Brian Paul wrote: > > > Query/print limits for GL 3.0 through GL 4.6, plus > > > GL_ARB_transform_feedback3. Also, print the GL extension or GL

[Mesa-dev] [Bug 105004] Mesa causes Unity3d Game Editor Crash

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105004 Bug ID: 105004 Summary: Mesa causes Unity3d Game Editor Crash Product: Mesa Version: 17.3 Hardware: Other OS: All Status: NEW Severity: normal

[Mesa-dev] [PATCH 1/2] ac: add ac_build_export_null() helper

2018-02-07 Thread Samuel Pitoiset
Imported from RadeonSI. Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_llvm_build.c | 17 + src/amd/common/ac_llvm_build.h | 2 ++ src/gallium/drivers/radeonsi/si_shader.c | 21 + 3 files changed, 20

[Mesa-dev] [PATCH 2/2] ac/nir: use ac_build_export_null()

2018-02-07 Thread Samuel Pitoiset
The number of enabled channels should be 0 when exporting null. Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_nir_to_llvm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c

[Mesa-dev] [PATCH] mesa: fix incorrect type when allocating arrays

2018-02-07 Thread Andres Rodriguez
The array members are have type 'struct gl_buffer_object *' Found by coverity. Signed-off-by: Andres Rodriguez --- I think this should fix the issue, if I'm interpreting the coverity message correctly. src/mesa/main/externalobjects.c | 8 1 file changed, 4

Re: [Mesa-dev] [PATCH] i965: Do null pointer check before dereferencing vue_prog_data

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 11:22 AM, Kenneth Graunke wrote: > On Tuesday, February 6, 2018 4:38:00 PM PST Nanley Chery wrote: > > On Mon, Feb 05, 2018 at 04:08:40PM -0800, Anuj Phogat wrote: > > > Signed-off-by: Anuj Phogat > > > --- > > >

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Francisco Jerez
Anuj Phogat writes: > On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke > wrote: > >> On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: >> > From Message Descriptor section in gfxspecs: >> > "Memory fence messages without Commit Enable

Re: [Mesa-dev] [PATCH 1/2] intel/compiler: Memory fence commit must always be enabled for gen10+

2018-02-07 Thread Francisco Jerez
Anuj Phogat writes: > Commit bit in the message descriptor (Bit 13) must be always set > to true in CNL+ for memory fence messages. It also fixes a piglit > GPU hang on cnl+ in simulation environment. > Piglit test: arb_shader_image_load_store-shader-mem-barrier > See HSD

Re: [Mesa-dev] [PATCH 1/2] ac: add ac_build_export_null() helper

2018-02-07 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Feb 7, 2018 at 7:09 PM, Samuel Pitoiset wrote: > Imported from RadeonSI. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/common/ac_llvm_build.c | 17

Re: [Mesa-dev] [PATCH] i965: Do null pointer check before dereferencing vue_prog_data

2018-02-07 Thread Kenneth Graunke
On Tuesday, February 6, 2018 4:38:00 PM PST Nanley Chery wrote: > On Mon, Feb 05, 2018 at 04:08:40PM -0800, Anuj Phogat wrote: > > Signed-off-by: Anuj Phogat > > --- > > src/mesa/drivers/dri/i965/genX_state_upload.c | 3 ++- > > 1 file changed, 2 insertions(+), 1

[Mesa-dev] [Bug 104983] current version, warning during make process in glsl

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104983 Matt Turner changed: What|Removed |Added Resolution|--- |NOTOURBUG

Re: [Mesa-dev] [PATCH v3 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Jason Ekstrand
On Wed, Feb 7, 2018 at 9:59 AM, Nanley Chery wrote: > On Tue, Feb 06, 2018 at 05:57:26PM -0800, Jason Ekstrand wrote: > > On Tue, Feb 6, 2018 at 5:09 PM, Nanley Chery > wrote: > > > > > On Mon, Feb 05, 2018 at 06:16:26PM -0800, Jason Ekstrand wrote:

[Mesa-dev] [PATCH] i965: Trim

2018-02-07 Thread Chris Wilson
textdata bss dec hex filename 8852169 388752 671064 9911985 973eb1 lib/i965_dri.so 8852017 388752 671064 9911833 973e19 --- src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 48 +- 1 file changed, 16 insertions(+), 32 deletions(-) diff --git

[Mesa-dev] [PATCH] i965/tiled_memcpy: ytiled_to_linear a cache line at a time

2018-02-07 Thread Chris Wilson
From: Scott D Phillips Similar to the transformation applied to linear_to_ytiled, also align each readback from the ytiled source to a cacheline (i.e. transfer a whole cacheline from the source before moving on to the next column). This will allow us to utilize

Re: [Mesa-dev] [PATCH] mesa: fix incorrect type when allocating arrays

2018-02-07 Thread Andres Rodriguez
Pushed, thanks for the report. On 2018-02-07 02:47 PM, Matt Turner wrote: On Wed, Feb 7, 2018 at 11:46 AM, Andres Rodriguez wrote: The array members are have type 'struct gl_buffer_object *' Found by coverity. Signed-off-by: Andres Rodriguez --- I

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke wrote: > On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: > > From Message Descriptor section in gfxspecs: > > "Memory fence messages without Commit Enable set do not return > > anything to the thread

Re: [Mesa-dev] [PATCH] i965: Do null pointer check before dereferencing vue_prog_data

2018-02-07 Thread Nanley Chery
On Wed, Feb 07, 2018 at 11:22:01AM -0800, Kenneth Graunke wrote: > On Tuesday, February 6, 2018 4:38:00 PM PST Nanley Chery wrote: > > On Mon, Feb 05, 2018 at 04:08:40PM -0800, Anuj Phogat wrote: > > > Signed-off-by: Anuj Phogat > > > --- > > >

Re: [Mesa-dev] [PATCH] mesa: fix incorrect type when allocating arrays

2018-02-07 Thread Matt Turner
On Wed, Feb 7, 2018 at 11:46 AM, Andres Rodriguez wrote: > The array members are have type 'struct gl_buffer_object *' > > Found by coverity. > > Signed-off-by: Andres Rodriguez > --- > > I think this should fix the issue, if I'm interpreting > the

Re: [Mesa-dev] [PATCH] mesa: remove usage of alloca in externalobjects.c v3

2018-02-07 Thread Matt Turner
On Wed, Jan 31, 2018 at 11:03 AM, Andres Rodriguez wrote: > Don't want an overly large numBufferBarriers/numTextureBarriers to blow > up the stack. > > v2: handle malloc errors > v3: fix patch > > Suggested-by: Emil Velikov > Signed-off-by: Andres

[Mesa-dev] [PATCH 2/7] radv: add support for 16bit ssbo stores

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_nir_to_llvm.c | 146 +++- 1 file changed, 85 insertions(+), 61 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index

[Mesa-dev] [PATCH 3/7] radv: add support for 16bit UBO loads

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_llvm_build.c | 25 + src/amd/common/ac_llvm_build.h | 8 src/amd/common/ac_nir_to_llvm.c | 14 -- 3 files changed, 45 insertions(+), 2 deletions(-) diff

[Mesa-dev] [PATCH 4/7] radv: add support for 16bit buffer loads

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_nir_to_llvm.c | 91 ++--- 1 file changed, 50 insertions(+), 41 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index

[Mesa-dev] [PATCH 5/7] nir: add 16bit type information to glsl types

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/compiler/glsl_types.h | 15 +++ src/compiler/nir_types.cpp | 12 src/compiler/nir_types.h | 1 + 3 files changed, 28 insertions(+) diff --git a/src/compiler/glsl_types.h

[Mesa-dev] [PATCH 7/7] radv: enable VK_KHR_16bit_storage extension

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/vulkan/radv_device.c | 9 + src/amd/vulkan/radv_extensions.py | 1 + src/amd/vulkan/radv_shader.c | 1 + 3 files changed, 11 insertions(+) diff --git a/src/amd/vulkan/radv_device.c

[Mesa-dev] [PATCH 6/7] radv: add support for 16bit input/output

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_nir_to_llvm.c | 92 - 1 file changed, 72 insertions(+), 20 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index

[Mesa-dev] [PATCH 1/7] radv: add 16bit conversion operations

2018-02-07 Thread Daniel Schürmann
Signed-off-by: Daniel Schürmann --- src/amd/common/ac_llvm_build.c | 5 + src/amd/common/ac_nir_to_llvm.c | 25 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/amd/common/ac_llvm_build.c

[Mesa-dev] [Bug 99781] Some Unity games fail assertion on startup in glXCreateContextAttribsARB

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99781 Tapani Pälli changed: What|Removed |Added CC||lem...@gmail.com --

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Kenneth Graunke
On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: > From Message Descriptor section in gfxspecs: > "Memory fence messages without Commit Enable set do not return > anything to the thread (response length is 0 and destination > register is null)." > > It fixes a piglit GPU hang

Re: [Mesa-dev] [PATCH] i965/tiled_memcpy: ytiled_to_linear a cache line at a time

2018-02-07 Thread Scott D Phillips
Chris Wilson writes: > From: Scott D Phillips > > Similar to the transformation applied to linear_to_ytiled, also align > each readback from the ytiled source to a cacheline (i.e. transfer a > whole cacheline from the source before moving on

[Mesa-dev] [PATCH 07/10] gallium/util: s/uint/enum tgsi_semantic/ in u_blitter.c

2018-02-07 Thread Brian Paul
And put static qualifier on const arrays. --- src/gallium/auxiliary/util/u_blitter.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 057411f..63d1307 100644 ---

[Mesa-dev] [PATCH 08/10] tgsi: s/unsigned/enum pipe_shader_type/ in ureg code

2018-02-07 Thread Brian Paul
And add a default switch case to silence a compiler warning. --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 9 ++--- src/gallium/auxiliary/tgsi/tgsi_ureg.h | 5 +++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c

[Mesa-dev] [PATCH 10/10] tgsi: use TGSI_INTERPOLATE_x arguments instead of zeros in ureg code

2018-02-07 Thread Brian Paul
TGSI_INTERPOLATE_CONSTANT and TGSI_INTERPOLATE_LOC_CENTER have the value zero so there's no change in behavior. It seems funny to declare these fs input registers with constant interpolation. But it looks like ureg_DECL_input_layout() is not called anywhere and ureg_DECL_input() is only called

[Mesa-dev] [PATCH 09/10] gallium/util: s/uint/enum tgsi_semantic/ in simple shader code

2018-02-07 Thread Brian Paul
--- src/gallium/auxiliary/util/u_simple_shaders.c | 4 ++-- src/gallium/auxiliary/util/u_simple_shaders.h | 4 ++-- src/gallium/auxiliary/util/u_tests.c | 2 +- src/gallium/tests/trivial/quad-tex.c | 4 ++-- src/gallium/tests/trivial/tri.c | 8 5 files

Re: [Mesa-dev] [PATCH 1/2] i965: perf: use drmIoctl() instead of ioctl()

2018-02-07 Thread Mark Janes
Tested-by: Mark Janes Lionel Landwerlin writes: > ioctl() might be interrupted, use drmIoctl() instead as it'll retry > automatically. > > Fixes: 27ee83eaf7e "i965: perf: add support for userspace configurations" > Cc: "18.0"

Re: [Mesa-dev] [PATCH 1/2] intel/compiler: Memory fence commit must always be enabled for gen10+

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 11:56 AM, Francisco Jerez wrote: > Anuj Phogat writes: > > > Commit bit in the message descriptor (Bit 13) must be always set > > to true in CNL+ for memory fence messages. It also fixes a piglit > > GPU hang on cnl+ in

Re: [Mesa-dev] [PATCH] i965: Trim

2018-02-07 Thread Matt Turner
On Wed, Feb 7, 2018 at 11:41 AM, Chris Wilson wrote: >textdata bss dec hex filename > 8852169 388752 671064 9911985 973eb1 lib/i965_dri.so > 8852017 388752 671064 9911833 973e19 > --- > src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 48 >

Re: [Mesa-dev] [PATCH 5/5] st/mesa: generate blend state according to the number of enabled color buffers

2018-02-07 Thread Marek Olšák
Ping. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v2 3/8] radeon/uvd:add uvd hevc enc hw interface header

2018-02-07 Thread Boyuan Zhang
Better to add it to Makefile.source and Meson in this patch. Other than this, this patch is Reviewed-by: Boyuan Zhang On 2018-02-06 03:05 PM, James Zhu wrote: Add hevc encode hardware interface for UVD Signed-off-by: James Zhu ---

Re: [Mesa-dev] [PATCH v3 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Nanley Chery
On Wed, Feb 07, 2018 at 03:02:12PM -0800, Jason Ekstrand wrote: > On Wed, Feb 7, 2018 at 1:39 PM, Nanley Chery wrote: > > > On Wed, Feb 07, 2018 at 11:27:38AM -0800, Jason Ekstrand wrote: > > > On Wed, Feb 7, 2018 at 9:59 AM, Nanley Chery > > wrote:

Re: [Mesa-dev] [PATCH 00/14] anv: Rework subpass resolves and clears

2018-02-07 Thread Nanley Chery
On Mon, Feb 05, 2018 at 02:34:49PM -0800, Jason Ekstrand wrote: > This little series just shuffles code around to make things a bit more > clear. (At least I think it does!) The basic idea is to split set_subpass > into begin_subpass and end_subpass and then move all of resolve and clear > code

Re: [Mesa-dev] [PATCH 2/3] android: anv: add dependency on libnativewindow for O and later

2018-02-07 Thread Mauro Rossi
> How about introducing ANV_LIBRARIES (near to ANV_INCLUDES) and setting > libdrm and libnativewindow there, then for each libanv just have the > $(ANV_LIBRARIES)? > > IMO this would make it cleaner to add new libs like we do here. In > Android-IA we've just had the libnativewindow include path

[Mesa-dev] [PATCH v2] intel/tools: new intel_sanitize_gpu tool

2018-02-07 Thread Scott D Phillips
From: Kevin Rogovin Adds a new debug tool to pad each GEM BO allocated with (weak) pseudo-random noise values which are then checked after each batchbuffer dispatch to the kernel. This can be quite valuable to find diffucult to track down heisenberg style bugs.

[Mesa-dev] [PATCH v2 2/3] ac: move get_elem_bits() to ac_llvm_build.c

2018-02-07 Thread Timothy Arceri
Reviewed-by: Marek Olšák --- src/amd/common/ac_llvm_build.c | 19 +++ src/amd/common/ac_llvm_build.h | 3 +++ src/amd/common/ac_nir_to_llvm.c | 34 -- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git

[Mesa-dev] [PATCH v2 1/3] ac: add 64bit bitCount support

2018-02-07 Thread Timothy Arceri
v2: use LLVMBuildTrunc() --- src/amd/common/ac_nir_to_llvm.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 348ac5bab4..2af4c39e28 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++

[Mesa-dev] [PATCH v2 3/3] ac: add 64bit support to ac_find_lsb()

2018-02-07 Thread Timothy Arceri
v2: use LLVMBuildTrunc() --- src/amd/common/ac_llvm_build.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index 6352ca44ea..d7e1f2bbdf 100644 --- a/src/amd/common/ac_llvm_build.c +++

Re: [Mesa-dev] [PATCH 02/29] i965/surface_state: Use an identity swizzle pre-Haswell

2018-02-07 Thread Kenneth Graunke
On Friday, January 26, 2018 5:59:31 PM PST Jason Ekstrand wrote: > --- > src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c > b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c > index

[Mesa-dev] [PATCH 06/10] st/mesa: s/unsigned/enum tgsi_semantic/ st_cb_drawpixels.c

2018-02-07 Thread Brian Paul
--- src/mesa/state_tracker/st_cb_drawpixels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index ff3eb9b..c855a90 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++

[Mesa-dev] [PATCH 04/10] gallium/util: trivial whitespace/formatting fixes in u_blit.c

2018-02-07 Thread Brian Paul
--- src/gallium/auxiliary/util/u_blit.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c index 4c85ef2..d1571cd1f5 100644 --- a/src/gallium/auxiliary/util/u_blit.c +++

[Mesa-dev] [PATCH 05/10] vbo: add a comment on vbo_draw_transform_feedback()

2018-02-07 Thread Brian Paul
--- src/mesa/vbo/vbo_exec_array.c | 8 1 file changed, 8 insertions(+) diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 9ce0aa3..25abe09 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -1416,6 +1416,14 @@

[Mesa-dev] [PATCH 03/10] vbo: improve comments on vbo_draw_func()

2018-02-07 Thread Brian Paul
And rename a parameter name. --- src/mesa/vbo/vbo.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h index a04f9b8..d594ba8 100644 --- a/src/mesa/vbo/vbo.h +++ b/src/mesa/vbo/vbo.h @@ -149,9 +149,10 @@ vbo_save_EndCallList(struct

[Mesa-dev] [PATCH 01/10] st/mesa: rename some vars related to indirect draw count

2018-02-07 Thread Brian Paul
'indirect_params' was a bit vague. Use the names that we use in gallium's pipe_draw_indirect_info. --- src/mesa/state_tracker/st_draw.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index

[Mesa-dev] [PATCH 02/10] cso: add a couple sanity check assertions in cso_draw_vbo()

2018-02-07 Thread Brian Paul
--- src/gallium/auxiliary/cso_cache/cso_context.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index dd9821e..1b5d4b5 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++

[Mesa-dev] [PATCH] r600: implement tg4 integer workaround.

2018-02-07 Thread Dave Airlie
From: Dave Airlie This ports the texture gather integer workaround from radeonsi. This fixes: KHR-GL45.texture_gather.plain-gather-uint/int* Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_shader.c | 135 +

Re: [Mesa-dev] [PATCH 2/5] st/mesa: don't check for ARB_draw_buffers_blend in update_blend

2018-02-07 Thread Marek Olšák
On Wed, Feb 7, 2018 at 11:56 PM, Timothy Arceri wrote: > > On 01/02/18 06:55, Marek Olšák wrote> From: Marek Olšák > >> >> >> If the GL API is missing, different blend functions can't be set >> through GL. > > > Looking at the commit that added this

[Mesa-dev] [PATCH] r600/radeonsi/clover: use PIPE_SHADER_CAP_SUPPORTED_IRS with clover

2018-02-07 Thread Timothy Arceri
PIPE_SHADER_CAP_PREFERRED_IR was conlicting with PIPE_SHADER_IR_NIR for compute shaders, so we let clover pick the one it wants to use. This change indirectly enables NIR support for compute shaders on radeonsi. --- src/gallium/drivers/r600/r600_pipe.c | 6 +-

Re: [Mesa-dev] [PATCH v2 0/5] i965: ASTC5x5 workaround

2018-02-07 Thread Jason Ekstrand
Random thought: Nanley and I were talking about this just now and I was complaining about how much I hate the fact that this workaround exists because we can't implement it in Vulkan. Then I got an idea. What would happen if we just set MOCS to zero (uncached) for ASTC 5x5 textures? Does that

[Mesa-dev] [PATCH] meson: Add build option for tools

2018-02-07 Thread Scott D Phillips
Add a build option to control building some of the misc tools we have. Also set the executables to install, presumably you want that if you're asking for the build. --- meson.build | 5 + meson_options.txt | 6 ++

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Francisco Jerez
Anuj Phogat writes: > On Wed, Feb 7, 2018 at 11:55 AM, Francisco Jerez > wrote: > >> Anuj Phogat writes: >> >> > On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke >> > wrote: >> > >> >> On Tuesday,

Re: [Mesa-dev] [PATCH] i965: Trim

2018-02-07 Thread Chris Wilson
Quoting Matt Turner (2018-02-07 20:42:15) > On Wed, Feb 7, 2018 at 11:41 AM, Chris Wilson > wrote: > >textdata bss dec hex filename > > 8852169 388752 671064 9911985 973eb1 lib/i965_dri.so > > 8852017 388752 671064 9911833 973e19 > > --- > >

Re: [Mesa-dev] [PATCH 11/11] r600/radeonsi/clover: always assume PIPE_SHADER_IR_NATIVE for clover

2018-02-07 Thread Francisco Jerez
Pierre Moreau writes: > On 2018-02-06 — 20:50, Jan Vesely wrote: > [snip] >> > > Happy to here suggestions for solving the current conflict in uses of >> > > PIPE_SHADER_CAP_PREFERRED_IR. >> > >> > One option could be to: >> > * look at the preferred IR >> > |-> if

Re: [Mesa-dev] [PATCH v3 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Nanley Chery
On Wed, Feb 07, 2018 at 11:27:38AM -0800, Jason Ekstrand wrote: > On Wed, Feb 7, 2018 at 9:59 AM, Nanley Chery wrote: > > > On Tue, Feb 06, 2018 at 05:57:26PM -0800, Jason Ekstrand wrote: > > > On Tue, Feb 6, 2018 at 5:09 PM, Nanley Chery > > wrote:

Re: [Mesa-dev] [PATCH v2 4/8] radeon/uvd:add uvd hevc enc hw ib implementation

2018-02-07 Thread Boyuan Zhang
Better to add it to Makefile.source and Meson in this patch. Other than this, this patch is Reviewed-by: Boyuan Zhang On 2018-02-06 03:05 PM, James Zhu wrote: Implement required IBs for UVD HEVC encode. Signed-off-by: James Zhu ---

Re: [Mesa-dev] [PATCH 2/5] st/mesa: don't check for ARB_draw_buffers_blend in update_blend

2018-02-07 Thread Roland Scheidegger
Am 07.02.2018 um 23:56 schrieb Timothy Arceri: > > On 01/02/18 06:55, Marek Olšák wrote> From: Marek Olšák > >> >> If the GL API is missing, different blend functions can't be set >> through GL. > > Looking at the commit that added this a476ca1fd1b4e7 the commit message is:

[Mesa-dev] [PATCH 2/2] st/va: Make the vendor string more descriptive

2018-02-07 Thread Mark Thompson
Include the Mesa version and detail about the platform. Signed-off-by: Mark Thompson --- This gives: $ vainfo --display drm --device /dev/dri/renderD128 libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open

[Mesa-dev] [PATCH] r600: fix rendering regression on r6/7 gpus

2018-02-07 Thread Dave Airlie
From: Dave Airlie Fixes: 2d5b5d267e (r600: work out target mask at framebuffer bind.) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104989 Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_state.c | 7 ++- 1 file changed, 6

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Kenneth Graunke
On Wednesday, February 7, 2018 1:21:53 PM PST Anuj Phogat wrote: > On Wed, Feb 7, 2018 at 12:24 PM, Francisco Jerez wrote: > > Anuj Phogat writes: > > > On Wed, Feb 7, 2018 at 11:55 AM, Francisco Jerez wrote: > > > > You can also just drop the patch, unless you want to change the > > > > front-end

Re: [Mesa-dev] [PATCH 1/2] intel/compiler: Memory fence commit must always be enabled for gen10+

2018-02-07 Thread Francisco Jerez
Anuj Phogat writes: > On Wed, Feb 7, 2018 at 11:56 AM, Francisco Jerez > wrote: > >> Anuj Phogat writes: >> >> > Commit bit in the message descriptor (Bit 13) must be always set >> > to true in CNL+ for memory fence messages.

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 11:55 AM, Francisco Jerez wrote: > Anuj Phogat writes: > > > On Wed, Feb 7, 2018 at 11:14 AM, Kenneth Graunke > > wrote: > > > >> On Tuesday, February 6, 2018 5:09:10 PM PST Anuj Phogat wrote: > >> >

Re: [Mesa-dev] [PATCH 2/2] intel/compiler: Use null destination register for memory fence messages

2018-02-07 Thread Anuj Phogat
On Wed, Feb 7, 2018 at 12:24 PM, Francisco Jerez wrote: > Anuj Phogat writes: > > > On Wed, Feb 7, 2018 at 11:55 AM, Francisco Jerez > > wrote: > > > >> Anuj Phogat writes: > >> > >> > On Wed, Feb 7,

[Mesa-dev] [AppVeyor] mesa master #6853 failed

2018-02-07 Thread AppVeyor
Build mesa 6853 failed Commit 6f82b8d8d0 by Marek Olšák on 9/4/2017 8:36 PM: gallium: build ddebug, noop, rbug, trace as part of auxiliary\n\nBuilding gallium is faster by 7.5 seconds on a 4core/8thread 3GHz CPU.\n(gallium build time is reduced by 15% when

[Mesa-dev] [PATCH 1/2] st/mesa: don't store non-fragment sampler states and views in st_context

2018-02-07 Thread Marek Olšák
From: Marek Olšák those are unused. st_context: 10120 -> 3704 bytes --- src/mesa/state_tracker/st_atom_sampler.c | 35 +-- src/mesa/state_tracker/st_atom_texture.c | 56 +-- src/mesa/state_tracker/st_cb_bitmap.c | 8 ++---

[Mesa-dev] [PATCH 2/2] st/mesa: remove out_num_textures from update_textures

2018-02-07 Thread Marek Olšák
From: Marek Olšák --- src/mesa/state_tracker/st_atom_texture.c | 32 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st_atom_texture.c index 105fa79..ce7755f

Re: [Mesa-dev] [PATCH 2/2] st/mesa: remove out_num_textures from update_textures

2018-02-07 Thread Timothy Arceri
Series: Reviewed-by: Timothy Arceri ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v2 5/8] radeon/uvd:add uvd hevc enc functions

2018-02-07 Thread Boyuan Zhang
Better to add it to Makefile.source and Meson in this patch. Other than this, this patch is Reviewed-by: Boyuan Zhang On 2018-02-06 03:05 PM, James Zhu wrote: Implement UVD hevc encode functions Signed-off-by: James Zhu ---

Re: [Mesa-dev] [PATCH 2/5] st/mesa: don't check for ARB_draw_buffers_blend in update_blend

2018-02-07 Thread Timothy Arceri
On 01/02/18 06:55, Marek Olšák wrote> From: Marek Olšák If the GL API is missing, different blend functions can't be set through GL. Looking at the commit that added this a476ca1fd1b4e7 the commit message is: "st/mesa: Use blend equation and function of first render

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

2018-02-07 Thread AppVeyor
Build mesa 6854 completed Commit 09f49b9e50 by Roland Scheidegger on 2/7/2018 10:47 PM: Revert "gallium: build ddebug, noop, rbug, trace as part of auxiliary"\n\nThis reverts commit 6f82b8d8d0a986aac28e7bec47fc313fb950475c.\n\nThis broke scons build, and

[Mesa-dev] [Bug 104983] current version, warning during make process in glsl

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104983 --- Comment #2 from Timothy Arceri --- FYI this is also fixed in recent versions of flex. -- You are receiving this mail because: You are the assignee for the bug.___ mesa-dev

Re: [Mesa-dev] [PATCH v2 7/8] radeonsi:create uvd hevc enc entry

2018-02-07 Thread Boyuan Zhang
This patch is Reviewed-by: Boyuan Zhang On 2018-02-06 03:05 PM, James Zhu wrote: Add UVD hevc encode pipe video codec creation entry Signed-off-by: James Zhu --- src/gallium/drivers/radeonsi/si_uvd.c | 15 --- 1 file changed, 12

[Mesa-dev] [PATCH 1/2] st/va: Enable vaExportSurfaceHandle()

2018-02-07 Thread Mark Thompson
It is present from libva 2.1 (VAAPI 1.1.0 or higher). Signed-off-by: Mark Thompson Acked-by: Christian König --- Retested with up-to-date stuff, including unmodified git libva now. They have applied the version bump and it looks like 2.1 will actually

[Mesa-dev] [Bug 104989] [r600] [bisected] OpenGL applications can't render anything at all

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104989 --- Comment #2 from Dave Airlie --- https://patchwork.freedesktop.org/series/37853/ Should fix it, I tested on my rv770, sorry for breakage. -- You are receiving this mail because: You are the QA Contact for the bug.

Re: [Mesa-dev] [PATCH] r600: fix rendering regression on r6/7 gpus

2018-02-07 Thread Roland Scheidegger
Am 07.02.2018 um 23:25 schrieb Dave Airlie: > From: Dave Airlie > > Fixes: 2d5b5d267e (r600: work out target mask at framebuffer bind.) > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104989 > > Signed-off-by: Dave Airlie Looks alright to me.

Re: [Mesa-dev] [PATCH v2 5/7] disk cache: initialize cache path and index only when used

2018-02-07 Thread Timothy Arceri
Hi Tapani, This patch causes deadlock when running piglit on my radeonsi with my ryzen (16 threads all running shader_runner). Have you tested it on similar Intel hardware? Tim On 31/01/18 18:17, Tapani Pälli wrote: This patch makes disk_cache initialize path and index lazily so that we

[Mesa-dev] [PATCH v4 20/24] anv/cmd_buffer: Rework aux tracking

2018-02-07 Thread Jason Ekstrand
This commit completely reworks aux tracking. This includes a number of somewhat distinct changes: 1) Since we are no longer fast-clearing multiple slices, we only need to track one fast clear color and one fast clear type. 2) We store two bits for fast clear instead of one to let us

[Mesa-dev] [PATCH] r600: fix texture gather swizzling.

2018-02-07 Thread Dave Airlie
From: Dave Airlie This fixes: KHR-GL45.texture_gather.swizzle on cayman and redwood. --- src/gallium/drivers/r600/r600_shader.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c

Re: [Mesa-dev] [PATCH] r600: fix texture gather swizzling.

2018-02-07 Thread Roland Scheidegger
Am 08.02.2018 um 07:23 schrieb Dave Airlie: > From: Dave Airlie > > This fixes: > KHR-GL45.texture_gather.swizzle > on cayman and redwood. > --- > src/gallium/drivers/r600/r600_shader.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git

Re: [Mesa-dev] [PATCH v2 1/3] st/glsl_to_tgsi: move nir detection earlier - bisected

2018-02-07 Thread Timothy Arceri
On 07/02/18 19:17, Dieter Nützel wrote: Am 06.02.2018 00:23, schrieb Timothy Arceri: On 05/02/18 15:04, Dieter Nützel wrote: Am 02.02.2018 10:24, schrieb Timothy Arceri: On 02/02/18 19:26, Dieter Nützel wrote: Hello Tim, _this_ version brake UH, UV, mpv, blender 2.79 (some test files not

Re: [Mesa-dev] [PATCH 2/3] android: anv: add dependency on libnativewindow for O and later

2018-02-07 Thread Tapani Pälli
Thanks Mauro! Reviewed-by: Tapani Pälli On 02/08/2018 02:21 AM, Mauro Rossi wrote: How about introducing ANV_LIBRARIES (near to ANV_INCLUDES) and setting libdrm and libnativewindow there, then for each libanv just have the $(ANV_LIBRARIES)? IMO this would make it

[Mesa-dev] [Bug 105013] [regression] GLX video playback is corrupt with Mesa 17.3 (but is fine with 17.2)

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105013 Daniel van Vugt changed: What|Removed |Added Summary|[regression] Video playback

Re: [Mesa-dev] [PATCH v2 0/5] i965: ASTC5x5 workaround

2018-02-07 Thread Rogovin, Kevin
Hi, I gave it a whirl of setting the .mocs field set to 0 passed to isl_surf_fill_state() ALWAYS. Sadly CarChase GLES continued to hang (where as the GL did not because it does not use ASTC). This makes sense since MOCS (atleast last time I looked at it) only really controls cache usage for L3

[Mesa-dev] [PATCH] r600: implement tg4 integer workaround. (v2)

2018-02-07 Thread Dave Airlie
From: Dave Airlie This ports the texture gather integer workaround from radeonsi. This fixes: KHR-GL45.texture_gather.plain-gather-uint/int* v2: add rect support, fix 2d array shadow Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_shader.c

Re: [Mesa-dev] [PATCH v2 5/7] disk cache: initialize cache path and index only when used

2018-02-07 Thread Tapani Pälli
Hi; On 02/08/2018 06:00 AM, Timothy Arceri wrote: Hi Tapani, This patch causes deadlock when running piglit on my radeonsi with my ryzen (16 threads all running shader_runner). Have you tested it on similar Intel hardware? It passes Intel CI, not sure if that counts though. Can you send

[Mesa-dev] [Bug 104988] Please do a mesa-demos/mesa-utils release. The last one was 2 years ago.

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104988 --- Comment #5 from Brian Paul --- (In reply to Brian Paul from comment #4) > (In reply to Andreas Boll from comment #1) > > Sure, I can make a new release. Most likely tomorrow. > > Can you wait a bit? I've got a

[Mesa-dev] [PATCH kmscube] formats: use weston's egl config matching logic, move format defines up

2018-02-07 Thread Ilia Mirkin
The GBM surface format has to match the DRM mode. Both are used in a couple of places, so move the defines to a common place so that they can be adjusted easily. Signed-off-by: Ilia Mirkin --- Tested with both RGB565 and ARGB2101010. Predictably the RGB565 cube has a lot

[Mesa-dev] [Bug 105013] [regression] Video playback is corrupt with Mesa 17.3 (but is fine with 17.2)

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105013 Bug ID: 105013 Summary: [regression] Video playback is corrupt with Mesa 17.3 (but is fine with 17.2) Product: Mesa Version: 17.3 Hardware: Other OS: All

Re: [Mesa-dev] [PATCH] glsl/linker: remove ubo explicit binding handling at uniform_initializers

2018-02-07 Thread Alejandro Piñeiro
Ping. FWIW, when I sent this patch, I also sent a test to the piglit ml, that got reviewed and pushed: https://cgit.freedesktop.org/piglit/commit/?id=88a9a99794f6108b656d4142cecd373b7995863c To run it: ./bin/shader_runner

[Mesa-dev] [Bug 105013] [regression] GLX video playback is corrupt with Mesa 17.3 (but is fine with 17.2)

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105013 --- Comment #1 from Timo Aaltonen --- broken on 18.0.0-rc2 as well -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the

[Mesa-dev] [Bug 104949] swrast: Epiphany WEB browser core dumps under Mesa 17.3.3

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104949 --- Comment #9 from Wayne Blaszczyk --- (In reply to Eric Engestrom from comment #8) > (In reply to Wayne Blaszczyk from comment #7) > > I don't have eglinfo. What package does that come from? > > it's in mesa-demos,

  1   2   >