[Mesa-dev] [PATCH] nv50/ir: delete MINMAX instruction that is no longer in the BB

2018-11-10 Thread Ilia Mirkin
We removed the op from the BB, but it was still listed in its sources' uses. This could trip up some logic down the line which analyzes all the uses of an l-value, e.g. spilling. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 2 +- 1 file changed, 1

[Mesa-dev] [PATCH v2] mapi: avoid text relocation in x86 tsd stubs

2018-11-10 Thread Jonathan Gray
Make similiar changes to libglvnd to avoid a text relocation in x86 tsd stubs fixing the build with lld. v2: - store the address of the GOT in ebx required before calling PLT stub - change .balign values to match X86_ENTRY_SIZE Signed-off-by: Jonathan Gray Cc:

Re: [Mesa-dev] [PATCH 1/5] nir: Use nir_shader_get_entrypoint in nir_lower_clip_vs().

2018-11-10 Thread Jason Ekstrand
Rb On November 9, 2018 20:13:44 Kenneth Graunke wrote: --- src/compiler/nir/nir_lower_clip.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/compiler/nir/nir_lower_clip.c b/src/compiler/nir/nir_lower_clip.c index 7081295a500..013645101f2 100644 ---

[Mesa-dev] [Bug 108705] GLX with DRI2 doesn't work properly when xcb is owning the event queue

2018-11-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108705 --- Comment #1 from Julien Isorce --- Maybe related https://bugs.freedesktop.org/show_bug.cgi?id=105132 -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the

[Mesa-dev] [Bug 105132] glxSwapBuffers has no effect

2018-11-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105132 Julien Isorce changed: What|Removed |Added Depends on||108705 Referenced Bugs:

[Mesa-dev] [Bug 108705] GLX with DRI2 doesn't work properly when xcb is owning the event queue

2018-11-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108705 Julien Isorce changed: What|Removed |Added Blocks||105132 Referenced Bugs:

[Mesa-dev] [Bug 108705] GLX with DRI2 doesn't work properly when xcb is owning the event queue

2018-11-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108705 Bug ID: 108705 Summary: GLX with DRI2 doesn't work properly when xcb is owning the event queue Product: Mesa Version: 18.2 Hardware: All OS: Linux (All)

[Mesa-dev] [Bug 108581] llvmpipe crashes using kms_swrast_dri.so

2018-11-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108581 --- Comment #5 from Stephan Hilb --- Created attachment 142425 --> https://bugs.freedesktop.org/attachment.cgi?id=142425=edit helgrind log Sadly running with valgrind doesn't trigger the crash, but `--tool=helgrind` however gives some useful

[Mesa-dev] [PATCH 0/2] Update on thread_submit

2018-11-10 Thread Axel Davy
I just wanted to write a cover letter for this patch to describe a feature not many user may know about. On d3d9, frames are supposed to be displayed in the order they were produced, with no frame skipped. Thus when vsync is off, the newly produced frames replace the last frame during refresh,

[Mesa-dev] [PATCH 2/2] st/nine: Remove thread_submit warning

2018-11-10 Thread Axel Davy
thread_submit can be useful even without DRI_PRIME, as it can help avoid missed pageflips. Signed-off-by: Axel Davy --- src/gallium/targets/d3dadapter9/drm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c

[Mesa-dev] [PATCH 1/2] st/nine: Allow 'triple buffering' with thread_submit

2018-11-10 Thread Axel Davy
The path allowing triple buffering behaviour wasn't implemented yet for thread_submit Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/swapchain9.c | 66 +++- src/gallium/state_trackers/nine/swapchain9.h | 1 + 2 files changed, 50 insertions(+), 17 deletions(-)

Re: [Mesa-dev] [PATCH 2/2] i965: Do NIR shader cloning in the caller.

2018-11-10 Thread Alejandro Piñeiro
I was tempted to suggest to add a comment somewhere mentioning this policy change, but there are so many functions that Im not sure what would be that somewhere. Ramblings apart: Reviewed-by: Alejandro Piñeiro On 10/11/18 09:17, Kenneth Graunke wrote: > This moves nir_shader_clone() to the

Re: [Mesa-dev] [PATCH 1/2] i965: Use a 'nir' temporary rather than poking at brw_program

2018-11-10 Thread Alejandro Piñeiro
Reviewed-by: Alejandro Piñeiro On 10/11/18 09:17, Kenneth Graunke wrote: > It's shorter and will also be useful when I adjust cloning soon. > --- > src/mesa/drivers/dri/i965/brw_cs.c | 6 +++--- > src/mesa/drivers/dri/i965/brw_gs.c | 11 ++- > src/mesa/drivers/dri/i965/brw_tcs.c | 2

Re: [Mesa-dev] [PATCH 6/7] RFC: nir/xfb_info: arrays of basic types adds just one varying

2018-11-10 Thread Alejandro Piñeiro
On 09/11/18 16:58, Jason Ekstrand wrote: > On November 9, 2018 06:39:25 Alejandro Piñeiro > wrote: >> On 08/11/18 23:14, Jason Ekstrand wrote: >>> On Thu, Nov 8, 2018 at 7:22 AM Alejandro Piñeiro >>> mailto:apinhe...@igalia.com>> wrote: >>> >>> On OpenGL, a array of a simple type adds just

[Mesa-dev] [Bug 107822] Just Cause 3 Flickering Textures with AMD RADV

2018-11-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107822 --- Comment #5 from fin4...@hotmail.com --- Lower the graphics details in the game. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___

Re: [Mesa-dev] [Mesa-stable] [PATCH] mapi: avoid text relocation in x86 tsd stubs

2018-11-10 Thread Jonathan Gray
On Fri, Nov 09, 2018 at 10:30:42PM +1100, Jonathan Gray wrote: > On Thu, Nov 08, 2018 at 03:54:20PM +, Emil Velikov wrote: > > On Fri, 2 Nov 2018 at 00:02, Jonathan Gray wrote: > > > > > > On Thu, Nov 01, 2018 at 12:26:34PM -0700, Ian Romanick wrote: > > > > On 10/31/2018 09:08 PM, Jonathan

[Mesa-dev] [PATCH 1/2] i965: Use a 'nir' temporary rather than poking at brw_program

2018-11-10 Thread Kenneth Graunke
It's shorter and will also be useful when I adjust cloning soon. --- src/mesa/drivers/dri/i965/brw_cs.c | 6 +++--- src/mesa/drivers/dri/i965/brw_gs.c | 11 ++- src/mesa/drivers/dri/i965/brw_tcs.c | 2 +- src/mesa/drivers/dri/i965/brw_tes.c | 2 +- src/mesa/drivers/dri/i965/brw_vs.c

[Mesa-dev] [PATCH 2/2] i965: Do NIR shader cloning in the caller.

2018-11-10 Thread Kenneth Graunke
This moves nir_shader_clone() to the driver-specific compile function, rather than the shared src/intel/compiler code. This allows i965 to do key-specific passes before calling brw_compile_*. Vulkan should not need this cloning as it doesn't compile multiple variants. We do need to continue