Mesa (staging/20.1): 45 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 8 10:23:26 UTC 2020
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=96eec89f41722f84cb921237f24e39c48f41af2e
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=e654026529e9ef9b69dfdec0792cbafa637c755c
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=b5bda4bab68b0ca96ca2a670519e19a66b8d1885
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=4eb3473b0405d9911dfadec058ef87289592d2c2
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=73e0483da8147515c42159d2f81b2191e7c4c884
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=bd21fe145185347a562e0706b7ef0104f9df618a
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=76b3c730eaaa7c58041ac11b8767bc6639be3ac3
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=ef521cdde04f5140206196d66b8e5cadd94c6870
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=7605c7cc0adb50f5f8bda568b61c1e9d3001191f
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=d0dea4160176261481765a80f6ed2d2cda939f77
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=01cb7c33ff0886d37356591c09a6417f95e50a77
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=3db7bb870a277127b7413d40a66f4d3f116733bd
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=52774b01f64e268cc382b46f173d66344f971f1b
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=5b56d0bda72ab4e12594c147dd8deadb433bc4c8
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=2f10577a11358cec5f33bc1dd3cec8151f2d141f
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=8c20a707c938d43f824d83851e8955d86daaf0cd
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=2ef6b427381907bb3246aa55ae1c7f5c7d234989
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=6519ab0b99678f84a7c494530e245d146eb23142
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=b7378357f0c031d401278bfaeefa988a76f9186b
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=284b9f8088dfabeda0c86c1520a95dd84d667456
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=2c82c853343482b4dea9b764732f404109b974fd
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=90a38ef9651835607e6d35f475fa3c1f10ce2505
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=915109e49f93b5924850e32233d23033945939e9
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=bb8457db56886d85a19030414e0ea3a7dc58a349
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=27a810a6a856d78e4cc6419c1ae00e395516654d
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=a7116262854a750bfb8aabffe066391bc59e7414
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=f62335bc522c72e527990139a592f776ad5d92ae
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=e0f8e3959b9d0903e57c55559f33ca3e8c1a7871
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=06c7b5a6cf62cde0dac8d1bc138ee0950df5cdf4
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=2afd5647a327a85ef888b6618ee6310cfaa6defd
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=5aa12e91110a29052c1db840e8bd49aff15b774a
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=2ff8f90301d79919d4212453296c4f25f28b5dd6
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=b84320f5cf4a89f563de8259de2a2fda6f882cdd
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=ae72051295e88fcebc60d1789719d8b17ff99cd5
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=0e8191de5f31fdea7b3b59304c8ea6272431716d
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=cfcb0ac5f5fffb05d2caa47af7b858d691033540
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=0ba858e3b70edf0d62a8f35eea35f985e0627c55
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=9233eb7ec83abb020482256a4425bf71eb667bd9
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=0b847248c9f697e19e99e442826eaa9c29ed0073
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=f20da92002f749ff1a1da6ab13172d0f9feef472
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=70adc18c9a493513f5f1537ff699b9eeef5d3538
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=741982036eff7e91cda075c2cd841ddc4aff8648
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=d9fc8176ebe69168c85b1e3c4b8826850b3ab390
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=7b5ccfb1e7b8ff1955bb3d95b32811524ce57683
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=c25cd39658c8bdb833d1ead2ff13a62507d1c7b3
Author: Eric Engestrom <eric at engestrom.ch>
Date: Thu May 28 01:19:03 2020 +0200
.pick_status.json: Update to 86f21e4eba7ad980109f13bd5480c02593ca19fe
More information about the mesa-commit
mailing list