Mesa (staging/20.1): 46 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 8 21:06:26 UTC 2020
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=669998e9d52f638c1be23b8ef2063ec8cdbcbf49
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date: Fri May 29 13:51:32 2020 +0300
glsl: inline functions with unsupported return type before converting to nir
glsl_to_nir doesn't expect non-vector/scalar return types in functions.
Fixes: 7e60d5a501f311fa5e7bca5335adc6013dc1aeb9
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3058
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3060
Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Tested-by: Witold Baryluk <witold.baryluk at gmail.com>
Reviewed-by: Witold Baryluk <witold.baryluk at gmail.com>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5333>
(cherry picked from commit 9f1cf0e4915262c68e5fb8bd8e87fbd0af30dbe2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c23eed6b085243a0de1349f663e68bf7bb31494e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Wed Jun 3 14:35:02 2020 +0200
nir/lower_explicit_io: fix NON_UNIFORM access for UBO loads
Make sure to propagate the NON_UNIFORM access for UBO loads, so
that non-uniform loads are correctly lowered.
Cc: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5311>
(cherry picked from commit 86f21e4eba7ad980109f13bd5480c02593ca19fe)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b668f6ee1928ce806d521aad12cbf1c34eebbb1a
Author: Charmaine Lee <charmainel at vmware.com>
Date: Thu Jun 4 17:46:33 2020 -0700
llvmpipe: do not enable tessellation shader without llvm coroutines support
Tessellation shader in llvmpipe depends on llvm coroutines support. So do not
advertise tessellation shader support in llvmpipe if GALLIVM_HAVE_CORO is FALSE.
This fixes assertion in LLVMTokenTypeInContext() running tessellation shader
tests with llvm version < 6.
Fixes: eb522717 "llvmpipe: add support for tessellation shaders"
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Neha Bhende <bhenden at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5366>
(cherry picked from commit dd81f4853c879c38987909f5e6e670b325f9f6af)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41268e9e07533d99604ac091266b551d48b0b722
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Jun 4 12:10:40 2020 +1000
llvmpipe: move coroutines out of noopt case
the virgl CI code was using the noopt path and crashing with a
wierd can't select llvm.coro.subfn.addr error, turns out we have
to call the cleanup pass no matter what.
This enable a lot more virgl gles31 passes, but we have
to disable tessellation shaders as now they executed, they
crash due to missing OES_gpu_shader5, I should try and reenable
them when llvmpipe is further along
Fixes: d32690b43c91d ("gallivm: add coroutine pass manager support")
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Acked-by: Elie Tournier <elie.tournier at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5320>
(cherry picked from commit c8c7450fc73b888504174733e905f4a69a72062a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=30ba93cb6296dfd29f3d9aacd4b2faa32ef594f9
Author: Peter Seiderer <ps.report at gmx.net>
Date: Sun Mar 22 13:03:00 2020 +0100
v3d_bufmgr: fix time_t printf
Fixes:
error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘time_t’ {aka ‘long long int’}
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279>
(cherry picked from commit b3beb6207f16ac55e3934b4d4d1f178adb4f4cad)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=669c6dd3f9af80ed564cd79448eb1341ecc66f32
Author: Peter Seiderer <ps.report at gmx.net>
Date: Sun Mar 22 11:48:31 2020 +0100
pan_bo.h: add time.h include for time_t
Fixes:
../src/gallium/drivers/panfrost/pan_bo.h:93:9: error: unknown type name ‘time_t’
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279>
(cherry picked from commit d512028d06c40ba56b642095379638b49ebf4a23)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=20573651ae6349f48f4e057ac1f9b178239b4508
Author: Peter Seiderer <ps.report at gmx.net>
Date: Sun Mar 22 11:42:35 2020 +0100
vc4_bufmgr: fix time_t printf
Fixes:
error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘time_t’ {aka ‘long long int’}
Signed-off-by: Peter Seiderer <ps.report at gmx.net>
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279>
(cherry picked from commit 07ba5e47e6674b568219cb91ddbcece20fe9030d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=46ed1477f5f7c85a238cc20be7dee3059304367f
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Fri Jun 5 13:57:40 2020 +1000
glsl: fix potential slow compile times for GLSLOptimizeConservatively
See code comment for full description of the change.
Fixes: 0a5018c1a483 ("mesa: add gl_constants::GLSLOptimizeConservatively")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3034
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/5346>
(cherry picked from commit e43ab7bb05857461609ed2bd43703eb272a3ebe1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49d03a7a32fa1836fba3d4647a6f1e73d4c12759
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=e0daaa45767b561b45c06d17d95d25b1cea3bc47
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=a532fa8b86a0f949b7f63ebc1487b5e525816994
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=d64c85cc74818bcef530d9e16f4bb6f2289e653e
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=e164346cdf4c6af7aff4a833d4325f9e1a30c3b7
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=6cdf388d900a6284689680b59dd7f08145f3c0ab
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=67e2d37c8bcc4337cb2161f95eef78b631a6b762
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=6e602284caf5cb75add41c5bd7499bd52ea44f3a
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=fdcd67cded6489dcac8649cd76a76ff3a3e57a60
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=e51c642a4567d8f200451addc3c3d7e39626f016
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=654299df1339c9f32a54a839f312e12907d8f4ae
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=b6b548acfe526c9cca8e020d52d5d49cb1315f08
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=447b6b89f4e56e18c535de19cd6662e60204388c
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=f7e3438bd7815c758fcef4c05605ab138684377b
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=232f5c87e075b8aaa14de871d04e7da06e258f11
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=1f83b69ae92c31e380a52deba2953b64b0d2f1fd
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=326cdba6f9535cab44289e1b70dda343a797b732
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=a282e52d50d202c9074179b17d44594a3ef8afa5
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=b465ad383e4d088f35a755151d2c8574a95fa02a
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=67fca938eaffa6bf7921f697e095b5a32fc5c12d
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=134842f5ead42f72bb650a671149e8c6b1be8675
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=415c6657dddcda2ddec6a7041893d5d04969f330
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=33a18e104734809e732eae003291b7ced435f4bf
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=3eda0c8e51904aa4b35a7cf46052917da761adf5
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=e82d6053ba8945be229ace97af77521f43895738
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=9c36ced580aefdd214bf62bff5ef097286067881
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=906cb32f8cd4604f21b2a8339b46c331954ca92d
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=6b6654b0aa87ff7335700346eb3fe6f7324a1e49
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=d82f81df87a6549776419513b3c61392030cf6a3
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=cd6859cc388c0e46b035eb774f30285ddf7cd2c1
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=e8e871cbcf85295e3a298e8f6656783c3463ae5b
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=c199682347c3fe1a7bffc688cf61c3b5eba936b2
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=52a82664179a2f82adeb7111f9527dd6f4107c6d
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=a2b6ad24e8db9eaaf5d4479db077d74d77d92d16
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=b715ca2891525475aeae409cc0fbaede55be620d
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=b9237dfb2fb90ad24fb49866719833a978bbef75
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=fc1951ce50e6e1de93f40627f05559ccb5c9b03b
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=ed94c2a8e7b3a22ebdb2440c6e4816d0e100cfc8
Author: Eric Engestrom <eric at engestrom.ch>
Date: Thu May 28 01:19:03 2020 +0200
.pick_status.json: Update to 88d5917cc1c5bd0dec26147a8779b50e94e56dd1
More information about the mesa-commit
mailing list