Mesa (19.2): 50 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 9 16:51:02 UTC 2019
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=877417918f6086baf1dd53a03b7808820e800ced
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 09:42:57 2019 -0700
Bump version for 19.2.1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e19dc53aae3f46fe970503816bb7eea077aa4982
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 09:42:37 2019 -0700
docs: Add relnotes for 19.2.1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a06f8341d8a2d69b606b077fe274624646fba0f0
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu Sep 26 14:34:49 2019 -0700
bin: delete unused releasing scripts
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit 974e3ad00465460835939f57f19510b351a9aa8c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f38287970c42a3a2718db3875353373ea6e3baf
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu Sep 26 14:23:47 2019 -0700
release: Add an update_release_calendar.py script
This script is for updating post version bump.
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit 3226b12a09bbcbd25526fd6da6257057d26ddb31)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4348e95949fe213617479f8d4ae3c08799ddfea
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Oct 9 09:45:43 2019 -0700
scripts: Mesa 19.2.x only implements GL 4.5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=61b3371acc09464a3239a58cd13f5f17627c2b54
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Sep 25 14:56:21 2019 -0700
scripts: Add a gen_release_notes.py script
This script is responsible for generating an entire page in the
docs/relnotes/ directory. It includes a template for the page, and uses
mako to fill in the necessary bits. It is designed to be purely fire and
forget, calculating previous versions, shortlogs, bug fixes, and dates.
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Juan A. Suarez <jasuarez at igalia.com>
(cherry picked from commit 86079447da1e00d49db0cbff9a102eb4e71e8702)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a0361ce096cccece082da1e41398858cf3ac74f
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Wed Sep 25 07:58:07 2019 +0100
meson: add missing idep_nir_headers in iris_gen_libs
Fixes: 4929f020c37eac5b07f9 ("iris: better SBE")
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
(cherry picked from commit 731097c747acdc2949688601ca8790151bb81a86)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06b8b29a0a88ed902b6a41971a39ef646b4bf62e
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Mon Oct 7 09:07:48 2019 +0300
anv/android: fix images created with external format support
This fixes a case where user first creates image and then later binds it
with memory created from AHW buffer.
Cc: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
(cherry picked from commit e4a826b2c8af8ac9194a7527c568e876c71b0dee)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=905231856507cc1852da5be5ea9851be9c44bb6a
Author: Prodea Alexandru-Liviu <liviuprodea at yahoo.com>
Date: Sat Oct 5 08:43:13 2019 +0000
scons/MSYS2-MinGW-W64: Fix build options defaults
Signed-off-by: Prodea Alexandru-Liviu <liviuprodea at yahoo.com>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
Cc: <mesa-stable at lists.freedesktop.org>
When building in a MSYS2 Mingw-w64 environment Mesa3D sets wrong default build options which inevitably lead to build failure.
(cherry picked from commit 6309c31fd815285dab4d6e79dcbdd4773350e50f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85193e808aa3cd9991d3c4dff21282c13b93af7a
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Oct 4 13:12:44 2019 +0300
intel/isl: Set null surface format to R32_UINT
It appears we never had a test in piglit or deqp sampling from a null
surface...
It turns out this triggers a hang on IVB only. Updating the null
surface format to R32_UINT fixes the hang on ivb and doesn't affect
other platforms, so set it by default for all platforms.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1872
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit c445d6f66e336d9486c7dfd72dbdf698de93a650)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=34d738ff2e7025a8722cc03fa5cbc68e6f64cf63
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Oct 4 19:37:14 2019 +0300
intel: fix subslice computation from topology data
We're missing the offset of the slice in the subslice mask...
This worked for most platforms that don't have first slice fused off
because we would reread the same mask from slice0 again and again...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: c1900f5b0f ("intel: devinfo: add helper functions to fill fusing masks values")
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1869
Reviewed-by: Mark Janes <mark.a.janes at intel.com>
(cherry picked from commit d36763b2a45105b2bd4ca714ceb05b488c2d97ce)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c289ac9a229c8fc7be3b765a4d643ebea87c3527
Author: Andres Gomez <agomez at igalia.com>
Date: Wed Oct 2 18:50:38 2019 +0300
egl: Remove the 565 pbuffer-only EGL config under X11.
The CTS finally has agreed to drop the requirement for a
565-no-depth-no-stencil config for ES 3.0. Hence we can now remove the
code to satisfy this requirement using a pbuffer-only visual with
whatever other buffers the driver happens to have given us.
This reverts commit 82607f8a900796871470ac4f1a04e154392e4898,
commit 6ad31c4ff33d92f6359b196a94ace99682272111 and
commit dacb11a585face5ca179c34cfc588a71a425c1e0.
v2:
- Reference the VK-GL-CTS issue (Eric E.).
v3:
- Don't revert
fc21394bc4d ("egl: Quiet warning about front buffer rendering for pixmaps/pbuffers")
(Kenneth).
References: VK-GL-CTS issue 1601.
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Andres Gomez <agomez at igalia.com>
Acked-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 02c265be9dcc5c5c23123e716ef62b384540d2fa)
Conflicts resolved by Dylan Baker
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bad5e64da849f340da8fc75b930447283a0c728a
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu Oct 3 10:17:08 2019 -0700
meson: Only error building gallium video without libdrm when the platform is drm
Fixes: 3b265f61f5f61f08718fe5bb4b2726f9b8e016cc
("meson: gallium media state trackers require libdrm with x11")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1878
Tested-by: Vinson Lee <vlee at freedesktop.org>
(cherry picked from commit 1481d0540987cca11cb76c39f7c0fa84983d9e3b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52cf6239555d7de0cda569e947a6dcf511305bd3
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu Oct 3 10:35:37 2019 -0700
.cherry-ignore: Update for 19.2.1 cycle
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78a05b8cbb2f3303de43f38e089d3e02e83d0fb4
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Wed Oct 2 21:26:01 2019 +0200
radv: Fix condition for skipping the continue CS.
We need the continue CS for referencing the tess/GDS/sample position BOs.
Fixes: 46e52df34d3 "radv: add tessellation ring allocation support. (v2)"
Fixes: e1dc3ab7534 "radv/gfx10: allocate GDS/OA buffer objects for NGG streamout"
Fixes: 1171b304f30 "radv: overhaul fragment shader sample positions."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit 8ad3d8b178c0d8939db62ac2be9fdc98d127742d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=676471a0923d8e0d720906327bbe0b56c143fca8
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Wed Oct 2 17:13:06 2019 +0300
intel: fix topology query
i915 will report ENODEV on generations prior to Haswell because there
is no point in reporting values on those. This is prior any fusing
could happen on parts with identical PCI ids.
This query call was previously only triggered on generations that
support performance queries, which happens to match generation for
which i915 reports topology, but the commit pointed below started
using it on all generations.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1860
Cc: <mesa-stable at lists.freedesktop.org>
Fixes: 96e1c945f2 ("i965: Move device info initialization to common code")
Reviewed-by: Mark Janes <mark.a.janes at intel.com>
(cherry picked from commit 1c6fdbc83cf1094c735b964902da421978005cb3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b97377f5840728daba339b21abf0ca0bb00eb3a
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Sep 24 16:56:57 2019 -0400
radeonsi/gfx10: fix corruption for chips with harvested TCCs
Cc: 19.2 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 235ebe91633e7f47518118983e0e6f5c632b25a4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33eecbcc9bdf197a82477d01e4aa3c1d853bc392
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Sep 24 16:56:21 2019 -0400
ac: add radeon_info::tcc_harvested
Cc: 19.2 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 8cbe83445b2ec78fab1f303918c79268713500b5)
Conflicts resolved by Dylan Baker
Conflicts:
src/amd/common/ac_gpu_info.h
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bbe4c69c83a3a0ac1a5925ec9c81164feff569e
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Tue Oct 1 11:55:46 2019 +0300
mesa: don't forget to clear _Layer field on texture unit
On the Android Antutu benchmark we ran into an assert in ISL where the
(base layer + num layers) > total layers. It turns out the core of
mesa forgot to clear the _Layer variable, potentially leaving an
inconsistent value.
v2: Pull setting u->_Layer out of the conditional blocks (Jason)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
(cherry picked from commit 2208d79ddeebd1673f477611d508566ef82bd7c0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db56bc2c525b81c432359195ee5775c7ad7a234b
Author: Ken Mays <kmays2000 at gmail.com>
Date: Thu Sep 26 09:47:06 2019 +0000
haiku: fix Mesa build
1. The hgl.c file is a read-only file versus read-write.
Ref: src/gallium/state_trackers/hgl/hgl.c
2. I've included the Haiku-specific patches I used to get a successful
build of Mesa 19.1.7 on Haiku using the meson/ninja build procedure.
Shows "[764/764] linking target ... libswpipe.so" at build completion.
v2:
Remove autotools files (Eric)
v3:
Update the patch
Reported-by: Ken Mays <kmays2000 at gmail.com>
Tested-by: Ken Mays <kmays2000 at gmail.com>
CC: mesa-stable at lists.freedesktop.org
Reviewed-by: Alexander von Gluck IV <kallisti5 at unixzen.com>
(cherry picked from commit 4943c89d6d3f522b3100be9187ff045f84f032b1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4169d86913d633ebcf4e4a4c35c7e9afabd598f9
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Sep 23 20:37:39 2019 -0700
iris: Fix iris_rebind_buffer() for VBOs with non-zero offsets.
We can't just check for the BO base address, we need to check for the
full address including any offset we may have applied. When updating
the address, we need to include the offset again.
Fixes: 5ad0c88dbe3 ("iris: Replace buffer backing storage and rebind to update addresses.")
(cherry picked from commit 309924c3c927b6f167d9306ecd7270076c7dc3ea)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=680e18c159d4bcdeb786aeec807b688a666d4803
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu May 9 10:32:31 2019 -0700
meson: gallium media state trackers require libdrm with x11
v2: - update copyright year in all changed files
- rebase on master
Cc: 19.1 19.2 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
(cherry picked from commit 3b265f61f5f61f08718fe5bb4b2726f9b8e016cc)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4dab05a0932e00b507318ae74df81ddbb50c4c1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Aug 29 00:38:15 2019 -0700
iris: Disable CCS_E for 32-bit floating point textures.
A while back, Michael Larabel noticed that Paraview's Wavelet Volume
case runs significantly slower on iris than i965. It turns out this
is because we enable CCS_E for 32-bit floating point formats, while
i965 disables it, with an oblique comment saying that we benchmarked
it (on what exactly?) and determined that it was a loss.
Paraview uses both R32_FLOAT and R32G32B32A32_FLOAT, and I observed
large framerate drops when enabling CCS_E for either format. However,
several other benchmarks (Aztec Ruins, many Synmark cases) use 16-bit
floating point formats, with no apparent ill effects.
So, disable compression for 32-bit float formats for now, but leave it
enabled for 16-bit float formats as they seem to be working fine.
Improves performance in Paraview's Wavelet Volume test by 62% on a
Skylake GT4e.
Fixes: 3cfc6a207bd ("iris: Fill out res->aux.possible_usages")
(cherry picked from commit a0a93763fba18ce3c9c90a0f939005f0b594e27c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5cccfe0e6439e44d386947450400d52d2836503
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Sep 19 22:16:51 2019 -0400
ac: fix num_good_cu_per_sh for harvested chips
Cc: 19.2 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit b7c2f7c5a6b21bccb7847ab03b7fba5c770e131c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a2285b1d455067cddec763b65a21631db0faf0f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Sep 24 16:47:05 2019 -0400
ac: fix incorrect vram_size reported by the kernel
Cc: 19.2 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 7d97013294816db46abb7d1e7c6871fe73dfac93)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f95245068ec53d63f96f26384af89443f7d962e
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Sep 24 15:15:00 2019 -0400
radeonsi/gfx10: fix L2 cache rinse programming
Cc: 19.2 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 3c0938bece83cd37365c30c35d2d54927f3fe0cd)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a413b55157d0469f1a01f132bac62dbcddff4e14
Author: pal1000 <liviuprodea at yahoo.com>
Date: Fri Sep 6 17:34:30 2019 +0300
scons/windows: Support build with LLVM 9.
As X86AsmPrinter component is gone, LLVMX86AsmPrinter got replaced
with LLVMRemarks, LLVMBitstreamReader and LLVMDebugInfoDWARF.
Tests done with llvm-config on both LLVM 8 and 9 indicate that
mcjit, bitwriter and x86asmprinter fully fit inside engine component.
On other platforms and with meson build mcdisassembler was used to replace
X86AsmPrinter but mcdisassembler also fully fits inside engine component
for LLVM>=8 according to same tests.
v2: Avoid duplicating code related to Mingw pthreads.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
Cc: 19.1 19.2 <mesa-stable at lists.freedesktop.org>
On 19.1 this patch does not apply cleanly without 88eb2a1f
(cherry picked from commit bcb4dfb14ba1cbbbd43cb6466fb7f73e5dd98513)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a027b62019406f44583aa2cb71832169f114c17
Author: Michel Zou <xantares09 at hotmail.com>
Date: Sat Sep 28 08:53:38 2019 +0200
scons: add py3 support
SCons 3.1 has moved to python 3, requiring this fix
to continue supporting scons builds.
Closes: #944
Cc: mesa-stable at lists.freedesktop.org
Acked-by: Eric Engestrom <eric at engestrom.ch>
Tested-by: Eric Engestrom <eric at engestrom.ch>
(cherry picked from commit 3f92d17894bedf2da6aabe017004391b91a5e860)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=769a18d1f3dceb5a9c055835d8d6437fd55d44b9
Author: Mauro Rossi <issor.oruam at gmail.com>
Date: Sat Sep 21 17:48:52 2019 +0200
android: compiler/nir: build nir_divergence_analysis.c
Prerequisite to avoid following radv linking error happening with aco
FAILED: out/target/product/x86_64/obj_x86/SHARED_LIBRARIES/vulkan.radv_intermediates/LINKED/vulkan.radv.so
...
external/mesa/src/amd/compiler/aco_instruction_selection_setup.cpp:178:
error: undefined reference to 'nir_divergence_analysis'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
Fixes: df86c5f ("nir: add divergence analysis pass.")
Signed-off-by: Mauro Rossi <issor.oruam at gmail.com>
(cherry picked from commit 268fb10e9c9a2943e42349d39f20f681a915150e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb2649768f1244dabd3cbb565d345146250e4131
Author: Andrii Simiklit <andrii.simiklit at globallogic.com>
Date: Tue Sep 10 17:00:32 2019 +0300
glsl: disallow incompatible matrices multiplication
glsl 4.4 spec section '5.9 expressions':
"The operator is multiply (*), where both operands are matrices or one operand is a vector and the
other a matrix. A right vector operand is treated as a column vector and a left vector operand as a
row vector. In all these cases, it is required that the number of columns of the left operand is equal
to the number of rows of the right operand. Then, the multiply (*) operation does a linear
algebraic multiply, yielding an object that has the same number of rows as the left operand and the
same number of columns as the right operand. Section 5.10 “Vector and Matrix Operations”
explains in more detail how vectors and matrices are operated on."
This fix disallows a multiplication of incompatible matrices like:
mat4x3(..) * mat4x3(..)
mat4x2(..) * mat4x2(..)
mat3x2(..) * mat3x2(..)
....
CC: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111664
Signed-off-by: Andrii Simiklit <andrii.simiklit at globallogic.com>
(cherry picked from commit b32bb888c70576bf7e48f22703028eb1a43da651)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6edeebd157c791e6239076e4c136fe90af46e1e
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Tue Sep 24 17:06:12 2019 -0500
intel/fs: Fix fs_inst::flags_read for ANY/ALL predicates
Without this, we were DCEing flag writes because we didn't think their
results were used because we didn't understand that an ANY32 predicate
actually read all the flags.
Fixes: df1aec763eb "i965/fs: Define methods to calculate the flag..."
Reviewed-by: Matt Turner <mattst88 at gmail.com>
(cherry picked from commit 6c858b9a915b54d127a64ab817f111a82716a037)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2dbf10ba3d129d59e1a6c0e46b24c20629b277c6
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu Sep 26 15:42:59 2019 -0700
meson: Link xvmc with libxv
Prior to xvmc 1.0.12 libxvmc incorrectly required libxv, but that was
fixed. This results in compilation failures for the gallium xvmc tracker
and tools. This patch fixes that by explicitly linking to libxv.
Fixes: 22a817af8a89eb3c762fc3e07b443a3ce37d7416
("meson: build gallium xvmc state tracker")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1844
Reviewed-by: Adam Jackson <ajax at redhat.com>
(cherry picked from commit e456a053c3d6ec4f3d4581edcad05c72dfdaa407)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=daeb959c91320052bfccb5e8d6869b6dd740d1d5
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Thu Sep 26 15:19:54 2019 -0700
meson: Try finding libxvmcw via pkg-config before using find_library
This fixes cross compiling issues, because pkg-config is less likely to
get the wrong libs.
v2: - Fix typo in comment
Fixes: 22a817af8a89eb3c762fc3e07b443a3ce37d7416
("meson: build gallium xvmc state tracker")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/939
Reviewed-by: Adam Jackson <ajax at redhat.com>
(cherry picked from commit 8c5c21d7e337bbaffe8d68d9abbb166a271b35cc)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db1ed17ac46bc721e89990cd015fc3bcde956de2
Author: Andreas Gottschling <andreasgottschling at outlook.de>
Date: Fri Sep 27 12:02:06 2019 -0400
drisw: Fix shared memory leak on drawable resize
XDestroyImage will mark the segment as to-be-destroyed, but it will
persist until we detach it, and we weren't doing so.
Cc: mesa-stable at lists.freedesktop.org
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/121
Reviewed-by: Adam Jackson <ajax at redhat.com>
(cherry picked from commit c5a2ccec5e9fa60bbec5e7b574877f8af4c14462)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc0995669de6e177210d6526fc7eac9dcc47934c
Author: pal1000 <liviuprodea at yahoo.com>
Date: Fri Mar 1 12:30:15 2019 +0200
scons: Fix MSYS2 Mingw-w64 build.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
This patch is based on https://github.com/msys2/MINGW-packages/blob/28e3f85e09b6947ea80036c49f6c38f1394f93ca/mingw-w64-mesa/link-ole32.patch but with tweaks to avoid MSVC build break when applied.
v2: Create Mingw platform alias pointing to windows host platform define to avoid spurious crosscompilation;
v3: Fix obviously wrong compiler flags for swr driver;
v4: Update original patch URL because it has been relocated;
v5: Don't bother patching autools stuff as it's not used by MSYS2 Mingw-w64 build and it's days are numbered anyway;
v6: After Mingw posix flag fix in 295851eb things are far simpler as we don't need more linking of uuid, ole32, version and shell32 than what is already in place.
(cherry picked from commit ffb0d3a25c60dd7fc5cb1f2c33c2977b245b5fee)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=434ab094c0e2667fac409dee24fe7b581997bcf5
Author: Michel Dänzer <mdaenzer at redhat.com>
Date: Wed Sep 18 20:18:39 2019 -0400
radeonsi: fix VAAPI segfault due to various bugs
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111236
(cherry picked from commit 67d930d64bb27944f4ad02068720a832c503ab1f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e35a7a023856d5b040d50939faf3e1788ab908dd
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Mon Sep 2 13:02:33 2019 +0300
iris: disable aux on first get_param if not created with aux
This moves the fix from commit 361f3d19f1f to happen in get_param
(used now instead of get_handle by st/dri). This fixes artifacts
seen with Xorg and CCS_E.
Fixes: fc12fd05f56 "iris: Implement pipe_screen::resource_get_param"
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit f4d9169204e1b83f87779a350dd23501a085b36c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95d87a897b9deb1019f0d3998b85ae42cff88b4b
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Aug 29 20:35:54 2019 -0400
gallium: extend resource_get_param to be as capable as resource_get_handle
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit d307aa56f9f92da79d4ebbf1f9a1b3e65156f258)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4b70fef718a7a4bf0d1d31a3e7f0bbd2af4bc37
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Wed Sep 25 17:40:50 2019 +0300
intel: use proper label for Comet Lake skus
Fixes: 82f6a746e8 ("intel: Add support for Comet Lake")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit 813f3460e7d331ad752c48ee08ca8988f8bfabd7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc6cc94d5a71110d203077aa4e11a97321ff205e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 24 15:55:49 2019 -0700
nir/range-analysis: Bail if the types don't match
Some shaders are hurt by this change because now a
load_const(0x00000000) is not recognized as eq_zero when loaded as a
float. This behavior is restored in a later patch (nir/range-analysis:
Use types to provide better ranges from bcsel and mov).
v2: Add a comment about reinterpretation of int/uint/bool. Suggested by
Caio. Rewrite condition the check for types being float versus checking
for types not being all the things that aren't float.
Fixes: 405de7ccb6c ("nir/range-analysis: Rudimentary value range analysis pass")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
All Gen7+ platforms had similar results. (Ice Lake shown)
total instructions in shared programs: 16327543 -> 16328255 (<.01%)
instructions in affected programs: 55928 -> 56640 (1.27%)
helped: 0
HURT: 208
HURT stats (abs) min: 1 max: 16 x̄: 3.42 x̃: 3
HURT stats (rel) min: 0.33% max: 6.74% x̄: 1.31% x̃: 1.12%
95% mean confidence interval for instructions value: 3.06 3.79
95% mean confidence interval for instructions %-change: 1.17% 1.46%
Instructions are HURT.
total cycles in shared programs: 363682759 -> 363683977 (<.01%)
cycles in affected programs: 325758 -> 326976 (0.37%)
helped: 44
HURT: 133
helped stats (abs) min: 1 max: 179 x̄: 33.61 x̃: 5
helped stats (rel) min: 0.06% max: 14.21% x̄: 2.47% x̃: 0.29%
HURT stats (abs) min: 1 max: 157 x̄: 20.28 x̃: 14
HURT stats (rel) min: 0.07% max: 14.44% x̄: 1.42% x̃: 0.73%
95% mean confidence interval for cycles value: 0.38 13.39
95% mean confidence interval for cycles %-change: -0.06% 0.96%
Inconclusive result (%-change mean confidence interval includes 0).
Sandy Bridge
total instructions in shared programs: 10787433 -> 10787443 (<.01%)
instructions in affected programs: 1842 -> 1852 (0.54%)
helped: 0
HURT: 10
HURT stats (abs) min: 1 max: 1 x̄: 1.00 x̃: 1
HURT stats (rel) min: 0.33% max: 1.85% x̄: 0.73% x̃: 0.49%
95% mean confidence interval for instructions value: 1.00 1.00
95% mean confidence interval for instructions %-change: 0.36% 1.10%
Instructions are HURT.
total cycles in shared programs: 153724543 -> 153724563 (<.01%)
cycles in affected programs: 8407 -> 8427 (0.24%)
helped: 1
HURT: 3
helped stats (abs) min: 18 max: 18 x̄: 18.00 x̃: 18
helped stats (rel) min: 0.98% max: 0.98% x̄: 0.98% x̃: 0.98%
HURT stats (abs) min: 4 max: 18 x̄: 12.67 x̃: 16
HURT stats (rel) min: 0.21% max: 0.75% x̄: 0.56% x̃: 0.72%
95% mean confidence interval for cycles value: -21.31 31.31
95% mean confidence interval for cycles %-change: -1.11% 1.46%
Inconclusive result (value mean confidence interval includes 0).
No shader-db changes on Iron Lake or GM45.
(cherry picked from commit 018d2b524ad399ef9ea6d31de98de7078d702980)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6273d4d4ed7a5bfb67b06b78b519ccecfab32eb5
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Wed Sep 25 16:26:52 2019 +0300
anv: gem-stubs: return a valid fd got anv_gem_userptr()
Fixes invalid close(-1) in the unit tests.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
(cherry picked from commit da2d67fc3b04128f3dad08c1002b260841312420)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=960ab3e465f876195ea238d873fb2d4637f10d97
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date: Tue Sep 24 14:12:39 2019 +0300
st/nine: Ignore D3DSIO_RET if it is the last instruction in a shader
RET as a last instruction could be safely ignored.
Remove it to prevent crashes/warnings in case underlying driver
doesn't implement arbitrary returns.
A better way would be to remove the RET after the whole shader
is parsed which will handle a possible case when the last RET is
followed by a comment.
CC: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Reviewed-by: Axel Davy <davyaxel0 at gmail.com>
(cherry picked from commit 2d8f77db839cb3a83f0b1575a028d5aa4258c322)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41b57b8b73ec08a553c691542b00d77180bff422
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Sep 25 23:25:27 2019 +0000
meson: fix logic for generating .pc files with old glvnd
We want to generate PC files for non-glvnd builds and for builds with
old glvnd, but the current logic doesn't do that, it builds them
unconditionally, and for GLES it builds the shared libraries, which is
also not what we want. This does not generate .pc files for gles1 or
gles2. Which it we weren't doing before either, making this not a
regression but a return to status-quo.o
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1838
Fixes: 93df862b6affb6b8507e40601212a58012bfa873
("meson: re-add incorrect pkg-config files with GLVND for backward compatibility")
Reviewed-by: Matt Turner <mattst88 at gmail.com>
(cherry picked from commit fafd20f67dec9f5891838435ecde1dedb77ab742)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=109137ee7bc2d6e197d03f03dfebdf9a7748a137
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Tue Sep 24 16:57:03 2019 +0200
glsl: correct bitcast-helpers
Without this, we'll incorrectly round off huge values to the nearest
representable double instead of keeping it at the exact value as
we're supposed to.
Found by inspecting compiler-warnings.
Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Fixes: 85faf5082f ("glsl: Add 64-bit integer support for constant expressions")
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
(cherry picked from commit 88f909eb37dc3867f9d2fcd44ccee6dceaac071c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4faf5cbd7da4f00d9293f29d1212be91bc88314
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Mon Sep 23 14:48:22 2019 +0100
nir/opt_remove_phis: handle phis with no sources
This can happen with loops with unreachable exits which are later
optimized away.
Fixes assertion in dEQP-VK.graphicsfuzz.unreachable-loops with RADV.
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
(cherry picked from commit 12372d60fff676c458c7a54a934f619548337f0e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b29682c2909a483f9ad7f7051e5e077d07c870bd
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Sep 17 18:22:08 2019 -0400
gallium/vl: don't set PIPE_HANDLE_USAGE_EXPLICIT_FLUSH
because vl doesn't call flush_resource and I wasn't able to find
all places where flush_resource needs to be called.
This fixes corrupted / unflushed surfaces with fullscreen videos on Raven.
Cc: 19.1 19.2 <mesa-stable at lists.freedesktop.org>
(cherry picked from commit f52afdf67274d58951124b20a42fe932a5deda4d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b67e47c0c6beb73279d37b6a2f27afd0cc5613b
Author: Connor Abbott <cwabbott0 at gmail.com>
Date: Tue Sep 24 12:43:29 2019 +0200
nir/opt_large_constants: Handle store writemasks
This fixes some piglit tests on radeonsi NIR where a varying is
initialized to a constant array in the vertex shader. Varying packing
after nir_lower_io_to_temporaries creates writemasked stores which
persist after pulling the constant initialization down into the fragment
shader.
While we're here, rewrite handle_constant_store() to do the loop over
components outside the switch, so that we don't have to duplicate the
writemask checking for every bitsize.
Fixes: 1235850522c ("nir: Add a large constants optimization pass")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
(cherry picked from commit 270fe55256c78ede507d75d4665d73936ea7db31)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c56cb50c70c6136669213899e05402f0723e279
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Mon Sep 23 18:37:01 2019 +0100
meson: drop -Wno-foo bug workaround for Meson < 0.46
This was a workaround for a bug in Meson that was fixed in 0.46 [1].
[1] https://github.com/mesonbuild/meson/pull/2284
Fixes: f7b6a8d12fdc446e3251 ("meson: bump required version to 0.46")
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
(cherry picked from commit 3fd0afd5e3f7d2c5b8b5bfb77a111decfb193240)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=40d592473e9cfd8d050ed81f9ed323c54a563fba
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Mon Sep 23 17:48:55 2019 +0100
radv: fix s/load/store/ copy-paste typo
Fixes: cdc6efddf918bc07d30d ("radv: implement all depth/stencil resolve modes using graphics")
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 30f639c181ce46c8761389946589616eb06a977b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2947b89369e7d2bc15e818fcbf17aabf7b35be54
Author: Stephen Barber <smbarber at chromium.org>
Date: Mon Sep 23 17:51:43 2019 -0700
nouveau: add idep_nir_headers as dep for libnouveau
Fixes a compilation error when building libnouveau:
In file included from ../src/gallium/drivers/nouveau/nv50/nv50_program.c:25:
../src/compiler/nir/nir.h:1115:10: fatal error: nir_intrinsics.h: No such file or directory
#include "nir_intrinsics.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
Fixes: f014ae3c7cce504afe5d ("nouveau: add support for nir")
Signed-off-by: Stephen Barber <smbarber at chromium.org>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Karol Herbst <kherbst at redhat.com>
(cherry picked from commit 8c3ace6991a67bffd4e1f7559c098b6861ef4162)
More information about the mesa-commit
mailing list