Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Jason Ekstrand
On Wed, May 23, 2018 at 5:49 PM, Jordan Justen wrote: > On 2018-05-23 15:16:58, wrote: > > On Wed, May 23, 2018 at 5:48 PM, Jordan Justen > > wrote: > > > Why can this only be done with gitlab? > > > > I'm not directly involved w/ decision

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Jason Ekstrand
On Wed, May 23, 2018 at 4:41 PM, Jordan Justen wrote: > On 2018-05-23 16:00:53, Jason Ekstrand wrote: > > On Wed, May 23, 2018 at 2:48 PM, Jordan Justen < > jordan.l.jus...@intel.com> > > wrote: > > > > > On 2018-05-23 12:34:11, Jason Ekstrand wrote: > > > > Mesa

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Jordan Justen
On 2018-05-23 15:16:58, wrote: > On Wed, May 23, 2018 at 5:48 PM, Jordan Justen > wrote: > > Why can this only be done with gitlab? > > I'm not directly involved w/ decision to move things to gitlab, but that said, > >

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Jordan Justen
On 2018-05-23 16:00:53, Jason Ekstrand wrote: > On Wed, May 23, 2018 at 2:48 PM, Jordan Justen > wrote: > > > On 2018-05-23 12:34:11, Jason Ekstrand wrote: > > > Mesa developers, > > > > > > tl;dr. Please go to gitlab.freedesktop.org, create your account, and > > >

[Mesa-dev] [Bug 106558] lower_x86.cpp:125:53: error: ‘x86_avx512_mask_permvar_sf_256’ is not a member of ‘llvm::Intrinsic’

2018-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106558 --- Comment #1 from Bernhard Rosenkraenzer --- Created attachment 139724 --> https://bugs.freedesktop.org/attachment.cgi?id=139724=edit proposed patch -- You are receiving this mail because: You are the QA Contact for the

Re: [Mesa-dev] [Mesa-stable] [PATCH] intel/fs: Properly copy default flag reg for 3src instrucitons

2018-05-23 Thread Jason Ekstrand
On Wed, May 23, 2018 at 3:40 PM, Francisco Jerez wrote: > Jason Ekstrand writes: > > > On Wed, May 23, 2018 at 12:13 PM, Francisco Jerez > > > wrote: > > > >> Jason Ekstrand writes: > >> > >> > Prior to

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Jason Ekstrand
On Wed, May 23, 2018 at 2:48 PM, Jordan Justen wrote: > On 2018-05-23 12:34:11, Jason Ekstrand wrote: > > Mesa developers, > > > > tl;dr. Please go to gitlab.freedesktop.org, create your account, and > > upload your SSH keys. Instructions are the bottom of this

Re: [Mesa-dev] [Mesa-stable] [PATCH] intel/fs: Properly copy default flag reg for 3src instrucitons

2018-05-23 Thread Francisco Jerez
Jason Ekstrand writes: > On Wed, May 23, 2018 at 12:13 PM, Francisco Jerez > wrote: > >> Jason Ekstrand writes: >> >> > Prior to gen8, the flag reg and subreg numbers are in different >> > locations on 3src instructions than on

Re: [Mesa-dev] [PATCH v7 13/21] configure.ac, meson: Check for SPIRV-Tools and llvm-spirv

2018-05-23 Thread Dylan Baker
Quoting Pierre Moreau (2018-05-23 14:43:10) > Signed-off-by: Pierre Moreau > --- > Changes in: > - v7: Replace the llvm-spirv repository by the new official > SPIRV-LLVM-Translator > > configure.ac | 18 ++ > meson.build | 8 > 2 files

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Rob Clark
On Wed, May 23, 2018 at 5:48 PM, Jordan Justen wrote: > On 2018-05-23 12:34:11, Jason Ekstrand wrote: >> Mesa developers, >> >> tl;dr. Please go to gitlab.freedesktop.org, create your account, and >> upload your SSH keys. Instructions are the bottom of this e-mail. >>

Re: [Mesa-dev] [PATCH shaderdb] run: shader program file created via GetProgramBinary (v5)

2018-05-23 Thread Dongwon Kim
Thanks, Matt!! I am glad to see it is finally merged. By the way, not sure if you saw this patch. [PATCH shaderdb] run: handling binding of attribute variable name (v2) https://lists.freedesktop.org/archives/mesa-dev/2018-March/190179.html This is required for pre-binding of uniforms. It would

Re: [Mesa-dev] [PATCH v5 00/21] Introducing SPIR-V support to clover

2018-05-23 Thread Pierre Moreau
Hello everyone, I updated a few patches of the series to have it use the new official SPIR-V <-> LLVM translator, that can be found at https://github.com/KhronosGroup/SPIRV-LLVM-Translator. The whole series, rebased on the current Mesa HEAD, can be found at

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Jordan Justen
On 2018-05-23 12:34:11, Jason Ekstrand wrote: > Mesa developers, > > tl;dr. Please go to gitlab.freedesktop.org, create your account, and > upload your SSH keys. Instructions are the bottom of this e-mail. > > The freedesktop.org admins are trying to move as many projects and services > as

[Mesa-dev] [PATCH v7 16/21] clover/spirv: Add functions for validating SPIR-V binaries

2018-05-23 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Changes in: - v7: Update the dependency name (meson) and the libs variable (Makefile) due to the replacement of llvm-spirv to the new official SPIRV-LLVM-Translator src/gallium/state_trackers/clover/Makefile.am | 15 +-

[Mesa-dev] [PATCH v7 14/21] clover/llvm: Allow translating from SPIR-V to LLVM IR

2018-05-23 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Changes in: - v7: Update the LLVM API call due to the replacement of llvm-spirv to the new official SPIRV-LLVM-Translator src/gallium/state_trackers/clover/Makefile.am | 6 +++- .../state_trackers/clover/llvm/invocation.cpp | 29

[Mesa-dev] [PATCH v7 13/21] configure.ac, meson: Check for SPIRV-Tools and llvm-spirv

2018-05-23 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- Changes in: - v7: Replace the llvm-spirv repository by the new official SPIRV-LLVM-Translator configure.ac | 18 ++ meson.build | 8 2 files changed, 26 insertions(+) diff --git a/configure.ac

Re: [Mesa-dev] [PATCH 1/6] ac/surface/gfx6: don't overallocate mipmapped HTILE

2018-05-23 Thread Marek Olšák
ping On Wed, May 16, 2018 at 9:47 PM, Marek Olšák wrote: > From: Marek Olšák > > --- > src/amd/common/ac_surface.c | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/src/amd/common/ac_surface.c

[Mesa-dev] [PATCH 0/3] RadeonSI: All GL Compatibility changes?

2018-05-23 Thread Marek Olšák
Hi, Gallium only requires drivers to implement legacy shader inputs and outputs. I believe this is all that's needed on the driver side. If core Mesa support was complete, we could bump the GLSL CAP to 450. Please review. Thanks, Marek ___ mesa-dev

[Mesa-dev] [PATCH 1/3] radeonsi: fix incorrect parentheses around VS-PS varying elimination

2018-05-23 Thread Marek Olšák
From: Marek Olšák I don't know if it caused issues. Cc: 18.0 18.1 --- 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

[Mesa-dev] [PATCH 2/3] radeonsi: fix color inputs/outputs for GS and tess

2018-05-23 Thread Marek Olšák
From: Marek Olšák GS is tested, tessellation is untested. Have outputs_written_before_ps for HW VS and outputs_written for other stages. The reason is that COLOR and BCOLOR alias for HW VS, which drives elimination of VS outputs based on PS inputs. ---

[Mesa-dev] [PATCH 3/3] radeonsi: fix passing gl_ClipVertex for GS and tess

2018-05-23 Thread Marek Olšák
From: Marek Olšák Also add the printf call. --- src/gallium/drivers/radeonsi/si_shader.c| 5 - src/gallium/drivers/radeonsi/si_shader.h| 2 +- src/gallium/drivers/radeonsi/si_state_shaders.c | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-)

[Mesa-dev] [PATCH 4/8] gallium: add PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY

2018-05-23 Thread Marek Olšák
From: Marek Olšák --- src/gallium/docs/source/screen.rst | 6 ++ src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 + src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 +

[Mesa-dev] [PATCH 5/8] st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY

2018-05-23 Thread Marek Olšák
From: Marek Olšák --- src/mesa/state_tracker/st_extensions.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 2d56a880273..b5622b330bb

[Mesa-dev] [PATCH 6/8] mesa: expose ARB_gpu_shader5 in the compatibility profile

2018-05-23 Thread Marek Olšák
From: Marek Olšák Gallium drivers don't expose this yet due to: "st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY" --- src/mesa/drivers/dri/i965/intel_extensions.c | 6 -- src/mesa/main/extensions_table.h | 2 +- 2 files changed, 5 insertions(+), 3

[Mesa-dev] [PATCH 7/8] mesa: expose AMD_vertex_shader_layer in the compatibility profile

2018-05-23 Thread Marek Olšák
From: Marek Olšák This requires layered FBOs from GL 3.2. Gallium drivers don't expose this yet due to: "st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY" --- src/mesa/drivers/dri/i965/intel_extensions.c | 3 ++- src/mesa/main/extensions_table.h | 2

[Mesa-dev] [PATCH 8/8] mesa: expose ARB_tessellation_shader in the compatibility profile

2018-05-23 Thread Marek Olšák
From: Marek Olšák Gallium drivers don't expose this yet due to: "st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY" --- src/mesa/drivers/dri/i965/intel_extensions.c | 3 ++- src/mesa/main/extensions_table.h | 2 +- src/mesa/state_tracker/st_extensions.c

[Mesa-dev] [PATCH 2/8] mesa: print Compatibility Profile in the version string

2018-05-23 Thread Marek Olšák
From: Marek Olšák --- src/mesa/main/version.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 3f3dff0bde3..1bdccf4a1df 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@

[Mesa-dev] [PATCH 3/8] mesa: update fixed-func state constants for TCS, TES, GS

2018-05-23 Thread Marek Olšák
From: Marek Olšák --- src/mesa/main/state.c | 64 --- 1 file changed, 36 insertions(+), 28 deletions(-) diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index be8f3f302c6..097cd9e20d2 100644 --- a/src/mesa/main/state.c +++

[Mesa-dev] [PATCH 1/8] glsl: parse #version XXX compatibility

2018-05-23 Thread Marek Olšák
From: Marek Olšák --- src/compiler/glsl/glcpp/glcpp-parse.y | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/compiler/glsl/glcpp/glcpp-parse.y b/src/compiler/glsl/glcpp/glcpp-parse.y index d83f99f1c7e..4be5cfa3d54 100644 ---

[Mesa-dev] [PATCH 0/8] GL compatibility: Basic GS and tessellation enablement

2018-05-23 Thread Marek Olšák
Hi, This advances GL compatibility support a little bit. Geometry and tessellation shaders should work if you don't combine them with non-GLSL stages. All GLSL legacy variables should work. All GL compatibility piglit tests for geometry shaders pass on radeonsi. (we have a lot of compiler tests

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Nicolai Hähnle
Hi Jason, On 23.05.2018 21:34, Jason Ekstrand wrote: Mesa developers, tl;dr.  Please go to gitlab.freedesktop.org , create your account, and upload your SSH keys.  Instructions are the bottom of this e-mail. The freedesktop.org admins

Re: [Mesa-dev] [Mesa-stable] [PATCH] intel/fs: Properly copy default flag reg for 3src instrucitons

2018-05-23 Thread Jason Ekstrand
On Wed, May 23, 2018 at 12:13 PM, Francisco Jerez wrote: > Jason Ekstrand writes: > > > Prior to gen8, the flag reg and subreg numbers are in different > > locations on 3src instructions than on smaller instructions. In order > > for

[Mesa-dev] [PATCH] st/mesa: simplify lastLevel determination in st_finalize_texture

2018-05-23 Thread Marek Olšák
From: Marek Olšák This fixes shader images where we always bind stObj->pt and not individual gl_texture_images. Roughly based on i965 commit 845ad2667ab2466752f06ea30bdb9c837116c308 which does a similar thing but for a different reason. This fixes GL CTS assertion failures

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Rob Clark
On Wed, May 23, 2018 at 3:34 PM, Jason Ekstrand wrote: > > 1. Go to gitlab.freedesktop.org > 2. Click "Sign In / Register" in the upper left-hand corner > 3. You already have an account. Click "Forgot your password?", type in > your fd.o-associated e-mail, and click

Re: [Mesa-dev] Gitlab migration

2018-05-23 Thread Kenneth Graunke
On Wednesday, May 23, 2018 12:34:11 PM PDT Jason Ekstrand wrote: > 1. Go to gitlab.freedesktop.org > 2. Click "Sign In / Register" in the upper left-hand corner > 3. You already have an account. Click "Forgot your password?", type > in your fd.o-associated e-mail, and click "Reset

[Mesa-dev] [PATCH 4/7] swr/rast: Renamed MetaData calls

2018-05-23 Thread Alok Hota
--- .../drivers/swr/rasterizer/jitter/builder.cpp | 170 ++--- .../drivers/swr/rasterizer/jitter/builder.h| 4 +- 2 files changed, 87 insertions(+), 87 deletions(-) diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder.cpp

[Mesa-dev] [PATCH 6/7] swr/rast: Moved memory init out of core swr init

2018-05-23 Thread Alok Hota
Added two new files for a wrapper function for initialization --- src/gallium/drivers/swr/Makefile.sources | 4 ++- src/gallium/drivers/swr/meson.build| 2 ++ src/gallium/drivers/swr/rasterizer/core/api.cpp| 4 --- src/gallium/drivers/swr/rasterizer/core/state.h

[Mesa-dev] [PATCH 1/7] swr/rast: Added in-place building to SCATTERPS

2018-05-23 Thread Alok Hota
SCATTERPS previously assumed it was being used with an existing basic block --- .../drivers/swr/rasterizer/jitter/builder_mem.cpp | 29 +++--- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp

[Mesa-dev] [PATCH 5/7] swr/rast: Removed superfluous JitManager argument from passes

2018-05-23 Thread Alok Hota
--- src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp | 2 +- src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp | 2 +- .../swr/rasterizer/jitter/functionpasses/lower_x86.cpp | 17 - .../swr/rasterizer/jitter/functionpasses/passes.h | 2 +-

[Mesa-dev] [PATCH 3/7] swr/rast: Use metadata to communicate between passes

2018-05-23 Thread Alok Hota
--- .../drivers/swr/rasterizer/jitter/builder.h| 28 ++ 1 file changed, 28 insertions(+) diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder.h b/src/gallium/drivers/swr/rasterizer/jitter/builder.h index 6ca128d..08a3a6e 100644 ---

[Mesa-dev] [PATCH 7/7] swr/rast: Adjusted avx512 primitive assembly for msvc codegen

2018-05-23 Thread Alok Hota
Optimize AVX-512 PA Assemble (PA_STATE_OPT). Reduced generated code by about 4x, MSVC compiler was going crazy making temporaries and split-loading inputs onto the stack unless explicit AVX-512 load ops were added --- src/gallium/drivers/swr/rasterizer/core/pa_avx.cpp | 139 +

[Mesa-dev] [PATCH 2/7] swr/rast: Checking gCoreBuckets and CORE_BUCKETS are equal length at compile time

2018-05-23 Thread Alok Hota
--- src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp b/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp index f289a31..48ea397 100644 ---

Re: [Mesa-dev] [PATCH shaderdb] run: shader program file created via GetProgramBinary (v5)

2018-05-23 Thread Matt Turner
Hi Dongwon, I just pushed this. No point in delaying any longer! :) Thanks, Matt ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 1/2] util/u_math: Implement a logbase2 function for unsigned long

2018-05-23 Thread Pierre Moreau
On 2018-05-23 — 12:12, Eric Engestrom wrote: > On Tuesday, 2018-05-22 23:06:16 +0200, Karol Herbst wrote: > > From: Pierre Moreau > > > > Signed-off-by: Karol Herbst > > --- > > src/gallium/auxiliary/util/u_math.h | 55 + >

[Mesa-dev] Gitlab migration

2018-05-23 Thread Jason Ekstrand
Mesa developers, tl;dr. Please go to gitlab.freedesktop.org, create your account, and upload your SSH keys. Instructions are the bottom of this e-mail. The freedesktop.org admins are trying to move as many projects and services as possible over to gitlab and somehow I got hoodwinked into

Re: [Mesa-dev] [Mesa-stable] [PATCH] intel/fs: Properly copy default flag reg for 3src instrucitons

2018-05-23 Thread Francisco Jerez
Jason Ekstrand writes: > Prior to gen8, the flag reg and subreg numbers are in different > locations on 3src instructions than on smaller instructions. In order > for brw_set_default_flag_reg to work properly, we need to copy the value > out of the 2src location and write

Re: [Mesa-dev] [PATCH v2 1/9] util: Add a virtual memory allocator

2018-05-23 Thread Jordan Justen
On 2018-05-23 01:47:05, Eric Engestrom wrote: > On Wednesday, 2018-05-23 00:25:11 -0700, Jordan Justen wrote: > > On 2018-05-22 14:52:28, Scott D Phillips wrote: > > > + > > > +#ifndef NDEBUG > > > +static void > > > +util_vma_heap_validate(struct util_vma_heap *heap) > > > +{ > > > > I'd rather

Re: [Mesa-dev] [PATCH v2] ac: Use DPP for build_ddxy where possible.

2018-05-23 Thread Bas Nieuwenhuizen
On Wed, May 23, 2018 at 6:37 PM, Nicolai Hähnle wrote: > On 23.05.2018 15:30, Bas Nieuwenhuizen wrote: >> >> WQM is pretty reliable now on LLVM 7, so let us just use >> DPP + WQM. >> >> This gives approximately a 1.5% performance increase on the >> vrcompositor built-in

Re: [Mesa-dev] [PATCH v2] docs: update release calendar for 18.1 series

2018-05-23 Thread Dylan Baker
With Eric's fix, Reviewed-by: Dylan Baker Quoting Juan A. Suarez Romero (2018-05-23 07:01:00) > v2: extend 18.1 series (Andres) > > CC: Andres Gomez > CC: Emil Velikov > CC: Dylan Baker > --- >

Re: [Mesa-dev] [PATCH 3/3] docs/releasing: Add note about using a staging branch

2018-05-23 Thread Dylan Baker
Quoting Juan A. Suarez Romero (2018-05-22 00:04:07) > For the first two patches in the series: > > Reviewed-by: Juan A. Suarez > > > For the 3rd patch, I'm fine with the proposal, but I would like to know the > feedback from others. > > In my case, for instance, I'm

Re: [Mesa-dev] [PATCH v2] ac: Use DPP for build_ddxy where possible.

2018-05-23 Thread Nicolai Hähnle
On 23.05.2018 15:30, Bas Nieuwenhuizen wrote: WQM is pretty reliable now on LLVM 7, so let us just use DPP + WQM. This gives approximately a 1.5% performance increase on the vrcompositor built-in benchmark. v2: Use ac_build_quad_swizzle. --- src/amd/common/ac_llvm_build.c | 16

[Mesa-dev] [PATCH mesa 2/2] egl: remove unused include

2018-05-23 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/egl/main/egldefines.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/egl/main/egldefines.h b/src/egl/main/egldefines.h index d0502f33091a9ecb06bd..c925e0ca55338f73dbec 100644 --- a/src/egl/main/egldefines.h +++

[Mesa-dev] [PATCH mesa 1/2] egl: add missing includes

2018-05-23 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/egl/drivers/dri2/egl_dri2.c | 1 + src/egl/main/eglapi.c | 2 ++ src/egl/main/eglapi.h | 1 + src/egl/main/eglglobals.c | 2 ++ src/egl/main/eglsurface.c | 2 ++ 5 files changed, 8 insertions(+) diff

[Mesa-dev] [PATCH] intel/fs: Properly copy default flag reg for 3src instrucitons

2018-05-23 Thread Jason Ekstrand
Prior to gen8, the flag reg and subreg numbers are in different locations on 3src instructions than on smaller instructions. In order for brw_set_default_flag_reg to work properly, we need to copy the value out of the 2src location and write it into the 3src location as part of brw_alu3. Cc:

[Mesa-dev] [PATCH mesa] docs/release-calendar: fix copy/paste typo

2018-05-23 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- docs/release-calendar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-calendar.html b/docs/release-calendar.html index ba297532dc3172e36e60..28de47935b29bfcc2ceb 100644 ---

[Mesa-dev] [Bug 106630] radv: LLVM ERROR: Pointer address space out of range (bisected)

2018-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106630 --- Comment #2 from Samuel Pitoiset --- https://reviews.llvm.org/D47261 -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the

Re: [Mesa-dev] [PATCH mesa 1/3] docs: fix `<` & `>` used in html code

2018-05-23 Thread Ian Romanick
Series is Reviewed-by: Ian Romanick On 05/23/2018 06:36 AM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > docs/codingstyle.html | 4 ++-- > docs/submittingpatches.html | 6 +++--- > 2 files changed, 5 insertions(+), 5

Re: [Mesa-dev] [PATCH v2] docs: update release calendar for 18.1 series

2018-05-23 Thread Andres Gomez
This is: Reviewed-by: Andres Gomez On Wed, 2018-05-23 at 16:01 +0200, Juan A. Suarez Romero wrote: > v2: extend 18.1 series (Andres) > > CC: Andres Gomez > CC: Emil Velikov > CC: Dylan Baker > --- >

[Mesa-dev] [PATCH v2] docs: update release calendar for 18.1 series

2018-05-23 Thread Juan A. Suarez Romero
v2: extend 18.1 series (Andres) CC: Andres Gomez CC: Emil Velikov CC: Dylan Baker --- docs/release-calendar.html | 43 -- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git

[Mesa-dev] [PATCH mesa 3/3] docs: drop unnecessary out-of-frame target

2018-05-23 Thread Eric Engestrom
I'm guessing an earlier version of the website used to have the page contents in , but this isn't the case anymore so just drop the unnecessary `target="_main"` :) Signed-off-by: Eric Engestrom --- docs/viewperf.html | 21 + 1 file changed, 9

[Mesa-dev] [PATCH mesa 2/3] docs: fix various html tags mistakes

2018-05-23 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- docs/egl.html | 1 + docs/precompiled.html | 2 ++ docs/utilities.html | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/egl.html b/docs/egl.html index 3d8a85b4e7eecb1c07a1..2bc8f2372728822c69d6 100644

[Mesa-dev] [PATCH mesa 1/3] docs: fix `<` & `>` used in html code

2018-05-23 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- docs/codingstyle.html | 4 ++-- docs/submittingpatches.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/codingstyle.html b/docs/codingstyle.html index 7e9f470a1005d39320e0..34acae27fe6846f06682

[Mesa-dev] [Bug 106630] radv: LLVM ERROR: Pointer address space out of range (bisected)

2018-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106630 --- Comment #1 from Philip Rebohle --- Created attachment 139709 --> https://bugs.freedesktop.org/attachment.cgi?id=139709=edit Compute shader with compacted bindings As requested, here's the compute shader

Re: [Mesa-dev] [PATCH] docs: update release calendar for 18.1 series

2018-05-23 Thread Juan A. Suarez Romero
On Tue, 2018-05-22 at 20:31 +0200, Andres Gomez wrote: > On Tue, 2018-05-22 at 09:48 +0200, Juan A. Suarez Romero wrote: > > CC: Andres Gomez > > CC: Emil Velikov > > CC: Dylan Baker > >

[Mesa-dev] [PATCH v2] ac: Use DPP for build_ddxy where possible.

2018-05-23 Thread Bas Nieuwenhuizen
WQM is pretty reliable now on LLVM 7, so let us just use DPP + WQM. This gives approximately a 1.5% performance increase on the vrcompositor built-in benchmark. v2: Use ac_build_quad_swizzle. --- src/amd/common/ac_llvm_build.c | 16 +++- 1 file changed, 15 insertions(+), 1

[Mesa-dev] [Bug 106619] [OpenCL][llvm-svn]build failure addPassesToEmitFile candidate expects 6 arguments, 3 provided

2018-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106619 --- Comment #2 from Levis Raju --- Same error here : llvm/codegen/native.cpp:135:49: error: no matching function for call to ‘llvm::TargetMachine::addPassesToEmitFile(clover::llvm::compat::pass_manager&,

[Mesa-dev] [Bug 106630] radv: LLVM ERROR: Pointer address space out of range (bisected)

2018-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106630 Bug ID: 106630 Summary: radv: LLVM ERROR: Pointer address space out of range (bisected) Product: Mesa Version: git Hardware: Other OS: All

[Mesa-dev] [PATCH 2/2] radv: call nir_lower_io_to_temporaries for VS, GS, TES and FS

2018-05-23 Thread Samuel Pitoiset
Do not lower FS inputs because this moves all load_var instructions at beginning of shaders and because interp_var_at_sample (and friends) seem broken. That might be eventually enabled later on if we really want to preload all FS inputs at beginning. Polaris10: Totals from affected shaders:

[Mesa-dev] [PATCH 1/2] radv: call nir_split_var_copies() before nir_lower_var_copies()

2018-05-23 Thread Samuel Pitoiset
This doesn't nothing special currently because we don't create any copy_var instructions, but this is needed for the next patch. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_shader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [Mesa-dev] [PATCH] ac: Use DPP for build_ddxy where possible.

2018-05-23 Thread Nicolai Hähnle
On 23.05.2018 11:48, Bas Nieuwenhuizen wrote: WQM is pretty reliable now on LLVM 7, so let us just use DPP + WQM. This gives approximately a 1.5% performance increase on the vrcompositor built-in benchmark. --- src/amd/common/ac_llvm_build.c | 243 ++--- 1 file

Re: [Mesa-dev] [HOWTO] CI on appveyor with a linux image

2018-05-23 Thread Jose Fonseca
I don't object merging Linux into appveyor.yml somehow, but I really don't have the time to figure out how to do it. I also fear that Linux infrastructure might be unstable in this initial initial period, and we end up receiving false failure notification emails. (Even appveyor windows builds

Re: [Mesa-dev] [PATCH 1/2] util/u_math: Implement a logbase2 function for unsigned long

2018-05-23 Thread Karol Herbst
On Wed, May 23, 2018 at 1:12 PM, Eric Engestrom wrote: > On Tuesday, 2018-05-22 23:06:16 +0200, Karol Herbst wrote: >> From: Pierre Moreau >> >> Signed-off-by: Karol Herbst >> --- >> src/gallium/auxiliary/util/u_math.h | 55

Re: [Mesa-dev] [PATCH 4/5] egl/wayland: Allow client->server format conversion for PRIME offload.

2018-05-23 Thread Eric Engestrom
On Wednesday, 2018-05-23 06:51:12 +0200, Mario Kleiner wrote: > On Mon, May 21, 2018 at 4:42 PM, Eric Engestrom > wrote: > > On Saturday, 2018-05-19 05:32:41 +0200, Mario Kleiner wrote: > >> Support PRIME render offload between a Wayland server gpu and a Wayland > >>

Re: [Mesa-dev] [PATCH 1/2] util/u_math: Implement a logbase2 function for unsigned long

2018-05-23 Thread Eric Engestrom
On Tuesday, 2018-05-22 23:06:16 +0200, Karol Herbst wrote: > From: Pierre Moreau > > Signed-off-by: Karol Herbst > --- > src/gallium/auxiliary/util/u_math.h | 55 + > src/util/bitscan.h | 11 ++ > 2

Re: [Mesa-dev] [PATCH 3/3] docs/releasing: Add note about using a staging branch

2018-05-23 Thread Eric Engestrom
On Monday, 2018-05-21 10:34:54 -0700, Dylan Baker wrote: > --- > docs/releasing.html | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/docs/releasing.html b/docs/releasing.html > index 07f100caae1..20fc4579a32 100644 > --- a/docs/releasing.html > +++

[Mesa-dev] [PATCH] ac: Use DPP for build_ddxy where possible.

2018-05-23 Thread Bas Nieuwenhuizen
WQM is pretty reliable now on LLVM 7, so let us just use DPP + WQM. This gives approximately a 1.5% performance increase on the vrcompositor built-in benchmark. --- src/amd/common/ac_llvm_build.c | 243 ++--- 1 file changed, 130 insertions(+), 113 deletions(-) diff

[Mesa-dev] [PATCH 1/3] st/mesa/i965: Allow decompressing ETC2 to GL_RGBA

2018-05-23 Thread Tomeu Vizoso
When Mesa itself implements ETC2 decompression, it currently decompresses to formats in the GL_BGRA component order. That can be problematic for drivers which cannot upload the texture data as GL_BGRA, such as Virgl when it's backed by GLES on the host. So this commit adds a flag to

[Mesa-dev] [PATCH 2/3] st/mesa: Fall back to R8G8B8A8_SRGB for ETC2

2018-05-23 Thread Tomeu Vizoso
If the driver doesn't support PIPE_FORMAT_B8G8R8A8_SRGB, fall back to PIPE_FORMAT_R8G8B8A8_SRGB. Drivers such as Virgl will have a hard time supporting PIPE_FORMAT_B8G8R8A8_SRGB when the host runs GLES, as GL_ABGR isn't as well suported there. So go with PIPE_FORMAT_R8G8B8A8_SRGB so these

[Mesa-dev] [PATCH 3/3] st/mesa: Also check for PIPE_FORMAT_A8R8G8B8_SRGB for texture_sRGB

2018-05-23 Thread Tomeu Vizoso
and PIPE_FORMAT_R8G8B8A8_SRGB, as well. The reason for this is that when Virgl runs with GLES on the host, it cannot directly upload textures in BGRA. So to avoid a conversion step, consider the RGB sRGB formats as well for this extension. Signed-off-by: Tomeu Vizoso

Re: [Mesa-dev] [PATCH v2 1/9] util: Add a virtual memory allocator

2018-05-23 Thread Eric Engestrom
On Wednesday, 2018-05-23 00:25:11 -0700, Jordan Justen wrote: > On 2018-05-22 14:52:28, Scott D Phillips wrote: > > From: Jason Ekstrand > > > > This is simple linear-walk first-fit allocator roughly based on the > > allocator in the radeon winsys code. This allocator

[Mesa-dev] [PATCH v3] mesa: handle a bunch of formats in IMPLEMENTATION_COLOR_READ_*

2018-05-23 Thread Tomeu Vizoso
Virgl could save a lot of work converting buffers in the host side between formats if Mesa supported a bunch of other formats when reading pixels. This commit adds cases to handle specific formats so that the values reported by the two calls match more closely the underlying native formats. In

[Mesa-dev] [PATCH] swr/rast: Fix addPassesToEmitFile usage with llvm-7.0.

2018-05-23 Thread Vinson Lee
Fix build error after llvm-7.0svn r332881 ("CodeGen: Add a dwo output file argument to addPassesToEmitFile and hook it up to dwo output."). CXX rasterizer/jitter/libmesaswr_la-JitManager.lo rasterizer/jitter/JitManager.cpp:368:93: error: too few arguments to function call, expected at

Re: [Mesa-dev] [PATCH 2/9] util: Make vma.c support non-power-of-two alignments.

2018-05-23 Thread Jordan Justen
I replied to Ken's posting with an r-b. (I also mentioned that it seems like this could potentially be folded into the previous patch.) On 2018-05-22 14:52:29, Scott D Phillips wrote: > From: Kenneth Graunke > > I want to use this in a bucketing allocator for i965. > ---

Re: [Mesa-dev] [PATCH v2 1/9] util: Add a virtual memory allocator

2018-05-23 Thread Jordan Justen
On 2018-05-22 14:52:28, Scott D Phillips wrote: > From: Jason Ekstrand > > This is simple linear-walk first-fit allocator roughly based on the > allocator in the radeon winsys code. This allocator has two primary > functional differences: > > 1) It cleanly returns 0

Re: [Mesa-dev] [PATCH 4/5] egl/wayland: Allow client->server format conversion for PRIME offload.

2018-05-23 Thread Mike Lothian
Hi Mario Can you explain how I can test this? I'll test it out on an Intel+AMD system Cheers Mike On Wed, 23 May 2018 at 05:51 Mario Kleiner wrote: > On Mon, May 21, 2018 at 4:42 PM, Eric Engestrom > wrote: > > On Saturday, 2018-05-19