Mesa (20.1): 38 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 24 22:14:49 UTC 2020
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c368a593feac93aeb332c7c770f6d3565aac02ab
Author: Eric Engestrom <eric at engestrom.ch>
Date: Thu Jun 25 00:13:18 2020 +0200
docs/relnotes: add sha256 sums to 20.1.2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e417e7cb663acc97ad9a2984df89b337ab6e580
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Jun 24 23:48:33 2020 +0200
VERSION: bump to 20.1.2 release
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=34e61a208742c6869579078667f268cce380ee2e
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Jun 24 23:44:30 2020 +0200
docs: Add release notes for 20.1.2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=59ffb5f8bdc6c24a16c176e62ff2d3132882b76f
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Sat Jun 20 21:12:01 2020 +0200
radv: Handle mmap failures.
Which can happen if we have to many mmaps active in the process.
CC: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit a5cb88eea45c02eb398117b2c52f1ef1626e2204)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=44ed7fba6a9f27a2eaaf53676a96b9312d84a84f
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Sat Jun 20 20:34:59 2020 +0200
radv/winsys: Deal with realloc failures in BO lists.
Otherwise if realloc fails we silently try to use it. Make recording fail instead.
CC: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5578>
(cherry picked from commit 04765e6a9a43b831edd25a51a85e81f1390f36a8)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d42029c44eda292df135242b5ed5781c474b56a
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Sat Mar 28 22:43:32 2020 +0100
vulkan/wsi/x11: Ensure we create at least minImageCount images.
Doom Eternal happily creates a swapchain with 2 images for IMMEDIATE...
This fixes a 10% performance issues with Doom Eternal for me.
Since the game only sets a minImageCount increasing till our own minimum
is totally okay.
CC: <stable at lists.freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2684
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3156
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4368>
(cherry picked from commit 5f97dfc4c848cb6388ec138c19a22a8a880901d1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0634507ea2c6cd4317d9fb0e6a7d19b6c993aa9
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Tue Jun 23 10:39:14 2020 -0700
freedreno: Handle DRM_FORMAT_MOD_INVALID in shared code
layout_resource_for_modifier() needs to handle DRM_FORMAT_MOD_INVALID
as well, since src/gallium/frontends/dri/dri2.c uses this to indicate
"no modifier" when it's called through the older non-modifier entry
points.
This is similar to 334788d4 ("freedreno: allow INVALID modifier") but
for the generic implementation.
Fixes: 98910626 ("freedreno/a6xx: Implement layout for DRM_FORMAT_MOD_QCOM_COMPRESSED")
Closes: #3154
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5611>
(cherry picked from commit bf92f041fe58e494e2bc04d4ebf3e3b8bf8487ed)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f95011ba919a91948d1e6b18e07e8ce64eef47de
Author: Jose Maria Casanova Crespo <jmcasanova at igalia.com>
Date: Wed Jun 17 02:30:23 2020 +0200
nir: only uniforms with dynamically_uniform offset are dynamically_uniform
Previously all nir_intrinsic_load_uniform that were used as sources were
considered to be dynamically_uniform but when offsets of load_uniform
are indirect it can not be determined.
This fixes artefacts in Google Maps 3D view in V3D.
Fixes: 886d46b08971 ("nir: Add a function to determine if a source is dynamically uniform")
Reviewed-by: Neil Roberts <nroberts at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5587>
(cherry picked from commit ba15bb383f0756703e05bf202edc4771a1c54560)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38562932466a0403e0e59ad79abd1a1d92f0bff0
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Jun 17 15:25:28 2020 -0400
ac/nir: fix 64-bit division for GL CTS
This fixes: KHR-GL45.gpu_shader_fp64.builtin.mod_*
Fixes: ba2ec1f3 "ac/nir: use llvm.amdgcn.rcp in ac_build_fdiv()"
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5531>
(cherry picked from commit 2b8b62c55bb26e887a86d42ef645daa0ed0007ee)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d664ba0b8847110d9f6a496d833237d2d589ee7c
Author: Eric Anholt <eric at anholt.net>
Date: Tue Apr 21 13:26:14 2020 -0700
freedreno/ir3: Fix register allocation assertion failures.
We were failing to tell the allocator about the restriction that scalar
texture instructions (allocated as scalar regs) couldn't be allocated such
that the start of the full unwritemasked vector started before r0. There
was a patch in select_reg_callback on a6xx that tried to work around that,
but you could still end up backed into a corner you shouldn't be because
we didn't tell the RA what it needed.
Fixes compiler assertion failures on a300-a400's blit_z shader, used for
Z32F gmem blits.
Looks like as a result we get tighter register allocation but more nops:
instructions in affected programs: 757945 -> 760356 (0.32%)
nops in affected programs: 317983 -> 320468 (0.78%)
non-nops in affected programs: 27525 -> 27451 (-0.27%)
mov in affected programs: 3098 -> 3023 (-2.42%)
dwords in affected programs: 109664 -> 110656 (0.90%)
last-baryf in affected programs: 112701 -> 112847 (0.13%)
full in affected programs: 4326 -> 4011 (-7.28%)
sstall in affected programs: 120550 -> 120836 (0.24%)
(ss) in affected programs: 13939 -> 13918 (-0.15%)
(sy) in affected programs: 3006 -> 2786 (-7.32%)
(cherry picked from commit b420d04e1f744d15622f89180d1e3e511d92a8ba)
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5612>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00975465ac4513b069be65233d5070597fd87a46
Author: Eric Anholt <eric at anholt.net>
Date: Tue Apr 21 13:26:14 2020 -0700
freedreno/ir3: Fix register allocation assertion failures.
We were failing to tell the allocator about the restriction that scalar
texture instructions (allocated as scalar regs) couldn't be allocated such
that the start of the full unwritemasked vector started before r0. There
was a patch in select_reg_callback on a6xx that tried to work around that,
but you could still end up backed into a corner you shouldn't be because
we didn't tell the RA what it needed.
Fixes compiler assertion failures on a300-a400's blit_z shader, used for
Z32F gmem blits.
Looks like as a result we get tighter register allocation but more nops:
instructions in affected programs: 757945 -> 760356 (0.32%)
nops in affected programs: 317983 -> 320468 (0.78%)
non-nops in affected programs: 27525 -> 27451 (-0.27%)
mov in affected programs: 3098 -> 3023 (-2.42%)
dwords in affected programs: 109664 -> 110656 (0.90%)
last-baryf in affected programs: 112701 -> 112847 (0.13%)
full in affected programs: 4326 -> 4011 (-7.28%)
sstall in affected programs: 120550 -> 120836 (0.24%)
(ss) in affected programs: 13939 -> 13918 (-0.15%)
(sy) in affected programs: 3006 -> 2786 (-7.32%)
(cherry picked from commit b420d04e1f744d15622f89180d1e3e511d92a8ba)
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5612>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5edad5682dd1054adf7d319a39dc4a8953aec058
Author: Gert Wollny <gert.wollny at collabora.com>
Date: Sat Jun 20 17:01:15 2020 +0200
r600/sfn: Don't set num_components on TESS sysvalue intrinsics
These instructions are not vectorized, and validation rules added for
this with 167fa2887f09
nir/validate: validate intr->num_components
Fixes: 46a3033b43b9b51cae5c60eea39e7e5af325c4db
r600/sfn: Emit some LDS instructions
Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5575>
(cherry picked from commit 97318994bcc07f2d5bb8a0a432202e88d5ac1503)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=836997bb278b4dda13df1fd2ab08c3a7f725198d
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Sat Jun 20 11:17:14 2020 +0100
radv: enable radv_no_dynamic_bounds for more Path of Exile executables
It looks like there's also a standalone version and a 32-bit version.
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5574>
(cherry picked from commit c977567db65e3430d1b7323f698d17bea58624e9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9487fb561c408b32a254aba09736a681ec3b2115
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Sat Jun 20 00:00:05 2020 +0100
radv: enable radv_no_dynamic_bounds for Path of Exile
To workaround game bugs. This also enables it for the D3D11 renderer but
that shouldn't be an issue.
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3081
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3084
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3080
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5569>
(cherry picked from commit 19b2ac2bb9e1ddc22956920d661f0e47aa49d718)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=921e3d7e325c718a7189d11ba2e038116ceeb569
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Fri Jun 19 23:59:49 2020 +0100
radv: add new drirc option radv_no_dynamic_bounds
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5569>
(cherry picked from commit f4a643f65e36fc8bd80aa5fe7ea60d78a546f756)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=052cc3a9937e6c0565660b7d03304af99dba9292
Author: Mario Kleiner <mario.kleiner.de at gmail.com>
Date: Mon Jun 8 12:51:08 2020 +0200
vulkan/wsi: Really terminate DRM lease in wsi_release_display().
wsi_release_display() implements vkReleaseDisplayEXT() which
is supposed to return control to the lessor of an output
upon call.
We need to terminate the wsi->wait_thread when close()'ing
the wsi->fd, otherwise the wait_thread holds another reference
to the wsi->fd, keeping the lease active, and thereby the
leased output blocked, until vkDestroyInstance() is called.
This gives users their GUI back, instead of extended darkness.
Fixes: 352d320a0745 ("vulkan: Add EXT_direct_mode_display [v2]")
Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5396>
(cherry picked from commit 2cc51b0dfffb80e91bf839ed57708fd9f90735d9)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=175b5ab5d3d03f370bc3ab8f9aef4b794b8f8e33
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Fri Jun 5 11:20:55 2020 +0200
st/mesa: make texture views inherit compressed_data storage
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2775
Fixes: c3fafa127a0 ("st/mesa: generalize code for the compressed texture map/unmap fallback")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5492>
(cherry picked from commit b6db703e0f007fbcf4389ec607ae4c3e8fc9ee0d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c75710a988ec5eacb6823e91ba7fc06fb7601e32
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Wed Jun 17 23:50:06 2020 +0200
mesa/main: fix inverted condition
I accidentally got one of the conditions wrong here. Sorry for the
mixup.
See ttps://gitlab.freedesktop.org/mesa/mesa/-/issues/3134 for details.
Fixes: b112e62ba48 ("mesa/main: do not allow MESA_ycbcr_texture enums on gles")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5532>
(cherry picked from commit 747e808697c56dcabc76ae7bae350e4552af12e3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b803432e47044a71045cc4054c4eef78fe20b80
Author: Daniel Schürmann <daniel at schuermann.dev>
Date: Wed Jun 17 12:41:09 2020 +0100
aco: fix WQM handling in nested loops
If on a nested loop
- the outer loop needs WQM but
- the inner loop doesn't need WQM and
- the break condition of the inner loop is computed in the outer loop
then it could happen that we transitioned to Exact before entering the inner loop
which could create an empty exec mask and lead to an infinite loop.
Fixes a GPU hang with RDR2
Cc: 20.1 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5518>
(cherry picked from commit 3817fa7a4d1f51c385b28a2e45a1edf227526028)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c80086b4949b428be6072d172595dbb3dd22196e
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date: Fri Jun 12 16:04:44 2020 +0300
st/mesa: account for "loose", per-mipmap level textures in CopyImageSubData
We may have "loose", per-image gallium resources. The src_image->Level
may not match the gallium resource texture level. In such case it is
prescribed (in st_AllocTextureImageBuffer) to specify mipmap level
as zero.
Fixes: f04f13622f3e71bee057d60a6be9c53b92b56cc9
Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5477>
(cherry picked from commit 8ce8895b69a7523513eceed096233c3a348880a7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=94a94e1a09ca262f9b5c8f1bd4be3428cc4ae2fb
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Wed Jun 17 16:35:05 2020 +0200
radv: lower discards to demote to workaround a RDR2 game bug
This fixes some sort of LOD issue.
Cc: 20.1 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5525>
(cherry picked from commit c4aa64b4c346c06af36c223f00a09a43434c1746)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c133b1ba0d48cbcb4f2478ac27e474a1193b7c5e
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Tue Jun 16 09:35:09 2020 +1000
st_glsl_to_nir: fix potential use after free
When updating the shader info used by GL for the API we must
remember to make sure to restore the pointers to its own name
and label strings. There are a number of ways in which the nir
copy of these strings can be freed before GL is finished with
them.
Fixes: 36be8c2fcf94 ("st/glsl_to_nir: use nir_shader_gather_info()")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2875
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5488>
(cherry picked from commit b2e9d21fdd679fba80c358ed7871c30987d10e05)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f6ba73d3ba43bcdf089a4b9039d32fd4f78d62f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Jun 11 05:00:44 2020 -0400
ac/surface: don't free dcc_retile_map on failure
because the hash table now owns it.
Fixes: bd553f0546d - ac/surface: cache DCC retile maps (v2)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
(cherry picked from commit 0b3e344212698296d448a757aa5ca776b6cd3a42)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5422>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=86424d8d26c7e226c3ba2b437ef299247ee2fe8f
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 9 04:55:19 2020 -0400
ac/surface: cache DCC retile maps (v2)
This reduces overhead when resizing windows or when allocating
similar image sizes over and over again.
v2: optimize the memory footprint of the cache
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
(cherry picked from commit bd553f0546dc361fc7e8abba649e1e9c9ea2010b)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5422>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=be4a86c9efb088b95ee380006dd4c3aeb11e8ce4
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 9 03:19:04 2020 -0400
ac/surface: add a wrapper structure to hold ADDR_HANDLE
and more things in the future.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
(cherry picked from commit 4cf674c8f730bfa7c8dfe8b4ebe86f1f4e5f1bb9)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5422>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c1ddbc4478500e307bb083f5fa0afdb05ea12f1
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 9 03:06:22 2020 -0400
amd/addrlib: remove unused members of ADDR2_COMPUTE_DCC_ADDRFROMCOORD_INPUT
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
(cherry picked from commit e6996d6fbdf3f9351caf7ad94c2b10156c34c7b1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5422>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e1ecdc21cefa95974edb78f0b870341ecfae323
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 9 02:40:20 2020 -0400
amd/addrlib: don't recompute DCC info for every ComputeDccAddrFromCoord call
This decreases the DCC retile map overhead from 23% to 18%.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
(cherry picked from commit a99f4d5382c2a3053c2938f9035b8872ab2c542f)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5422>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=84a2442ebfa975faf128fa7317c888036c370705
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Jun 9 02:08:21 2020 -0400
ac/surface: don't recompute the DCC retile map for imported textures
The retile map is not used in this case, and the retile map computation
takes 39% of CPU time when resizing a window.
This brings it down to 23%.
The dcc_retile_use_uint16 setting has to be derived from DCC sizes.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
(cherry picked from commit a1b9eb62f60290e2d5aab403b1954aca7773a1e4)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5422>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8539e6c8044bc39e7b33c3939a77a971757c61e
Author: Jan Beich <jbeich at FreeBSD.org>
Date: Sat May 30 22:41:48 2020 +0000
meson: unbreak sysctl.h detection on BSDs
Code:
#include <sys/sysctl.h>
Compiler stdout:
Compiler stderr:
In file included from testfile.c:1:
/usr/include/sys/sysctl.h:1184:40: error: unknown type name 'size_t'
int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
^
/usr/include/sys/sysctl.h:1185:40: error: unknown type name 'size_t'
int sysctlbyname(const char *, void *, size_t *, const void *, size_t);
^
/usr/include/sys/sysctl.h:1186:42: error: unknown type name 'size_t'
int sysctlnametomib(const char *, int *, size_t *);
^
3 errors generated.
Checking if "sys/sysctl.h" compiles: NO
<https://gitlab.freedesktop.org/mesa/drm/-/commit/1f8ada802391>
<https://gitlab.freedesktop.org/mesa/drm/-/commit/4083e8f2c659>
Reviewed-by: Niclas Zeising <zeising at daemonic.se>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5462>
(cherry picked from commit 63b81c9915ce438e73e14412cbf3a9154b415f35)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee4e70e314cd628a1453e6e3de25626d50f46656
Author: Jan Beich <jbeich at FreeBSD.org>
Date: Tue Jun 2 00:28:09 2020 +0000
util: enable futex usage on BSDs after 7dc2f4788288
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5460>
(cherry picked from commit 46c368907fcf333a19881d28c46e997845d00faf)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=220775b492ed659fd8dae8623a8a29b574a505b2
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Thu Jun 11 13:03:22 2020 +0200
gallium/hud: don't use user vertex buffers
This gains back some performance lost in the previous commit, by
bypassing u_vbuf.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5417>
(cherry picked from commit a3d07c4a35fde31fede3b39d4771d6023b65ecc1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b39f1c6a5ee357ba286f6960f61f9ed5ddc628e6
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Wed Jun 10 19:56:49 2020 +0200
Revert "gallium/hud: don't use user vertex buffers"
The approach taken in this commit only works on drivers that expose
the PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT capability. For drivers
that don't, the buffer has been unmapped by the time we get to
hud_draw_colored_prims, leading to crashes.
It's not easy to fix the code, but drivers that do support coherent
mapping will most likely do the right think themseleves, so let's just
go back to using user-buffers here.
This reverts commit 4fe1fd4df40ac91b2783e3604fd81e6a6faf0cd2.
Fixes: 4fe1fd4df40 ("gallium/hud: don't use user vertex buffers")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3106
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5417>
(cherry picked from commit 7b86920ae2e206ea2f3dc44e110483460cb2936b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f72235901d5b8b3ba0a5794fb330b0c136083dc
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Tue May 26 13:54:34 2020 +0200
spirv: fix using OpSampledImage with OpUndef instead of OpType{Image,Sampler}
This seems valid per the SPIR-V spec to use OpSampledImage with
OpUndef instead of OpTypeImage or OpTypeSampler. When the image
operand is undefined, SPIRV->NIR emits an undef instruction that
can be removed later by the compiler.
This fixes shader compilation crashes with Red Dead Redemption II.
Cc: mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5230>
(cherry picked from commit 9b6a8d17424ac5fa11ccf44c02da2a237088cb76)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f79fa7b8e4bc5bd892c6d5d5f77f3979f36c1cae
Author: Krzysztof Raszkowski <krzysztof.raszkowski at intel.com>
Date: Fri May 22 17:29:01 2020 +0200
gallium/swr: Fix building swr with MSVC
Fix building swr with MSVC by turning off
UNICODE before including windows.h.
Reviewed-by: Jan Zielinski <jan.zielinski at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5166>
(cherry picked from commit 09fc9c5f6ca02e5eebc5a11771c2cc1a9df5fc7e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fdd0b39a9c02f49faf4df065916f8ac1c90a24a
Author: Eric Engestrom <eric at engestrom.ch>
Date: Fri May 29 20:19:22 2020 +0200
v3d: add missing unlock() in error path
CoverityID: 1435701
Fixes: e5a81ac70431502bc592 ("broadcom/vc5: Don't forget to get the BO offset when opening a dmabuf.")
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5263>
(cherry picked from commit 6456f71f765ce5139970445ae71172462c268a33)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8372602768eff0d4d0accd1e28ea3cc1739b650
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Wed Jun 10 15:19:22 2020 +1000
glsl: fix incorrect optimisation in opt_constant_variable()
When handling function inputs the optimisation pass incorrectly
assumes the inputs are undefined. Here we simply change things to
assume inputs have always been assigned a value. Any further
optimisations will be taken care of once function inlining takes
place.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2984
Fixes: 65122e9e8038 ("ir_constant_variable: New pass to mark constant-assigned variables constant.")
Reviewed-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5413>
(cherry picked from commit b33f811068596c2764f6396a885f7aab7d7d411c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ba703cbf4835619254dfd15c7a75a21bc2321b7
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Tue Jun 9 17:59:00 2020 +0200
radv: set DB_SHADER_CONTROL.CONSERVATIVE_Z_EXPORT correctly
Use the SPIR-V execution modes if set.
Cc: 20.1 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5404>
(cherry picked from commit 07aefe8065ddcc6c4c5815c761ede265bd760d78)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4d1f29bc0f0f0b539e2f86f18004ec096874ca1
Author: Eric Engestrom <eric at engestrom.ch>
Date: Fri Jun 12 16:56:42 2020 +0200
.pick_status.json: Update to 4fc0499049fcdb7f892f99ce7abf9d739730138e
More information about the mesa-commit
mailing list