-
63267e01
by Dylan Baker
at 2021-03-24T15:50:15-07:00
docs: Add 21.0.1 hashes
-
770b0185
by Dylan Baker
at 2021-03-24T15:51:01-07:00
.pick_status.json: Update to 9be24c89c8c298069eaa3ff600ba556b9a4557e9
-
e37442f1
by Dave Airlie
at 2021-03-24T15:51:06-07:00
lavapipe: fix templated descriptor updates
The template path was buggy but CTS only tested it with Vulkan 1.1 enabled.
It was just missing the dstArrayElement offset.
Fixes: 41f7fa273d21 ("lavapipe: add support for VK_KHR_descriptor_update_template")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9675>
(cherry picked from commit 833847603bd3ed527425c4e8b5565cdb7a1f8622)
-
8d9ec9cd
by Michel Dänzer
at 2021-03-24T15:51:13-07:00
intel/tools: Use subprocess.Popen to read output directly from a pipe
Instead of using tempfiles to communicate between child & parent
process. The latter sometimes resulted in hitting the meson timeout if
there was high filesystem pressure.
Fixes: ccaa5b034f48 "intel/tools: rewrite run-test.sh in python"
Reviewed-by: Dylan Baker <dylan.c.baker@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9528>
(cherry picked from commit 05bf12ccb6f290c701ef5b84a7c46e7818bf2c3e)
-
aa8bff05
by Michel Dänzer
at 2021-03-24T15:51:13-07:00
Revert "glsl/test: Don't run whitespace tests in parallel"
This reverts commit c60cea0daa2b140547088188d90bce6f09bb1517.
Didn't have the intended effect, and slowed down the meson test run.
Reviewed-by: Dylan Baker <dylan.c.baker@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9528>
(cherry picked from commit 5057f14cbaa4810995c959a96f1e7047a781ff38)
-
3260a85b
by Dylan Baker
at 2021-03-25T09:43:56-07:00
.pick_status.json: Update to 8e43abcd2c29366d77fff804a7845b61fb97ca5c
-
2733a9c7
by Mike Blumenkrantz
at 2021-03-25T09:43:56-07:00
util/set: stop leaking u32 key sets which pass a mem ctx
Fixes: 10a76824137 ("util: add _mesa_set_create_u32_keys where keys are not pointers")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9810>
(cherry picked from commit 5ecad3cb44cc06271734c479e13f9ae9605eb79b)
-
8d32c55d
by Dylan Baker
at 2021-03-25T10:36:42-07:00
.pick_status.json: Mark 75951a44ee9f25d29865f3dd60cdf3b8ce3f7f0c as backported
-
f0b62030
by Mike Blumenkrantz
at 2021-03-25T10:36:42-07:00
lavapipe: use the passed offset for CmdCopyQueryPoolResults
this avoids overwriting buffer[0] on every copy
Fixes: b38879f8c5f ("vallium: initial import of the vulkan frontend")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9813>
(cherry picked from commit e20aebb83c5af9ddf11167c39f9b76434e1e7083)
-
2ac46f95
by Rhys Perry
at 2021-03-25T10:36:42-07:00
aco: implement image_deref_samples
It used to be that this intrinsic was never created and texture
instructions were always used.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Fixes: 50881d59e66 ("compiler/spirv: fix image sample queries")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9686>
(cherry picked from commit 27e2f82f17806c8be2b7e2519e7ff9a0355f5770)
-
090239c2
by Mike Blumenkrantz
at 2021-03-25T10:37:59-07:00
util/bitscan: add u_foreach_bit macros
this is a standardized (and very slightly improved for usability) version
of the macro that has been copied into every vulkan driver
includes fixup from Rob Clark <robclark@freedesktop.org>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9191>
(cherry picked from commit e7c7150d6395c1e31f4e73e0e43dc6bb7e6dfacd)
-
a6a79fb3
by Mike Blumenkrantz
at 2021-03-25T10:38:01-07:00
lavapipe: fix CmdCopyQueryPoolResults for partial pipeline statistics queries
if this isn't a query for all pipeline statistics, the bits that are
set need to be individually copied in increasing order
Fixes: b38879f8c5f ("vallium: initial import of the vulkan frontend")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9813>
(cherry picked from commit 4ad5bfd1bdbf9abfb49f3bde7f655df90717d32b)
-
ffd661d5
by Icecream95
at 2021-03-25T11:00:53-07:00
panfrost: Disable early-z when alpha test is used
Fixes rendering artefacts in Minetest on Midgard.
Fixes: 275277a2b48 ("panfrost: Implement alpha testing natively")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9676>
(cherry picked from commit ae62fb3737634fdf1c376f3d27c2eae5b751dccc)
Conflicts:
src/gallium/drivers/panfrost/pan_cmdstream.c
-
d4e0e7c0
by Dylan Baker
at 2021-03-26T09:52:35-07:00
.pick_status.json: Update to a7c0cf500b335069bfe480c947b26052335f897e
-
bca2aa6e
by Pierre-Eric Pelloux-Prayer
at 2021-03-26T09:52:43-07:00
mesa/st: fix lower_tex_src_plane in multiple samplers scenario
"plane[0].i32" is the plane being lowered, it's not the sampler we're looking
for.
It worked when there's a single sampler because, eg for NV12, plane[0].i32 for
the UV plane would be 1 and the added ":uv" sampler would also land at binding
point 1.
Fixes: 079e5f73d72 ("mesa/st: rewrite src var when lowering tex_src_plane")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9812>
(cherry picked from commit 6298347ec71e7e03c02bf262f37d176dbcc2b987)
-
4e4962b4
by Simon Ser
at 2021-03-26T09:52:43-07:00
egl: fix software flag in _eglAddDevice call on DRM
On the EGL DRM platform, call _eglAddDevice with the software flag
set if GBM has loaded a software driver. This allows _eglAddDevice
to make the difference between llvmpipe and kmsro.
This is important on split render/display SoCs: we don't want to
advertise EGL_MESA_device_software on these systems.
Completely drop disp->Options.ForceSoftware, because GBM is
responsible for choosing software rendering and doesn't take this
hint into account.
Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: 5743a36b2b32 ("egl: Don't add hardware device if there is no render node v2.")
References: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4178
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9697>
(cherry picked from commit 08a51770bd1b39262003a14850d416df04d13ac7)
-
f1ec9335
by Simon Ser
at 2021-03-26T09:52:44-07:00
egl: only take render nodes into account when listing DRM devices
We don't want to expose an EGL device for a display-only DRM devices
(like VKMS). For these DRM devices we have a separate software-rendering
device (the first in the list, always present).
There is a similar check in _eglAddDRMDevice, however it will be
removed in a future commit to allow split render/display devices
to be properly added. We can't figure out whether we're on a split
render/display system before loading the driver.
Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: 5743a36b2b32 ("egl: Don't add hardware device if there is no render node v2.")
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9697>
(cherry picked from commit e39d72aec203ee317feb87ba1c8953a99aad2a5c)
-
9a439ebc
by Simon Ser
at 2021-03-26T09:52:45-07:00
Revert "egl: Don't add hardware device if there is no render node v2."
This reverts commit 5743a36b2b32a91eaf82c8d109932fe4fea01233.
Now that _eglAddDevice is always called with the correct software
hint, no need to bail out if the device doesn't have a render node.
On split render/display SoCs, the DRM device won't have a render
node, yet rendering is hardware-accelerated (via kmsro).
Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: 5743a36b2b32 ("egl: Don't add hardware device if there is no render node v2.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4178
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9697>
(cherry picked from commit 1d349a6484bd2dc2b7fafb12019b4b949fbf59bf)
-
5de93ffe
by Tony Wasserka
at 2021-03-26T09:52:47-07:00
aco/isel: Don't emit unsupported i16<->f16 conversion opcodes on GFX6/7
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: b86305bb573 ("nir/algebraic: collapse conversion opcodes (many patterns)")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4357
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9597>
(cherry picked from commit 436922c84ad144e5589d9bbbeaba24081b2c42f8)
-
f5444d50
by Dylan Baker
at 2021-03-29T10:08:20-07:00
.pick_status.json: Update to ee14bec09a92e4363ef916d00d4d9baecfb09fa9
-
b6123cd4
by Mike Blumenkrantz
at 2021-03-29T10:08:30-07:00
lavapipe: fix array texture region copies
these need to use different struct members for copying array textures
the buffer2image variants are already doing the right thing
Fixes: b38879f8c5f ("vallium: initial import of the vulkan frontend")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9761>
(cherry picked from commit dfe9bfef9b9cfb8d27556843db87a2c03d1490e4)
-
fe9e25b2
by Dave Airlie
at 2021-03-29T10:08:35-07:00
util: rework AMD cpu L3 cache affinity code.
This changes how the L3 cache affinity code works out the affinity
masks. It works better with multi-CPU systems and should also be
capable of handling big/little type situations if they appear in
the future.
It now iterates over all CPU cores, gets the core count for each
CPU, and works out the L3_ID from the physical CPU ID, and
the current cores L3 cache. It then tracks how many L3 caches
it has seen and reallocate the affinity masks for each one.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4496
Fixes: d8ea5099658 ("util: completely rewrite and do AMD Zen L3 cache pinning correctly")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9782>
(cherry picked from commit 11d2db17c522e5a123e781f001d7f75e9abe2bcd)
-
ca86b94e
by Dylan Baker
at 2021-03-30T09:42:48-07:00
.pick_status.json: Update to 3c64c090e0d2250d7ee880550f8cbeac0052c8d9
-
540172fa
by Gert Wollny
at 2021-03-30T09:43:04-07:00
r600: don't set an index_bias for indirect draw calls
The indirect draw call already encodes the index bias so that no
additional encoding in the hardware is needed in this case.
This fixes a regression with a number of tests from
dEQP-GLES31.functional.draw_indirect.random.*
Fixes: c6c532faa8cf172715b38783ec7175b626a63944
"gallium/u_vbuf: use updated pipe_draw_start_count while using draw_vbo"
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9877>
(cherry picked from commit acdf1a123436cb3fa7d4bbc9cfbb9566c7693de4)
-
da38b604
by Lionel Landwerlin
at 2021-03-30T09:43:05-07:00
intel/fs/copy_prop: check stride constraints with actual final type
In some cases we will change the type of the destination register of
an instruction. This is the type we should use to verify that we're
allow to do the replacement.
Otherwise we can hit restrictions on CHV and upcoming Xe-Hp for
instance where the copy propagation transforms this :
send(16) (mlen: 2) vgrf10:UD, 0u, 0u, vgrf35:D, null:UD
mov(16) vgrf11:UW, vgrf10<2>:UW
mov(16) vgrf12:UW, vgrf10+0.2<2>:UW
mov(16) vgrf15:HF, |vgrf11|:HF
mov(16) vgrf16:HF, |vgrf12|:HF
mov(8) vgrf41<2>:UW, vgrf15+0.0:UW group0
mov(8) vgrf42<2>:UW, vgrf15+0.16:UW group8
mov(8) vgrf45<2>:UW, vgrf16+0.0:UW group0
mov(8) vgrf46<2>:UW, vgrf16+0.16:UW group8
into this :
send(16) (mlen: 2) vgrf10:UD, 0u, 0u, vgrf35:D, null:UD
mov(8) vgrf41<2>:HF, |vgrf10+0.0|<2>:HF group0
mov(8) vgrf42<2>:HF, |vgrf10+1.0|<2>:HF group8
mov(8) vgrf45<2>:HF, |vgrf10+0.2|<2>:HF group0
mov(8) vgrf46<2>:HF, |vgrf10+1.2|<2>:HF group8
Because of the floating point use, stride and offets should be the
same.
v2: Fix final destination type selection (Curro)
v3: constify (Curro)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9832>
(cherry picked from commit aa53665fda63484495d736ddd1d4542c66814e61)
-
5bcbe148
by Icecream95
at 2021-03-30T09:43:06-07:00
pipe-loader,gallium/drm: Fix the kmsro pipe_loader target
Include drm_helper.h to define the driver descriptor again, but with a
new define GALLIUM_KMSRO_ONLY to disable defining descriptors for the
drivers that kmsro uses.
Fixes clinfo on Panfrost.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4002
Fixes: 9ec28b8d226 ("gallium/drm: Deduplicate screen creation for the dynamic (clover) pipe loader.")
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9380>
(cherry picked from commit 06a883cfe55751a19a73b6915de63c2eaf6c42b4)
-
d30cea2b
by Erik Faye-Lund
at 2021-03-30T11:06:52-07:00
compiler/glsl: avoid null-pointer deref
When we encounter a bindless image here, lower_deref returns a
NULL-pointer, and calling record_images_used will try to dereference
that NULL-pointer.
So let's dig out the var from the source instruction instead of the
result of the lowering.
Fixes: 5910c938a29 ("nir/glsl: gather bitmask of images used by program")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9895>
(cherry picked from commit 89a04a54c41b1ffd3f6699273bf1486afa37b96c)
-
ed60dec3
by Dylan Baker
at 2021-04-06T09:41:55-07:00
.pick_status.json: Update to fb5615af40a5878b127827f80f4185df63933f34
-
99a47874
by Charmaine Lee
at 2021-04-06T09:41:55-07:00
gallivm: increase size of texture target enum bitfield
Need to bump up the size of texture target bitfield for MSVC.
Fixes: 0ce7c4a7c981 ("gallivm: Use the proper enum for the texture target bitfield.")
Reviewed-by: Neha Bhende <bhenden@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9928>
(cherry picked from commit a442e3ff551dd737607be6d5bb3ca08bea8dc1f5)
-
c5c7d6a0
by Tapani Pälli
at 2021-04-06T09:41:55-07:00
iris: clamp PointWidth in 3DSTATE_SF like i965 does
Values match how MinimumPointWidth, MaximumPointWidth is setup. This
fixes assert hit in debug build when packing the struct with too large
value for genxml.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9942>
(cherry picked from commit b2af419391d0cab7ad5a36fbe3b4f3d2cddfa3db)
-
a1328ea7
by Dylan Baker
at 2021-04-06T09:41:55-07:00
.pick_status.json: Update to 1e0a69afa72c61e5f5841db3e5e7f6bb846a0fab
-
816fd2cf
by Marek Olšák
at 2021-04-06T09:41:55-07:00
ac/llvm: don't set unsupported xnack options to fix LLVM crashes on gfx6-8
LLVM prints an error if xnack is unsupported and it uses a global stream
object that is not thread-safe. Since Mesa uses multiple threads to compile
shaders, there is a small chance that it will crash.
Just don't set any xnack options to use LLVM defaults.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4439
Cc: 20.3 21.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9795>
(cherry picked from commit ac78b12e2307565adff436e101b5a8dba61a64b3)
-
11585bb0
by Marek Olšák
at 2021-04-06T09:41:55-07:00
radeonsi: disable sparse buffers on gfx7-8
Cc: 20.3 21.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9795>
(cherry picked from commit 8ea685dfc0d31fe0eeb127f3cb13307f34bc163b)
-
6a0f0a34
by Adrian Ratiu
at 2021-04-06T09:41:55-07:00
docs: docker: minor stale documentation fix
Commits like the following changed the script names and distro tag
but didn't update the documentation. We do not explicitely mention
script names because they will likely change in the future but the
distro tag is less likely to change because it is shared with the
upstream ci-templates repo.
Fixes: af7dca35602 ("ci: Update the ci-templates commit.")
Fixes: 506e9d5fc71 ("gitlab-ci: Rename container install scripts to ...")
Fixes: c6c76527535 ("gitlab-ci: Organize images using new REPO_SUFFIX ...")
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9781>
(cherry picked from commit 8371b75241ee256d85beb6a1fcf43d7ab5bb3e22)
-
1665f478
by Pierre-Eric Pelloux-Prayer
at 2021-04-06T09:41:55-07:00
nir/lower_tex: ignore texture_index if tex_instr has deref src
texture_index is meaningless when a tex_instr has deref src.
Use var->data.binding instead.
This fixes the incorrect lowering on radeonsi where the same
lowering steps was applied to all tex_instr based on the needs
of the first one (since texture_index is always 0).
CC: mesa-stable
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9931>
(cherry picked from commit bc438c91d9b61bbfd3bc2436ee4ab36716540614)
-
882d47fa
by Pierre-Eric Pelloux-Prayer
at 2021-04-06T09:41:56-07:00
mesa/st: fix st_nir_lower_tex_src_plane arguments
st_nir_lower_tex_src_plane expects a mask, no a boolean.
CC: mesa-stable
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9931>
(cherry picked from commit 72c54713aaed464e871c7177298e76f0202be252)
-
b96b1db3
by Bas Nieuwenhuizen
at 2021-04-06T09:41:56-07:00
radv: Flush caches for shader read operations.
As part of the fmask expand we very much read from the images as
well ...
Fixes: 8f8d72af555 ("radv: Use access helpers for flushing with meta operations.")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10042>
(cherry picked from commit 57511d145878fd4725ce5186dcfe5c2ad93baedf)
-
a3a27832
by Dave Airlie
at 2021-04-06T09:41:56-07:00
drisw: move zink down the list below the sw drivers.
We don't ever want drisw path picking zink as the driver,
we can revisit this when the penny wrapper work gets further
along.
This selection causes systems with nvidia/intel dual-gpus
to try and pick the intel gpu for rendering in the nvidia
context if there is no nvidia GL driver or accel doesn't work.
This is a partial revert of the original commit.
Fixes: 4a3b42a717ce ("drisw: Prefer hardware-layered sw-winsys drivers over pure sw")
Acked-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9816>
(cherry picked from commit 3e1698fe1baa22d000e29bd267b1c39b59910cca)
-
759ce9f0
by Boyuan Zhang
at 2021-04-06T18:55:42+00:00
frontend/va/image: add pipe flush for vlVaPutImage
To fix synchronization issue between multimedia queue and gfx queue.
Adding flush call will let multimedia queue to wait for the content of gfx
command buffer to be executed, for the case where there is dependency
between these two queues.
Fixes: 2f50dea2188c ("radeonsi: always use a staging texture for linear 1D textures in VRAM")
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit 27209e63ea816762708deef4b4fbec0dfbf4a331)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9995>
-
ebe8cfc3
by Dylan Baker
at 2021-04-07T09:35:07-07:00
docs: add release notes for 21.0.2
-
7419e553
by Dylan Baker
at 2021-04-07T09:35:30-07:00
VERSION: bump for 21.0.2 release