[Mesa-dev] [RFC PATCH] nir/algebraic: Remove problematic "optimization"

2019-05-14 Thread Alyssa Rosenzweig
This line is no longer relevant now that booleans are 1-bit, and in fact causes issues (infinite progress loop between algebraic optimizations and copy prop) with constant vector masks. Signed-off-by: Alyssa Rosenzweig Cc: Jason Ekstrand --- src/compiler/nir/nir_opt_algebraic.py | 3 --- 1

[Mesa-dev] [PATCH 1/3] panfrost/midgard: Set int outmod for ops writing integers

2019-05-14 Thread Alyssa Rosenzweig
By default, the "normal" output modifier is set on ALU ops. This is the correct default for float outputs -- for floats, it preserves the semantic value. Unfortunately, when used with integers, it does not preserve the bitstream encoding, causing misbehaviour. (It's an open question what happens

[Mesa-dev] [PATCH 3/3] panfrost/midgard: Enable integer constant inlining

2019-05-14 Thread Alyssa Rosenzweig
Midgard ALU features two types of constants: embedded constants (128-bit chunk, zero/one per schedule bundle) and inline constants (16-bit splattered into the op, second source if present). Inline constants are much more efficient from a space and scheduling freedom standpoint, so it's desirable

[Mesa-dev] [PATCH 2/3] panfrost/midgard: Remove imov workaround

2019-05-14 Thread Alyssa Rosenzweig
The previous commit fixes the issue this patched around. Signed-off-by: Alyssa Rosenzweig --- .../panfrost/midgard/midgard_compile.c| 26 --- 1 file changed, 26 deletions(-) diff --git a/src/gallium/drivers/panfrost/midgard/midgard_compile.c

[Mesa-dev] [PATCH 0/3] panfrost/midgard: Cleanup integers

2019-05-14 Thread Alyssa Rosenzweig
Removes a bunch of hacks surrounding integers. There should be much less voodoo here now. Alyssa Rosenzweig (3): panfrost/midgard: Set int outmod for ops writing integers panfrost/midgard: Remove imov workaround panfrost/midgard: Enable integer constant inlining

Re: [Mesa-dev] [PATCH 1/2] ac: add comments to chip enums

2019-05-14 Thread Dave Airlie
Reviewed-by: Dave Airlie On Wed, 15 May 2019 at 12:17, Marek Olšák wrote: > > From: Marek Olšák > > --- > src/amd/common/amd_family.h | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/src/amd/common/amd_family.h b/src/amd/common/amd_family.h > index

[Mesa-dev] [PATCH 1/2] ac: add comments to chip enums

2019-05-14 Thread Marek Olšák
From: Marek Olšák --- src/amd/common/amd_family.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/amd/common/amd_family.h b/src/amd/common/amd_family.h index 185ba029763..eed6553d44b 100644 --- a/src/amd/common/amd_family.h +++

[Mesa-dev] [PATCH 2/3] panfrost/decode: Stride decoding

2019-05-14 Thread Alyssa Rosenzweig
With a special flag, texture descriptors can include custom stride(s). We haven't seen a case of this used for mipmaps/cubemaps, so it's not clear how that will be encoded, but this dumps correctly for single one-level 2D textures. Signed-off-by: Alyssa Rosenzweig ---

[Mesa-dev] [PATCH 3/3] panfrost: Set custom stride for textures when necessary

2019-05-14 Thread Alyssa Rosenzweig
From Gallium (and our) perspective, the stride of a BO is arbitrary. For internal buffers, we can make it something nice, but for imported linear buffers (e.g. EGL clients), we don't always have that luxury. To cope, we calculate the expected stride of a texture, compare it to the BO's actual

[Mesa-dev] [PATCH 0/3] panfrost: Custom texture strides

2019-05-14 Thread Alyssa Rosenzweig
This series implements custom textures stides. The first patch fixes some bugs in pandecode that hid the existence of the texture stride field in the first place. The second patch uses the knowledge gained from the first to identify and decode the stride field itself. Finally, the third patch uses

[Mesa-dev] [PATCH 1/3] panfrost/decode: Futureproof texture dumping

2019-05-14 Thread Alyssa Rosenzweig
One field was not dumped for some reason. It's observed to be 0, but it's still good to have it available. Also, extra fields might be snuck in the bitmaps array (it's variable-lengthed at the end), and we want to guard against that possibility, so we dump a little more. Signed-off-by: Alyssa

[Mesa-dev] [Bug 110663] threads_posix.h:96: undefined reference to `pthread_once'

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110663 --- Comment #2 from Vinson Lee --- This patch fixed my build issue. Tested-by: Vinson Lee (In reply to Eric Engestrom from comment #1) > This should fix your issue, but I haven't had time to dive in and see > exactly why quad-tex uses

Re: [Mesa-dev] [PATCH] docs/features: don't list EXT extensions in a list for KHR/ARB/OES extensions

2019-05-14 Thread Ian Romanick
Reviewed-by: Ian Romanick On 5/14/19 1:07 PM, Marek Olšák wrote: > From: Marek Olšák > > --- > docs/features.txt | 10 -- > 1 file changed, 10 deletions(-) > > diff --git a/docs/features.txt b/docs/features.txt > index 38d6186dbe1..b1799550a0c 100644 > --- a/docs/features.txt > +++

[Mesa-dev] [PATCH] docs/features: don't list EXT extensions in a list for KHR/ARB/OES extensions

2019-05-14 Thread Marek Olšák
From: Marek Olšák --- docs/features.txt | 10 -- 1 file changed, 10 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 38d6186dbe1..b1799550a0c 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -309,30 +309,20 @@ Khronos, ARB, and OES extensions that are not

Re: [Mesa-dev] [PATCH] mesa: fix _mesa_max_texture_levels for GL_TEXTURE_EXTERNAL_OES

2019-05-14 Thread Eric Anholt
Marek Olšák writes: > From: Marek Olšák > > This helps fix: > piglit/bin/ext_image_dma_buf_import-sample_yuv -fmt=NV12 -auto > > Fixes: d88f3392fff7c6342f3840c4bd8195a1296c2372 Reviewed-by: Eric Anholt Apologies, I had only tested with the CTS. signature.asc Description: PGP signature

Re: [Mesa-dev] GLU and GLUT issues migrated to gitlab

2019-05-14 Thread Adam Jackson
On Mon, 2019-05-13 at 12:14 -0400, Adam Jackson wrote: > Not, I hope, that anyone is likely to notice, but I've moved the open > GLU and GLUT bugs from bugzilla to gitlab and closed the components in > bugzilla. I say "moved" but really glut only had one open bug and it > was fixed ages ago.

Re: [Mesa-dev] [PATCH 6/6] mesa: Set _NEW_VARYING_VP_INPUTS iff varying_vp_inputs are set.

2019-05-14 Thread Mathias Fröhlich
Hi Marek, > Reviewed-by: Marek Olšák Thanks for the review! Pushed! best Mathias > > Marek > > On Sun, May 12, 2019 at 9:05 AM wrote: > > > From: Mathias Fröhlich > > > > Signed-off-by: Mathias Fröhlich > > --- > > src/mesa/main/state.c | 13 ++--- > > 1 file changed, 6

Re: [Mesa-dev] [PATCH 0/6] Update mesa state handling past VAO changes.

2019-05-14 Thread Brian Paul
The series LGTM. Reviewed-by: Brian Paul On 05/12/2019 07:05 AM, mathias.froehl...@gmx.net wrote: From: Mathias Fröhlich Hi Brian, The series is a collection of comment updates and state handling cleanup past the VAO changes that went into mesa. There are two fixes for potential bugs in

[Mesa-dev] [Bug 91793] the "bin" directory is not created

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91793 GitLab Migration User changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 107965] kmscube: video cube not working: i965_dri.so does not support the 0xffffffff PCI ID and segfaulting

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107965 GitLab Migration User changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 78496] Some data files not using DEMOS_DATA_DIR

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78496 GitLab Migration User changed: What|Removed |Added Resolution|--- |MOVED Status|NEW

[Mesa-dev] [Bug 97043] glxgears reported frame rate doesn't match actual with indirect rendering

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97043 GitLab Migration User changed: What|Removed |Added Resolution|--- |MOVED Status|NEW

[Mesa-dev] [Bug 105376] es2gears_wayland reports 120 fps while drawing at 60 fps

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105376 GitLab Migration User changed: What|Removed |Added Resolution|--- |MOVED Status|NEW

[Mesa-dev] [Bug 110673] amdgpu hevc encoding problems: segment fault and contents of garbage

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110673 Alex Deucher changed: What|Removed |Added CC||boyuan.zh...@amd.com -- You are

[Mesa-dev] [Bug 69135] Make EGLUT-Wayland code catch up with latest stable Wayland (1.2)

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69135 GitLab Migration User changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 15651] teapot display gets disturbed by moving a simultaneously running glxgears

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=15651 GitLab Migration User changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 43332] corrupted output in mesa-demo/fp-tri using r600g

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43332 GitLab Migration User changed: What|Removed |Added Resolution|--- |MOVED Status|NEW

[Mesa-dev] [Bug 57013] Enable --without-glut

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57013 GitLab Migration User changed: What|Removed |Added Resolution|--- |MOVED Status|NEW

[Mesa-dev] [Bug 31630] [PATCH] egl: Add texture from pixmap example for GLES2.

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31630 GitLab Migration User changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 39116] [intel] manywin xdemo texture issue

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39116 GitLab Migration User changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 29094] Fail to build examples for OpenVG and ES for FreeBSD

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29094 GitLab Migration User changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 24318] Fix building of GLSL demos which use M_PI when M_PI is not defined by math.h

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=24318 GitLab Migration User changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Mesa-dev] [Bug 46376] render error when run glsl demo or mesa demo without window manager

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46376 Bug 46376 depends on bug 61640, which changed state. Bug 61640 Summary: Mesa demos render black without a window manager present https://bugs.freedesktop.org/show_bug.cgi?id=61640 What|Removed |Added

[Mesa-dev] [Bug 61640] Mesa demos render black without a window manager present

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61640 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 36070] Backtrace happens when runnig Mesa/tests/texleak

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36070 Kenneth Graunke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 17820] copypixrate fails inside Xephyr

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=17820 Kenneth Graunke changed: What|Removed |Added Resolution|--- |WORKSFORME Status|NEW

[Mesa-dev] [ANNOUNCE] mesa 19.1.0-rc2

2019-05-14 Thread Juan A. Suarez Romero
Hello, list. The second release candidate for Mesa 19.1.0 is now available. Remind that right now there are two bugs blocking the final release: #110302 - [bisected][regression] piglit egl-create-pbuffer-surface and egl-gl-colorspace regressions #110357 - [REGRESSION] [BISECTED] [OpenGL CTS]

Re: [Mesa-dev] [PATCH] vl/dri3: set back buffer from output to NULL with front buffer case

2019-05-14 Thread Liu, Leo
On 2019-05-14 5:29 a.m., Michel Dänzer wrote: > [CAUTION: External Email] > > On 2019-05-09 8:10 p.m., Liu, Leo wrote: >> Since the using output optimization is only for back buffer case >> >> Signed-off-by: Leo Liu >> --- >> src/gallium/auxiliary/vl/vl_winsys_dri3.c | 1 + >> 1 file changed,

Re: [Mesa-dev] [PATCH] vl/dri3: set back buffer from output to NULL with front buffer case

2019-05-14 Thread Michel Dänzer
On 2019-05-09 8:10 p.m., Liu, Leo wrote: > Since the using output optimization is only for back buffer case > > Signed-off-by: Leo Liu > --- > src/gallium/auxiliary/vl/vl_winsys_dri3.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri3.c >

[Mesa-dev] [Bug 110345] Unrecoverable GPU crash with DiRT 4

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110345 --- Comment #34 from Samuel Pitoiset --- No hangs so far. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list

Re: [Mesa-dev] [RFC 0/2] Alternate default config mechanism

2019-05-14 Thread Tapani Pälli
On 5/13/19 6:52 PM, Haehnle, Nicolai wrote: This approach seems entirely incompatible with si_debug_options.h, and will be an absolute maintenance nightmare going forward for adding / removing options, because you're introducing a second location where options are defined. Quite frankly, this