[Mesa-dev] [PATCH] gallium/hud: fix power sensor readings for amdgpu users

2018-10-27 Thread Andre Heider
amdgpu doesn't use the INPUT but the AVERAGE subfeature: $ sensors -u amdgpu-pci-0100 Adapter: PCI adapter power1: power1_average: 17.233 power1_cap: 180.000 Signed-off-by: Andre Heider --- src/gallium/auxiliary/hud/hud_sensors_temp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/s

Re: [Mesa-dev] [PATCH 3/3] radeonsi: add support for Raven2

2018-10-27 Thread Gustaw Smolarczyk
sob., 27 paź 2018 o 04:28 Marek Olšák napisał(a): > > From: Marek Olšák > > --- > src/amd/addrlib/amdgpu_asic_addr.h | 2 ++ > src/amd/addrlib/gfx9/gfx9addrlib.cpp| 2 +- > src/amd/common/ac_gpu_info.c| 6 ++ > src/amd/common/ac_llvm_util.c

[Mesa-dev] [Bug 105731] linker error "fragment shader input ... has no matching output in the previous stage" when previous stage's output declaration in a separate shader object

2018-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105731 --- Comment #9 from Marcel Heinz --- Hi Vadym, thank you for that patch. Again, it does fix the updated reproducer, but the issue is still not completely resolved in the real application. However, it is down from 17 failing programs to only 2,

[Mesa-dev] [Bug 105731] linker error "fragment shader input ... has no matching output in the previous stage" when previous stage's output declaration in a separate shader object

2018-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105731 Marcel Heinz changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Mesa-dev] [Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2018-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Maciej S. Szmigiero changed: What|Removed |Added Depends on||105113 Referenced Bugs: https://

Re: [Mesa-dev] [PATCH 2/3] anv: Use absolute timeouts in wait_for_bo_fences

2018-10-27 Thread Lionel Landwerlin
On 26/10/2018 19:40, Jason Ekstrand wrote: We were previously using relative timeouts and decrementing the user-provided timeout as we waited. Instead, this commit refactors things to use absolute timeouts throughout. This should fix a subtle bug in the waitAll case where we aren't decrementing

[Mesa-dev] [PATCH 2/2] i965: Set ForceZeroRTAIndexEnable based on slots_valid

2018-10-27 Thread Jason Ekstrand
Instead of setting it based on the number of layers in the framebuffer, disable it whenever the shader does not explicitly write the value. Otherwise, if the shader doesn't write the value but you do have a layered framebuffer, we may end up with a garbage layer and write off into the ether. https

[Mesa-dev] [PATCH 1/2] i965/state: Set CullTestEnableBitmask based on the last geometry stage

2018-10-27 Thread Jason Ekstrand
Instead of hard-coding it to look at the VS stage, look at whatever the last geometry stage is. Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/drivers/dri/i965/genX_state_upload.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/genX

[Mesa-dev] [PATCH 1/3] nir: add glsl_replace_vector_type()

2018-10-27 Thread Timothy Arceri
This creates a new glsl_type with the specified number on components. We will use this in the folloing patch when vectorising io. --- src/compiler/nir_types.cpp | 24 src/compiler/nir_types.h | 2 ++ 2 files changed, 26 insertions(+) diff --git a/src/compiler/nir_type

[Mesa-dev] [PATCH 3/3] i965/anv: use nir_opt_vectorize_io()

2018-10-27 Thread Timothy Arceri
From: Timothy Arceri Commit 8d8222461f9d7f49 caused substantially more URB messages in geometry and tessellation shaders (due to enabling nir_lower_io_to_scalar_early). This combines io again to avoid this regression while still allowing link time optimisation of components. Shader-db results (S

[Mesa-dev] RFC NIR vectorise varyings

2018-10-27 Thread Timothy Arceri
This fixes the regressions in the glxbench tessellation benchmark [1]. I'm sending as a RFC as there are mixed results with cycles in fs. Also Intels CI system reports some failures but I cannot reproduce these locally. Maybe someone can have a closer look at the internal CI results [2]? [1] h

[Mesa-dev] [PATCH 2/3] nir: add nir_opt_vectorize_io()

2018-10-27 Thread Timothy Arceri
Once linking opts are done this pass recombines varying components. This patch is loosely based on Connor's vectorize alu pass. --- src/compiler/Makefile.sources | 1 + src/compiler/nir/meson.build| 1 + src/compiler/nir/nir.h | 2 + src/compiler/nir/n

Re: [Mesa-dev] [PATCH 3/3] i965/anv: use nir_opt_vectorize_io()

2018-10-27 Thread Jason Ekstrand
On Sat, Oct 27, 2018 at 8:03 PM Timothy Arceri wrote: > From: Timothy Arceri > > Commit 8d8222461f9d7f49 caused substantially more URB messages in > geometry and tessellation shaders (due to enabling > nir_lower_io_to_scalar_early). This combines io again to avoid > this regression while still a

Re: [Mesa-dev] [PATCH 3/3] i965/anv: use nir_opt_vectorize_io()

2018-10-27 Thread Timothy Arceri
On 28/10/18 12:18 pm, Jason Ekstrand wrote: On Sat, Oct 27, 2018 at 8:03 PM Timothy Arceri > wrote: From: Timothy Arceri Commit 8d8222461f9d7f49 caused substantially more URB messages in geometry and tessellation shaders (due to enabling nir_lower_

Re: [Mesa-dev] [PATCH 3/3] i965/anv: use nir_opt_vectorize_io()

2018-10-27 Thread Bas Nieuwenhuizen
On Sun, Oct 28, 2018 at 2:42 AM Timothy Arceri wrote: > > On 28/10/18 12:18 pm, Jason Ekstrand wrote: > > On Sat, Oct 27, 2018 at 8:03 PM Timothy Arceri > > wrote: > > > > From: Timothy Arceri > > > > Commit 8d8222461f9d7f49 caused substantially more URB mes

Re: [Mesa-dev] [PATCH 3/3] i965/anv: use nir_opt_vectorize_io()

2018-10-27 Thread Timothy Arceri
On 28/10/18 1:04 pm, Bas Nieuwenhuizen wrote: On Sun, Oct 28, 2018 at 2:42 AM Timothy Arceri wrote: On 28/10/18 12:18 pm, Jason Ekstrand wrote: On Sat, Oct 27, 2018 at 8:03 PM Timothy Arceri mailto:tarc...@itsqueeze.com>> wrote: From: Timothy Arceri Commit 8d8222461f9d7f49 caused

[Mesa-dev] [PATCH v2 1/3] nir: add glsl_replace_vector_type()

2018-10-27 Thread Timothy Arceri
This creates a new glsl_type with the specified number on components. We will use this in the folloing patch when vectorising io. --- src/compiler/nir_types.cpp | 24 src/compiler/nir_types.h | 2 ++ 2 files changed, 26 insertions(+) diff --git a/src/compiler/nir_type

[Mesa-dev] [PATCH v2 2/3] nir: add nir_opt_vectorize_io()

2018-10-27 Thread Timothy Arceri
Once linking opts are done this pass recombines varying components. This patch is loosely based on Connor's vectorize alu pass. V2: skip fragment shaders --- src/compiler/Makefile.sources | 1 + src/compiler/nir/meson.build| 1 + src/compiler/nir/nir.h

[Mesa-dev] [PATCH v2 3/3] i965/anv: use nir_opt_vectorize_io()

2018-10-27 Thread Timothy Arceri
Commit 8d8222461f9d7f49 caused substantially more URB messages in geometry and tessellation shaders (due to enabling nir_lower_io_to_scalar_early). This combines io again to avoid this regression while still allowing link time optimisation of components. Shader-db results (SKL): total instruction

[Mesa-dev] [Bug 108578] RADV reports wrong hardcoded Vulkan API Version

2018-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108578 Bug ID: 108578 Summary: RADV reports wrong hardcoded Vulkan API Version Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: trivial

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

2018-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99781 Samuel Sieb changed: What|Removed |Added CC||sam...@sieb.net -- You are receiving this