Mesa (staging/20.1): 38 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jun 6 14:52:44 UTC 2020
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=333b8f6a60f014e8ebdc68c3df5e4c291719f624
Author: Vinson Lee <vlee at freedesktop.org>
Date: Fri Jun 5 00:46:10 2020 -0700
Switch from cElementTree to ElementTree.
The xml.etree.cElementTree module will be removed in Python 3.9. Since
Python 3.3 the xml.etree.cElementTree module has been deprecated, the
xml.etree.ElementTree module uses a fast implementation whenever
available.
Builds using Python 2.7 can still work but with the slower
implementation.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Acked-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5349>
(cherry picked from commit faa339e666b4d0c4f88f2588cd84176e2b19ec0f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=195ec2cf276e54811e76a7d359c64708b1da78a4
Author: Vinson Lee <vlee at freedesktop.org>
Date: Fri Jun 5 00:36:55 2020 -0700
intel/genxml: Migrate from deprecated xml.etree.ElementTree getchildren.
xml.etree.ElementTree getchildren was deprecated since Python 2.7 and
will be removed in Python 3.9.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5348>
(cherry picked from commit 6a841dbf4e4f0cb33bc36a8ba880a9bd6f6e7941)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=edda9947be78523bb8243f3bc68aa7fa8dad17ce
Author: Eric Engestrom <eric at engestrom.ch>
Date: Fri Jun 5 11:26:56 2020 +0200
intel: fix gen_sort_tags.py
The script was failing for me (python 3.8), not sure if this is a recent
python version break or not as I don't know how often people have been
running this script:
Processing ./gen9.xml... Traceback (most recent call last):
File "./gen_sort_tags.py", line 177, in <module>
main()
File "./gen_sort_tags.py", line 170, in main
genxml[:] = enums + sorted_structs.values() + instructions + registers
TypeError: can only concatenate list (not "odict_values") to list
Turning the odict into a list fixes it for me, and the resulting xml
file are identical to before :)
Fixes: 903e142f0d35bc550ffd ("genxml: add a sorting script")
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5352>
(cherry picked from commit 981d07c74a1611d8c308a96f59899fff66674c1a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1cdc924e5bee39e7de4df28567a7f08826a43b9
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Jun 4 14:15:58 2020 -0700
freedreno/computerator: fix missing dependency on generated header
Fixes:
```
../mesa-freedreno-20.2.0_pre/src/freedreno/computerator/ir3_asm.c:25:10: fatal error: 'ir3/ir3_parser.h' file not found
#include "ir3/ir3_parser.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
```
Fixes: da467817e3e ("freedreno/ir3: Move ir3 assembler to backend compiler")
Signed-off-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5340>
(cherry picked from commit ef5b8bbc5ea0c55e99dd1e6c2c7a85590724aa4f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d54e66054d6f1cceeb079573f7016835a9d766cf
Author: Eric Engestrom <eric at engestrom.ch>
Date: Fri Jun 5 01:05:46 2020 +0200
glapi: remove deprecated .getchildren() that has been replace with an iterator
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3086
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Vinson Lee <vlee at freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5342>
(cherry picked from commit 7a68045b5d3ca52ea9db6f4c2606ae16546187ea)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=052287e54f738f75fed1ca989329f6c531dae583
Author: Clément Guérin <libcg at protonmail.com>
Date: Tue Jun 2 22:14:44 2020 -0700
radv: Always expose non-visible local memory type on dedicated GPUs
DOOM Eternal expects this type, but RADV doesn't expose it when the VRAM
is entirely host-visible, in my case on Fiji. Matches AMDVLK behavior.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/3054
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5308>
(cherry picked from commit 202252566bf053a31a4162e99f6fef5b82efc837)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ae4397e671c5fac151c4690e70972b5a6df0f56
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Tue Jun 2 10:44:13 2020 +0200
nir: reuse existing psiz-variable
For shaders where there's already a psiz-variable, we should rather
reuse it than create a second one. This can happen if a shader writes
gl_PointSize, but disables GL_PROGRAM_POINT_SIZE.
Fixes: 878c94288a8 ("nir: add lowering-pass for point-size mov")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5328>
(cherry picked from commit e61a98877ccdaf7ec1f9f890f0f7c1a993ee70a1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b23720ac1f12634ad4b05d5b2d82390cad2f8fa
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat May 2 16:46:47 2020 +0300
iris: fix export of GEM handles
We reuse DRM file descriptors internally. Therefore when we export a
GEM handle we must do so in the file descriptor used externally.
This change also fixes a file descriptor leak of the FD given at
screen creation.
v2: Don't bother checking fd equals, they're always different
Fix dmabuf leak
Fix GEM handle leaks by tracking exported handles
v3: Check os_same_file_description error (Michel)
Don't create multiple exports for a given GEM table
v4: Add WARN_ONCE (Ken)
Rename external_fd to winsys_fd
v5: Remove export lock in favor of bufmgr's
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2882
Fixes: 7557f1605968 ("iris: share buffer managers accross screens")
Tested-by: Eric Engestrom <eric at engestrom.ch>
Tested-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861>
(cherry picked from commit aba3aed96e4394a213e188f2f71ef045803a27c5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1b805e0e6ca6ecc683fb8e74622850eda1500e2
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat May 2 16:59:19 2020 +0300
i965: fix export of GEM handles
We reuse DRM file descriptors internally. Therefore when we export a
GEM handle we must do so in the file descriptor used externally.
v2: Fix dmabuf leak
Fix GEM handle leaks by tracking exported handles
v3: Check os_same_file_description error (Michel)
Don't create multiple exports for a given GEM table
v4: Add WARN_ONCE (Ken)
v5: Remove blank line (Ian)
Remove unused field (Ian)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2882
Fixes: 4094558e8643 ("i965: share buffer managers across screens")
Tested-by: Eric Engestrom <eric at engestrom.ch>
Tested-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861>
(cherry picked from commit 57e4d0aa1c16d3be36ccee4065c55901cb6fad43)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5266d54e54171fd648bb1e10a4cf1c7cc44f32ba
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Tue Jun 2 11:52:35 2020 +0300
i965: don't forget to set screen on duped image
We'll start using this field more for querying image properties.
Without it we run into a crash.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861>
(cherry picked from commit e41e820648b1cb662cbe938c73d755331d48c6db)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0db726ccb5927cbdaece97cd44cb45649325ef33
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat May 2 22:43:22 2020 +0300
iris: fix BO destruction in error path
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: <mesa-stable at lists.freedesktop.org>
Tested-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861>
(cherry picked from commit 604a86e46f67b517e43c4646080ee1993ff95ecd)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=afded04956189f4d279fdc6453f60dad640bdc30
Author: Vinson Lee <vlee at freedesktop.org>
Date: Sat May 23 13:46:28 2020 -0700
mesa: Fix NetBSD compiler macro.
Reported-by: Rafał Mikrut <mikrutrafal54 at gmail.com>
Fixes: a63b90712aad ("mesa: also check for __NetBSD__")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3015
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5191>
(cherry picked from commit c3025bde192919649999da202e7527849bf2038f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49c2b72959115cda82122365e46137d4e66fd049
Author: Vinson Lee <vlee at freedesktop.org>
Date: Fri May 22 17:59:27 2020 -0700
vdpau: Fix wrong calloc sizeof argument.
Fix warning reported by Coverity Scan.
Wrong sizeof argument (SIZEOF_MISMATCH)
suspicious_sizeof: Passing argument 3544UL (sizeof
(vlVdpPresentationQueue)) to function calloc that returns a pointer of
type vlVdpPresentationQueueTarget * is suspicious because a multiple of
sizeof (vlVdpPresentationQueueTarget) /*16*/ is expected.
Fixes: 65fe0866aec7 ("vl: implemented a few functions and made stubs to get mplayer running")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3026
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5182>
(cherry picked from commit 8b353524b04fa9cd77e21e2d036c69f1cff30c35)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e2b660cba52d8410875db86a9ca259666139228c
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date: Fri May 29 16:20:45 2020 +0300
glsl: Don't replace lrp pattern with lrp if arguments are not floats
We don't have "lrp(int, int, int)" and validation of ir_triop_lrp
fails down the road.
Fixes: 8d37e991
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3059
Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Tested-by: Witold Baryluk <witold.baryluk at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5257>
(cherry picked from commit 9f3956fea080d73d98fc28bc8cd148755b597b74)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9533119ce73362561fe65a2d405eef6e095ec1db
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri May 29 20:26:00 2020 +0200
radv: enable zero VRAM for all VKD3D (DX12->VK) games
To fix rendering issues with Metro Exodus, RE2 and 3 and probably
more titles. It seems the default behaviour of DX12 anyways.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3064
Cc: <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/5262>
(cherry picked from commit d3c937c0e4d1dd05072d9a7169532517ef7d0c7f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=985a82b739f2082a055d7cd10c6f1174fd351462
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri May 29 20:02:49 2020 +0200
radv: enable zero VRAM for Doom Eternal
That fixes some rendering issues. Probably some unitialized data
from the game.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3064
Cc: <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/5262>
(cherry picked from commit fd5ffd3a83e178f14fcc69806d3a52724f05b56c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2a3977c7d87dec574233c3fb84f3fba03c1acdc
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Thu May 28 14:41:17 2020 +0200
zink: Use store_dest_raw instead of storing an uint
I cleaned up the other similar call-sites, but somehow missed this one.
There's nothing different with this, so let's also fix this.
Fixes: 16339646f03 ("zink/spirv: rename functions a bit")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5250>
(cherry picked from commit a21966837acd2e053ce183c5f145afcff2fd51b7)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51b909b37bc54cdba9354a2162ce75e488fdd3c1
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue May 26 05:39:08 2020 -0400
radeonsi: add a hack to disable TRUNC_COORD for shadow samplers
This fixes dEQP-GLES3.functional.shaders.texture_functions.textureprojlodoffset.sampler2dshadow_vertex.
This is probably a dEQP bug.
Fixes: d573d1d82524b8a2e5f56938069cabc0f0176a0e
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5209>
(cherry picked from commit fe3947632ce9946562a39ef95a6796b8604f1f42)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76436db242283da2ca34d689b25918732fe1069f
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Wed May 20 18:00:14 2020 -0700
vulkan-overlay/meson: use install_data instead of configure_file
We don't want to copy the file into the build directory, we want to
install it. That's what install_data is for.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2924
Fixes: 56ccea58ae7f6fd56cf4a1697d2cceb68866b552
("vulkan/overlay: Add basic overlay control script.")
Acked-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
(cherry picked from commit fb62e642ae667c99aeb3015fa77ab668af5e4ee6)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64bbe5120513b0a99566cd1e25073b82b3be7ea3
Author: Satyeshwar Singh <satyeshwar.singh at intel.com>
Date: Thu May 28 00:44:26 2020 -0700
intel/dev: Don't consider all TGL SKUs as GT1 only
We should be passing _gt instead of 1 to GEN12_FEATURES or else all TGL
SKUs will be considered as gt1 only.
Fixes: 54996ad4927 ("intel/dev: Split .num_subslices out of GEN12_FEATURES macro")
Signed-off-by: Satyeshwar Singh <satyeshwar.singh at intel.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5261>
(cherry picked from commit aaec065f03e65f75fd18f8cc24d003f220209714)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e374e4a79265fe0b92bcd5ffa93e5894dbc03bba
Author: Vinson Lee <vlee at freedesktop.org>
Date: Fri May 29 17:13:35 2020 -0700
r300g: Remove extra printf format specifiers.
Fix warning reported by Coverity Scan.
Missing argument to printf format specifier (PRINTF_ARGS)
missing_argument: No argument for format specifier %s.
Fixes: 04c1536bf7ab ("r300g: rasterizer debug logging")
Fixes: 85efb2fff0d4 ("r300g: try to use color varyings for texcoords if max texcoord limit is exceeded")
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5274>
(cherry picked from commit d2f8105b606269c0e71cd599f57997279385d300)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e44a5b543ce673ef268253e2643f0414b5f2d667
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sat May 30 02:47:42 2020 -0400
nouveau: allow invalidating coherent/persistent buffer backings
This is needed to support the core's usage of coherent buffers for
glVertex-style input. The reason why this was disallowed is that any
mappings will be invalidated. Let the state tracker worry about that,
and just reallocate when we're told.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst at redhat.com>
Cc: mesa-stable at lists.freedesktop.org
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5276>
(cherry picked from commit 6e1c47b98df384b46ff41ffbf9689a93c78c040d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fec4cf933b2f3f21f63f7fb962d0b844d982afd8
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Sun Apr 26 09:48:16 2020 -0500
intel/fs: Fix unused texture coordinate zeroing on Gen4-5
We were inserting the right number of MOVs but, thanks to the way we
advanced msg_end earlier in the function, were often writing the zeros
past the end of where we actually read in the register file.
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5243>
(cherry picked from commit 94aa7997e45b5314d169bbee5bf22ad368c2fd25)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=21b053f43baa7952cf9e2ba3fab52838b191fd4f
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Sat Apr 25 14:15:11 2020 -0500
intel/vec4: Stomp the return type of RESINFO to UINT32
We already do this in the FS back-end; we just weren't doing it in vec4
so RESINFO messages weren't returning the right data.
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5243>
(cherry picked from commit a7c8811fe4012b60a9bcdb2ea2ef6ab79e402809)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c19b91fbc8224a37553ee80fab2f0bb04eb2e189
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Fri May 29 17:02:24 2020 +1000
radv: fix regression with builtin cache
If the ~/.cache dir already exists continue on without failing.
Fixes: cd61f5234d2c ("radv: Handle failing to create .cache dir.")
Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
Reviewed-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/5249>
(cherry picked from commit e843303d6f18d56d7c412e6c879134f7b79372ac)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc1022239533f68d8a4da91841b7377e9a15a463
Author: Vinson Lee <vlee at freedesktop.org>
Date: Tue May 26 15:54:06 2020 -0700
etnaviv: Fix memory leak on error path.
Fix warning reported by Coverity Scan.
Resource leak (RESOURCE_LEAK)
leaked_storage: Variable pq going out of scope leaks the storage it
points to.
Suggested-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Fixes: eed5a009897a ("etnaviv: convert perfmon queries to acc queries")
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5220>
(cherry picked from commit f047d585ee472a314d4ad5da4dffa5e7c2a42eb5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9edcac28f15c2b69f4293164d1bbde8d253c2a7
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Wed May 27 18:27:08 2020 -0400
pan/bi: Fix emit_if successor assignment
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Fixes: 9a00cf3d1ef ("pan/bi: Add support for if-else blocks")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
(cherry picked from commit e42a5dfd4f2b22c73f4627128ac6d3dbcb10aca1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52984bfbc810ba7daa4bc88621ab3696235f77db
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri May 29 10:02:39 2020 +0200
aco: fix register allocation for subdword instructions on GFX10
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/5148>
(cherry picked from commit 75a730ced59701201ef4247cbe2189a9be6a9d18)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=263d3518014c5eb20e057062787893f691ed7305
Author: Vinson Lee <vlee at freedesktop.org>
Date: Wed May 27 16:19:25 2020 -0700
zink: Check fopen result.
Fix warning reported by Coverity.
Dereference null return value (NULL_RETURNS)
dereference: Dereferencing a pointer that might be NULL fp when calling
fwrite.
Fixes: 8d46e35d16e3 ("zink: introduce opengl over vulkan")
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5235>
(cherry picked from commit a2ee293422c09c9ecc8150ad70d29273e28c6a71)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2db56a4b2c325386fdb692fea1d0da86fe9ad413
Author: Neha Bhende <bhenden at vmware.com>
Date: Wed May 27 20:45:29 2020 +0530
util: Initialize pipe_shader_state for passthrough and transform shaders
mesa/st is initializing pipe_shader_state for user define shaders.
This patch intialized pipe_shader_state for all passthough
and transform shaders.
This fixes crashes for several opengl apps. Issue is found in vmware
internal testing
Fixes: f01c0565bb9 ("draw: free the NIR IR.")
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5240>
(cherry picked from commit 838666a41dcbbf566bff57e7a7b841e50bf2bdce)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aaef93e86e7e0edbbf5103221d9bef8f96b195f
Author: Gert Wollny <gert.wollny at collabora.com>
Date: Tue May 19 17:52:31 2020 +0200
nir: lower_tex: Don't normalize coordinates for TXF with RECT
v2: remove the option to actually request normalization and its
application in Intel < Gen6 (Jason)
v3: Also don't lower for query operations (Jason)
Fixes: 1ce8060c25c7f2c7a54159fab6a6974c0ba182a8
nir/lower_tex: support for lowering RECT textures
Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5105>
(cherry picked from commit 682e14d3eaee8991ee08ea309cbf9a509b6e6b27)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=43a71f1c95d6c93565c6d5769fd0f7f0c8089e59
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Thu May 28 10:21:27 2020 +0200
spirv,radv,anv: implement no-op VK_GOOGLE_user_type
This extension only allows HLSL shader compilers to optionally embed
unambiguous type information which can be safely ignored by the driver.
This fixes a crash with the recent Vulkan backend of Path Of Exile
(it uses the extension without checking if it's supported).
Cc: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Tested-by: Edmondo Tommasina <edmondo.tommasina at gmail.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5237>
(cherry picked from commit 10c4a7cf59733ae2058a76b880ea0767a59dad4f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8301f42e13c8595f931003fd4d2e9fda461c000
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Thu Apr 30 16:10:42 2020 +0100
aco: preserve more fields when combining additions into SMEM
Totals from 11 (0.01% of 127638) affected shaders:
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Fixes: 93c8ebfa780 ('aco: Initial commit of independent AMD compiler')
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880>
(cherry picked from commit e1900ee2c70c15dea56027c21676174704f12348)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50a9952899ed2b1e0bb6cee5d3d52f77e016618a
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Wed Apr 29 17:47:50 2020 +0100
aco: check instruction format before waiting for a previous SMEM store
Totals from 7 (0.01% of 127638) affected shaders:
CodeSize: 40336 -> 40320 (-0.04%)
Instrs: 7807 -> 7803 (-0.05%)
Cycles: 118588 -> 118344 (-0.21%); split: -0.23%, +0.02%
SMEM: 331 -> 339 (+2.42%)
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Fixes: 1749953ea3 ('aco/gfx10: Wait for pending SMEM stores before loads')
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880>
(cherry picked from commit 95d5c1b8a1ebe4a2ce47206b9ff0af4fbfd5a31a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bf8722d987b0c9fd243c85885592f2d99bb596f
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Fri May 22 15:42:39 2020 +0100
aco: consider SDWA during value numbering
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Fixes: 23ac24f5b1fdde73cf8ec1ef6cbe08d73d6776f5
('aco: add missing conversion operations for small bitsizes')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5164>
(cherry picked from commit 5ccc7c277c86f754f40515820b27b55296107c54)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc00f964708c471d6d554bcd6b0501af7781fa19
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Fri May 22 15:42:12 2020 +0100
aco: fix interaction with 3f branch workaround and p_constaddr
The offset was incorrect if we inserted a nop before the p_constaddr.
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Fixes: 93c8ebfa ('aco: Initial commit of independent AMD compiler')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5164>
(cherry picked from commit 8aa98cebc15e6f6f8bcf42162399b5826376b3dc)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64d4c552f4d9c9db71b74c4aade25b3189a22276
Author: Vinson Lee <vlee at freedesktop.org>
Date: Tue May 26 17:26:47 2020 -0700
pan/bi: Initialize struct fma_op_info member extended.
Fix warning reported by Coverity Scan.
Uninitialized scalar variable (UNINIT)
uninit_use: Using uninitialized value info. Field info.extended is
uninitialized.
Fixes: 8c79c710d4e1 ("pan/bi: Identify extended FMA opcodes")
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5224>
(cherry picked from commit df2c68ee4fd470efdc4f0121a2fe4aa5c64771e0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7333d719ef03e4424d4200adcc4a1463a1f27caa
Author: Eric Engestrom <eric at engestrom.ch>
Date: Thu May 28 01:19:03 2020 +0200
.pick_status.json: Update to 6a841dbf4e4f0cb33bc36a8ba880a9bd6f6e7941
More information about the mesa-commit
mailing list