-
b2cc7c5b
by Dylan Baker
at 2022-05-13T10:05:18-07:00
.pick_status.json: Update to 57293dee2b11ba7e52052edc4d0437f08db19144
-
60fa35a4
by Dylan Baker
at 2022-05-13T10:05:20-07:00
.pick_status.json: Mark 5a3aee78cbb70918b413cdd40dffcae7c9e97d8c as denominated
-
8a560a87
by Danylo Piliaiev
at 2022-05-13T10:05:21-07:00
tu: Do not flush ccu in clear/blits during renderpass
For clear/blits ccu flush not only worse for perf, but also messes up
flush_bits when executed in a conditional set of commands.
We already don't flush for 3d blits.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6419
Fixes: 487aa807bd1b70602fcb6fbdabd101d4cff7c07b
("tu: Rewrite flushing to use barriers")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16352>
(cherry picked from commit 187d3df52c77b92bb8002f90818b0a9fce8a7e1a)
-
1b28c52e
by Danylo Piliaiev
at 2022-05-13T10:05:22-07:00
pps: Open writable renderer node in DrmDevice::create
DrmDevice::create_all correctly opened the node with O_RDWR, while
DrmDevice::create was not, causing failure to create writable buffer.
Fixes pps-config on Freedreno.
Fixes: 1cc72b2aef82373247466c2e7b81970c867ad0fa
("pps: Gfx-pps v0.3.0")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16406>
(cherry picked from commit 6bf4ae002aa252824ee3c80e485b16ae1ffd73a4)
-
2649b2c6
by Mike Blumenkrantz
at 2022-05-13T10:05:37-07:00
zink: fix up sparse texture sampling for shadow samplers
the problem here is that this returns a vec2 instead of a vec5, which
throws all the existing calculations off
given that the shader is (still) expecting a vec2 return from this,
and there's no way to sanely rewrite with nir to be valid for both
sampler types as well as spirv translation, just pad out to a vec2
here and be done with it
Fixes: 73ef54e3424 ("zink: handle residency return value from sparse texture instructions")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 88912b31119a14ffc99087781a17eeb4af202866)
-
41967c91
by Mike Blumenkrantz
at 2022-05-13T10:05:42-07:00
zink: clamp out min_lod operands for explicit lod ops
this is illegal (and nonsensical)
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 63dc39ac9047fce206ac11b6e556b6e9a0f8a07b)
-
c85d45c8
by Mike Blumenkrantz
at 2022-05-13T10:05:56-07:00
zink: fix sparse binding for arrayed textures
this needs to set the arrayLayer, not the z offset
big thanks to Piers Daniell for catching this
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 377f5e7af958101160907f125a0349df8cec934a)
-
b03a2c10
by Mike Blumenkrantz
at 2022-05-13T10:05:56-07:00
zink: set sparse flag in cubemap lowering
Fixes: 2d745904ca7 ("zink: add a gently mangled version of the d3d12 cubemap -> array compiler pass")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 56979182dd81c30765d0d1566ef281ac028cc500)
-
95462337
by Mike Blumenkrantz
at 2022-05-13T10:05:57-07:00
zink: fix sparse texture depth calcs for arrayed textures
use the array, not the depth
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16456>
(cherry picked from commit 1126f42781d87162eb827794b7446b3619e067af)
-
caf52671
by Pierre-Eric Pelloux-Prayer
at 2022-05-13T10:05:58-07:00
radeonsi: don't use wave32 for GE on gfx10 if culling is used
This is a workaround for issue #6457: it fixes the rendering and
prevent the hang but I can't explain why.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6457
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16427>
(cherry picked from commit 1f3156460781d4ebd9dfb2ff6b9f176259cc5959)
-
96eb5bbb
by Pierre-Eric Pelloux-Prayer
at 2022-05-13T10:05:58-07:00
amd: fix ac_build_mbcnt_add in wave32 mode
add_src was ignored and i32_0 was always used.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Fixes: 1e49018cedf ("amd: Add extra source to the mbcnt_amd NIR intrinsic.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16427>
(cherry picked from commit db2fd0ca83f4f2000eae87f4e7915d775833393a)
-
24626dca
by Jordan Justen
at 2022-05-13T10:05:59-07:00
intel/dev: Add INTEL_PLATFORM_DG2_G12
Cc: 22.1 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
(cherry picked from commit 4456209ce54f174bbdb957f0c4c7ca20c94294d8)
-
bb91ddce
by Jordan Justen
at 2022-05-13T10:05:59-07:00
intel/dev: Add DG2 G12 PCI IDs
Ref: https://patchwork.freedesktop.org/patch/483381/?series=103098&rev=1
Ref: https://patchwork.freedesktop.org/patch/msgid/20220425211251.77154-3-matthew.d.roper@intel.com
Cc: 22.1 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
(cherry picked from commit 99354efe314a98906fd0ce0dc823dabbf66cd948)
-
9c84a343
by Jordan Justen
at 2022-05-13T10:06:00-07:00
intel/dev: Enable first set of DG2 PCI IDs
Mostly Matt Roper's kernel patch commit message:
The IDs added here are the subset reserved for 'motherboard down'
designs of DG2. We have all the necessary support upstream to enable
these now.
The remaining DG2 IDs for add-in cards will be enabled in a future
patch once some additional required functionality has fully landed.
Ref: https://patchwork.freedesktop.org/patch/msgid/20220425211251.77154-3-matthew.d.roper@intel.com
Cc: 22.1 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
(cherry picked from commit ad565f6b70d9c4f2af34fe531d01ecf0eaa08500)
-
87c98bed
by Samuel Pitoiset
at 2022-05-13T10:06:01-07:00
radv: disable DCC for Senra Kagura Shinovi Versus
To workaround an issue with feedback loops in D3D9 with DCC in GENERAL,
until we can fix it properly with a new extension.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6469
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16452>
(cherry picked from commit b5b2bcab543c62491d35fc838834625a136fea4c)
-
cdc27459
by Danylo Piliaiev
at 2022-05-13T10:06:01-07:00
tu: Fix indices of drm_msm_gem_submit_cmd when filling them
For some reason CTS doesn't trigger the issue...
When submit entry is not filled - kernel says:
[drm:msm_ioctl_gem_submit] *ERROR* invalid type: 00000000
Fixes: dbae9fa7d8412252c96e53ef3d50f4349969928a
("tu: implement sysmem vs gmem autotuner")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16474>
(cherry picked from commit 9a11ad7efd56d28e1c83aaec5cecb7fa7720fc90)
-
a21fe415
by Kenneth Graunke
at 2022-05-13T10:06:02-07:00
anv: Fix INTEL_DEBUG=bat on XeHP
We no longer emit STATE_BASE_ADDRESS in every batch on XeHP, so the
decoder might not know what the various base addresses are if it's only
looking at a single batch. Fortunately, they also never change, so we
can just emit them once here.
On earlier platforms, initializing them here should be harmless. We'll
emit STATE_BASE_ADDRESS if we change them, which will update these.
Thanks to Iván Briano for catching this.
Fixes: 8831cb38aa9 ("anv: Stop updating STATE_BASE_ADDRESS on XeHP")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16287>
(cherry picked from commit ad537edc7c6826be1e69c1a7b8ec6c5754116e96)
-
aa9b7d34
by Mike Blumenkrantz
at 2022-05-13T10:06:02-07:00
zink: remove implicit query resets
this existed in order to reset query pools in advance so they
would never overflow. now the pools are reset every time the query
is started, so this behavior is no longer necessary
fixes #6475
Fixes: 57dd05616fa ("zink/query: rewrite the query handling code to pass validation.")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16484>
(cherry picked from commit 1c62c6bafd67d4b375464521a155a12addf9e01b)
-
d7ef4f99
by Marcin Ślusarz
at 2022-05-13T10:06:03-07:00
anv: update task/mesh distribution with the recommended values
Fixes: ef04caea9b8 ("anv: Implement Mesh Shading pipeline")
Acked-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
(cherry picked from commit f083df87108231005889b7af92f0cad7c61e1f81)
-
2cca7dce
by Marcin Ślusarz
at 2022-05-13T10:06:04-07:00
anv: disable streamout before emitting mesh shading state
Fixes tests which use secondary command buffers.
Fixes: ef04caea9b8 ("anv: Implement Mesh Shading pipeline")
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16493>
(cherry picked from commit aa1c128b54b31580367d97107660c11cb94e0b98)
-
28264dd5
by Victor Hermann Chiletto
at 2022-05-13T10:06:04-07:00
radv: always check entry count in descriptor pool when allocating
Previously this check was skipped for pools with
VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT unset, but after
96a240e1 we need to check this otherwise we risk overflowing
radv_descriptor_pool::entries into the host memory base
This fixes a crash to desktop when launching Dota 2, which overallocates
descriptor sets and expects an error to allocate another descriptor pool
Fixes: 96a240e1767 ("radv: fix memory leak of descriptor set layout")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16490>
(cherry picked from commit 580046e49faa88bb6d9c183f491f2779de1769f3)
-
e8887c84
by Dylan Baker
at 2022-05-16T10:05:09-07:00
.pick_status.json: Update to 5c90eb1c53f46e86717c6bf4d5253dd23c4dac1f
-
f77526a3
by Jason Ekstrand
at 2022-05-16T10:05:11-07:00
nir: Preserve metadata if remove_dead_derefs makes no progress
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16482>
(cherry picked from commit c23b20d43a03634bf528f9870cdd5b0159a69eb4)
-
ca435258
by Mike Blumenkrantz
at 2022-05-16T10:05:11-07:00
zink: remove refs from shader images
these have implicit refs from the surface/bufferview that gets created,
so adding a ref here is redundant and less performant
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit d0df4889707e94a7bae6a9f6b4092b00f1b42b2a)
-
78feb828
by Mike Blumenkrantz
at 2022-05-16T10:05:12-07:00
zink: reuse local res pointer in set_shader_images
no functional changes
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit 22954b486067e08780ba5a1679edfbad7f23c45a)
-
308af4a4
by Mike Blumenkrantz
at 2022-05-16T10:05:13-07:00
zink: simplify dumb update flagging in set_shader_images
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit a3dff53487bceb42230d525daa9ac57694dc98a2)
-
3b927d3e
by Mike Blumenkrantz
at 2022-05-16T10:05:14-07:00
zink: read shader image r/w usage from incoming data struct
no functional changes
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit 32a77b1e255c5213124200076160902928a07830)
-
16a9904e
by Mike Blumenkrantz
at 2022-05-16T10:05:14-07:00
zink: copy incoming shader image struct after doing updates
no functional changes
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit 2df1c061688c14d51ad3eeaab886bb7ae4a6172a)
-
83c680e9
by Mike Blumenkrantz
at 2022-05-16T10:05:15-07:00
zink: stop leaking shader image surfaces
the code here was fine for checking the base resource unbinds and whatever,
but it never actually destroyed the surfaces/bufferviews created,
which meant they were always being leaked
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit 1526df283c3659d510066f58b152597ea15913a0)
-
8ddded80
by Mike Blumenkrantz
at 2022-05-16T10:05:16-07:00
zink: fix 3d shader image miplevel calc for depth
without adjusting for miplevel here, the shader image might erroneously
be created as a 2d view and/or assert
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit fa3d51892aa8b36e476bd07626f5f93d03e57f48)
-
36429346
by Mike Blumenkrantz
at 2022-05-16T10:05:16-07:00
zink: directly reuse surface ivci when rebinding
this is simpler and also fixes rebinding samplerviews which use
a levelCount > 1
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16508>
(cherry picked from commit ca915c871fb6c489c32c25d08626997d5ffc0196)
-
d6009c3f
by Marek Olšák
at 2022-05-16T10:05:17-07:00
radeonsi: fix a crash when failing to create a context
When shader_query_buffers is NULL, the code treated as as non-empty.
Fixes: 792a638b032d "radeonsi/gfx10: implement streamout-related queries"
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16466>
(cherry picked from commit 6515b3b2dc0f4fed6faea8988137d09b0fd67f21)
-
6319554a
by Dylan Baker
at 2022-05-17T10:27:26-07:00
.pick_status.json: Update to 07eba9a15a06ceda3469892822e8b539effc6788
-
4776f076
by Mike Blumenkrantz
at 2022-05-17T10:27:30-07:00
lavapipe: ignore depth/stencil states if attachment is not present
depth and stencil states should only be set if the corresponding attachment
is present, otherwise they should be ignored. this is different from
ignoring the entire VkPipelineDepthStencilStateCreateInfo struct, as
it's possible that only depth or only stencil may be present
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16457>
(cherry picked from commit 0b2d383316af7efa6f970db5b8517a55a32dedf2)
-
9671505f
by Mike Blumenkrantz
at 2022-05-17T10:27:30-07:00
lavapipe: fix pipeline handling for dynamic render zs state with pipeline library
this is slightly more nuanced: if this is ONLY a fragment state,
pDepthStencilState must exist, but if it's BOTH fragment and output,
then pDepthStencilState must only exist if zs attachment is used
Fixes: d4d5a7abba7 ("lavapipe: implement EXT_graphics_pipeline_library")
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16457>
(cherry picked from commit 5f83571f9232a82315d800db7e5ea3ded23ce54c)
-
529c1c2b
by Mike Blumenkrantz
at 2022-05-17T10:27:31-07:00
spirv: fix barrier scope assert
glslang generates barriers with QueueFamily, so this is totally legal
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16462>
(cherry picked from commit 8c8e6e953f0ecb2e7e71a2311e5fc76860a57be8)
-
717d494d
by Pierre-Eric Pelloux-Prayer
at 2022-05-17T10:27:32-07:00
glx: set max values for pbuffer width / height
Without this change the values are always 0. This breaks
Maya which uses this value to create a pbuffer (and then
fails).
This commit is based on b91e1e38e87 which does the same
for EGL.
Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16496>
(cherry picked from commit 8779a5b84cefba11a8644be295973150ab3d630f)
-
fa325e15
by Mike Blumenkrantz
at 2022-05-17T22:45:35-04:00
zink: never create a sw context unless sw is requested
this otherwise makes it impossible to accurately do hardware driver
fallback, as zink will create a sw context instead of failing, superceding
the actual sw driver priorities
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16572>
-
c3c6c221
by xperia64
at 2022-05-17T22:45:35-04:00
wgl: Add driver_zink as a dependency of the wgl frontend
Fixes: 01ed71f9451 ("wgl: support kopper")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16569>
-
fcfbcd00
by Mike Blumenkrantz
at 2022-05-17T22:45:35-04:00
zink: only reject non-blittable resource creation if it has no other binds
the idea here is that if a resource is intended to be used solely as a rendertarget
and can't be blitted to or drawn to, then resource creation should fail
but if the resource might be e.g., a texture, then it can probably hit the subdata
path and be fine
Fixes: 37ac8647fca ("zink: reject resource creation if format features don't match attachment")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
4d27ca64
by Mike Blumenkrantz
at 2022-05-17T22:45:36-04:00
zink: add separate error message for push descriptor set alloc fail
PRO triggers this if input attachments are used
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
73c79f3c
by Mike Blumenkrantz
at 2022-05-17T22:45:36-04:00
zink: add extra validation for resource creation
check image params against driver's returned limits to avoid
failing later
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
5bc14505
by Mike Blumenkrantz
at 2022-05-17T22:45:36-04:00
zink: remove input attachment usage when pruning surface usage
if the format doesn't support color attachment, it doesn't need to
be an input attachment
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
6c790f14
by Mike Blumenkrantz
at 2022-05-17T22:45:36-04:00
zink: add extended usage and retry if resource creation fails
this is one of those cases where some bizarro format is being created
for sampling only, but gallium blasts out all the bind flags at once
trust that we're not going to do anything too crazy and let surface
usage pruning handle the rest
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
d3642a5d
by Mike Blumenkrantz
at 2022-05-17T22:45:36-04:00
zink: fix surface/bufferview cache comparisons
these caches ignore pNext from the create info since the pNext cannot
affect the eventual object that is created, so comparing it will break
the hash table
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
e3fb25da
by Mike Blumenkrantz
at 2022-05-17T22:45:36-04:00
zink: force render target usage for sampler-only resources
these might hit u_blitter later, which will require rt usage
to handle texture views, so add rt usage now to avoid failing later
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
15c79f91
by Mike Blumenkrantz
at 2022-05-17T22:45:36-04:00
zink: clamp 1D_ARRAY sparse textures to 2D as needed
forgot to handle this case
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
b7d48604
by Mike Blumenkrantz
at 2022-05-17T22:45:36-04:00
zink: handle PIPE_BUFFER sparse texture queries
this is legal but was never handled
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
ea55add4
by Mike Blumenkrantz
at 2022-05-17T22:45:37-04:00
zink: fix non-dynamic vertex stride update flagging
without dynamic vertex input, pipeline vertex state must be recalculated
if buffer strides change or the enabled buffer mask changes in order
to accurately handle dynamic state stride VUs
cc: mesa-stable
fixes:
spec@!opengl 1.1@array-stride
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16563>
-
45219933
by Dylan Baker
at 2022-05-18T11:04:08-07:00
.pick_status.json: Update to 29a8f1f03bed317370e07288fd9d4b85a24562e6
-
1c53c943
by Dave Airlie
at 2022-05-18T11:04:11-07:00
meson: add build-id to pipe libraries
Without this the cache setup was crashing with CL and the dynamic
pipe libraries.
Reported and debugged on irc by consolers
Cc: mesa-stable
Acked-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16341>
(cherry picked from commit 74976640b3803d2ac7dab91e7d57d7b6383e06c4)
-
f8ca2e10
by Kenneth Graunke
at 2022-05-18T11:04:28-07:00
iris: Add FLUSH_HDC to PIPE_CONTROL_CACHE_FLUSH_BITS
This is considered a bottom-of-pipe flush bit.
Fixes: a969ad1ddfd ("iris: Demote DC flush to HDC flush in cache tracker")
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16565>
(cherry picked from commit b8799a499e5cd9d97e7efd720548d59a8a33e4f8)
-
9ecbe45f
by Dylan Baker
at 2022-05-18T11:04:31-07:00
.pick_status.json: Mark 07efe6f129956d0cce0fb167d08b5f8af25d0c95 as backported
-
f4201c10
by Dylan Baker
at 2022-05-18T11:04:36-07:00
.pick_status.json: Mark 1c17502ab38a238efe5d9aa4bc0ff07c967adb80 as backported
-
059a8627
by Dylan Baker
at 2022-05-18T11:04:39-07:00
.pick_status.json: Mark b6eec12327b65038dd56742dbe272c21c63a3844 as backported
-
cb2fed99
by Dylan Baker
at 2022-05-18T11:04:42-07:00
.pick_status.json: Mark 7057a363591279c3f65a3c4af41687e6f8142649 as backported
-
3388defe
by Dylan Baker
at 2022-05-18T11:04:43-07:00
.pick_status.json: Mark 9924fecee6412f1cad65d7d7347681856e3a525c as backported
-
84b62db7
by Dylan Baker
at 2022-05-18T11:04:46-07:00
.pick_status.json: Mark 7aee9f12b9c1f17ae2662c8043c8679ce698b731 as backported
-
f743f0b4
by Dylan Baker
at 2022-05-18T11:04:49-07:00
.pick_status.json: Mark 5e4009fe6c91c34a7cdf8c16aa5aa53c3ff41222 as backported
-
e4216412
by Dylan Baker
at 2022-05-18T11:04:51-07:00
.pick_status.json: Mark b18448e7acfc765ee95505c7cd5e2ce6e6fc36cc as backported
-
b8be90b8
by Kenneth Graunke
at 2022-05-18T11:04:53-07:00
Revert "st/mesa: Transcode ASTC to BC7 (BPTC) where possible"
This reverts commit 68ef895674b176b4faf875a4d7f4d787b330d4d9.
When trying out transcode_astc=true with BPTC on Asphalt 9, we observed
very poor image quality - to the point that basic UI icons were blocky,
and buttons with a black border had smeared pixels on the edges. Using
DXT5 had no such issues.
I originally suspected there was a bug in the BPTC encoder, but I now
believe the issue is deeper than that. The commit that introduced the
encoder, 17cde55c538009764207bd29b78a909d2c5d14b4, says:
"The compressor is written from scratch and takes a very simple
approach. It always uses a single mode of the BPTC format (4 for
unorm and 3 for half-floats) and picks the two endpoints by dividing
the texels into those which have more or less than the average
luminance of the block and then calculating an average color of the
texels within each division.
It's probably not really sensible to try to use BPTC compression at
runtime because for example with the Nvidia offline compression tool
it can take in the order of an hour to compress a full-screen image.
With that in mind I don't think it's worth having a proper compressor
in Mesa and this approach gives reasonable results for a usage that
is basically a corner case."
In other words, the reason our BPTC compressor was so fast is that it
only implements one of the modes and does a low quality approximation.
This honestly should probably be improved somewhat, but the original
use case was for online-compression, the uncommon but mandatory OpenGL
feature where you can supply uncompressed data and trust the driver to
compress it for you (at unknown and uncontrolled quality and speed).
Unfortunately, the compressor as it stands is simply not usable for
transcoding ASTC data where we want to preserve the underlying image
quality as much as possible.
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16566>
(cherry picked from commit c54555c496aea12d280ac6e882e81d3d69673e98)
-
8894522f
by Tomeu Vizoso
at 2022-05-18T11:05:48-07:00
ci: Disable jobs to the Collabora lab
In anticipation of infrastructure work.
This commit is to be reverted later in the day.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16576>
(cherry picked from commit 224544dc33c60b933b379eef067058ad31ef7bae)
-
39636a08
by Jonathan Gray
at 2022-05-18T19:00:09+00:00
intel/dev: sync ADL-S pci ids with linux
sync ADL-S pci ids with linux
c79b846f892d ("drm/i915/adl_s: Update ADL-S PCI IDs")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 3cc1efee6f9be11a2243ec4929ac8362197e26d6)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16337>
-
f1b085cd
by Jonathan Gray
at 2022-05-18T19:00:09+00:00
intel/dev: add RPL-S pci ids from drm-intel-next
from Tejas Upadhyay 'drm/i915: Add RPL-S PCI IDs' in drm-intel-next
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 0cfc01fe835fe727e9ff7485fd6b5c8180bfd7b7)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16337>
-
1d60c870
by Dylan Baker
at 2022-05-18T12:30:26-07:00
docs: add release notes for 22.1.0
-
01113c2e
by Dylan Baker
at 2022-05-18T12:30:40-07:00
VERSION: bump for 22.1.0 final