Mesa (21.3): 43 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jan 26 18:59:03 UTC 2022
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=112de3a07a2c24ad2bd647c8266c18db141da24a
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Jan 26 18:36:23 2022 +0000
VERSION: bump for 21.3.5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c4f2f1eb811ea644ab1afd55b6b2f1fde18b96a
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Jan 26 18:36:17 2022 +0000
docs: add release notes for 21.3.5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=371727f3a7b166009675341290622a6380c272bf
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Jan 20 15:46:49 2022 -0800
freedreno/a5xx: Fix clip_mask
The clip_mask needs to also take into account rast->clip_plane_enable
Fixes: 99838513aee ("freedreno/a5xx: Add support for clip distances and use them for userclip.")
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14643>
(cherry picked from commit 2dfebf34874b5365156d254c2c1ba2ecc5262deb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea7aac8a3a27a477498dffbb294e09419f691bdf
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Jan 20 15:32:34 2022 -0800
freedreno/a6xx: Fix clip_mask
The clip_mask needs to also take into account rast->clip_plane_enable
Fixes: f2ae8d116ab ("freedreno/a6xx: Implement user clip/cull distances")
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14643>
(cherry picked from commit d26cdfac2c43e84c1a21fb7614939bf5b1b3ba03)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6887c3c4f251bda868b45be1d584b912c390fdf
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Jan 20 18:11:46 2022 -0800
freedreno: Add FD_DIRTY_RASTERIZER_CLIP_PLANE_ENABLE
Add a dirty bit for clip_plane_enable changes.
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14643>
(cherry picked from commit 5e2bd30ea4c0f570c99d58490ace2ae3a3bd5e44)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c986203781a2d01375e9ec6a254105abc0481cb
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Jan 20 15:24:18 2022 -0800
freedreno: Pass shader cache key instead of shader key
We are going to need to extend the cache key to add state that effects
the program stateobj, but not necessarily the shader itself (ie. so
ir3_shader_key wouldn't be the correct place to add it).
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14643>
(cherry picked from commit c190356040f5bba4ea8f5b362c53a4668679c025)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=935e5fce5ea01fcb5d80ec15df9f27e7c51ac8f8
Author: Rob Clark <robdclark at chromium.org>
Date: Fri Jan 21 08:58:07 2022 -0800
mesa/st: Lowered ucp should still mark rast state dirty
Lowered clip planes should respect the enabled/disabled GL_CLIP_PLANEn
(aka GL_CLIP_DISTANCEn), which means updating the rast state as well.
Signed-off-by: Rob Clark <robdclark at chromium.org>
Acked-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14643>
(cherry picked from commit 26d591a6695d20ca912c7a1c4e115a77cae094ce)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=12beba1f71b64827f2f00f68fde03ab05da8bdb5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Dec 6 15:42:01 2021 -0800
iris: Fix and refactor check for clear color being fully zero
I missed updating this code to check res->aux.clear_color_unknown when
I added it a while back. While we're here, also refactor this code into
a helper function - I'll want to use it in another place shortly.
Fixes: e83da2d8e3b ("iris: Don't try to CPU read imported clear color BOs")
Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14687>
(cherry picked from commit 09072a08030061f16b290984305e4ba09e2ad3fe)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=102b83d77d8b4edef367eaed5b6040c8fc0ba003
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Thu Jan 20 12:18:24 2022 +0200
mesa: move GetProgramInterfaceiv as a shader_query function
This matches how _mesa_get_program_resourceiv was done and this
makes it possible to skip some validation and shader program lookup
when calling it from glGetProgramiv.
Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14636>
(cherry picked from commit 1b898d78d8d809dfd01a47aae6da355d4b820e84)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=36bc6e18a2e0ea587357c40d2352ac5d2b72bfb0
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Tue Jan 18 09:38:18 2022 +0200
mesa: refactor GetProgramiv to use program resource list
This way we make sure glGetActiveUniform and glGetProgramiv
are in sync about active uniform count.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5885
Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14589>
(cherry picked from commit 521ede8451df846045d7bc41f44311ace2fddbb5)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbd47b9d4368c75783a8cec6497f39845d9efb19
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Sat Jan 15 09:48:02 2022 -0500
panfrost: Only cull polygons
The spec says only polygons, not points/lines, should be culled when
culling is enabled. The hardware does not make this distinction, so we
have to.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reported-by: Icecream95 <ixn at disroot.org>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14575>
(cherry picked from commit 1e5bb54f597509dbae440f6fbe6739f198a243cb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5ff627603613c4d0771e5ffd1847dc0de7b6047
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Sat Jan 15 09:45:26 2022 -0500
panfrost: Use u_reduced_prim for primitive checks
Use a Gallium helper that papers over the differences between primitive
types, as required by hardware operation.
[Cc'd to mesa-stable for use in the next commit.]
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14575>
(cherry picked from commit 3f1abda631f6f98cd48858728db22c874124a858)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f15d2c8d3a2b37d57fe2f018dd4566bfde9b31bb
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Sun Jan 23 23:43:49 2022 +0100
util/fossilize_db: Fix double free in error handling.
If the file ptr is not NULL then foz_destroy will also try to destroy it.
Fixes: eca6bb9540d ("util/fossilize_db: add basic fossilize db util to read/write shader caches")
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14671>
(cherry picked from commit 51416b1a120e7763ab5cae0dc79031a037023783)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2143a663da42fe18142e7d651d697f5cd5715d14
Author: Alejandro Piñeiro <apinheiro at igalia.com>
Date: Wed Jan 12 23:01:46 2022 +0100
vulkan: return default string for undefined enum
Instead of a unreachable.
This would avoid an assert on debug builds that uses vkfoo_to_str to
print structure types. This will become more common as some tests will
start to use VK_STRUCTURE_TYPE_MAX_ENUM to mark structures from
unsupported extensions more often.
v2 (Jason):
* Include enum name on the default message
* Handle MAX_ENUM as a special case
v3 (Jason):
* vk_ObjectType_to_ObjectName don't need to use ${enum.name}
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14525>
(cherry picked from commit 821c66e50cdaf89ca3e0282967fa17c6fd666308)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=83011a92261cd80fd1ac1b5e87e7d818abfe2458
Author: Charles Baker <charles at juicelabs.co>
Date: Fri Dec 10 09:22:28 2021 +1300
zink: Output PackHalf2x16 to uint not float
Fixes InconsistentSpirv validation errors reporting that PackHalf2x16
outputs uint rather than float.
For example the previous code generates the following SPIR-V with
PackHalf2x16 output as a float:
%2018 = OpExtInst %float %1 PackHalf2x16 %2017
%2019 = OpBitcast %uint %2018
The new code generates:
%2018 = OpExtInst %uint %1 PackHalf2x16 %2017
%2019 = OpBitcast %uint %2018
cc: mesa-stable
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14568>
(cherry picked from commit 985dae7f41b7f3454793fdcc11cdfb942f26ea55)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f85939fa865fb0ec868d6c8eb1bd6682849bd7d3
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Tue Jan 18 11:50:37 2022 +0100
mesa: use less temporaries in build_lighting
Preallocating temporaries can cause "out of temporaries" error.
Switch to on-demand allocation.
Growing temp_in_use would be an alternative, but some drivers
support less than 64 temps (see PIPE_SHADER_CAP_MAX_TEMPS) so
this wouldn't help them.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5777
Fixes: 272acbed0e2 ("mesa: merge STATE_LIGHTPROD parameters")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14590>
(cherry picked from commit 3b4d4c7d8418c40000e25ecbda99f6a10d089b8c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=823a0471980ce42382c12510bea0af75753d961d
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Wed Jan 19 12:10:49 2022 +0100
driconf: enable vs_position_always_invariant for Dirt Rally
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5648
Reviewed-by: Emma Anholt <emma at anholt.net>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14614>
(cherry picked from commit 4e4a2d0f97f3c8a57438133b48346d9fadce6210)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec6eaf7adfe81b307616058a69fb7d303ee44044
Author: Pavel Ondračka <pavel.ondracka at gmail.com>
Date: Wed Jan 19 15:43:11 2022 +0100
r300: properly initialize new_vs in r300_draw_init_vertex_shader
Fixes the following valgrind warnings:
Conditional jump or move depends on uninitialised value(s)
at 0x5D1298C: draw_pt_so_emit_prepare (draw_pt_so_emit.c:95)
by 0x5D89FD7: llvm_middle_end_prepare (draw_pt_fetch_shade_pipeline_llvm.c:319)
by 0x5D13BFF: vsplit_prepare (draw_pt_vsplit.c:229)
by 0x5D0D5D8: draw_pt_arrays.isra.0 (draw_pt.c:124)
by 0x5D0DA08: draw_instances (draw_pt.c:484)
by 0x5D0DEB9: draw_vbo (draw_pt.c:610)
by 0x5E847D6: r300_swtcl_draw_vbo (r300_render.c:901)
by 0x5D67125: u_vbuf_draw_vbo (u_vbuf.c:1470)
by 0x5CFCAD3: cso_multi_draw (cso_context.c:1639)
by 0x58FEC37: st_draw_gallium (st_draw.c:186)
by 0x5A486BA: _mesa_draw_arrays.part.0 (draw.c:1323)
by 0x48B4E27: stub_glDrawArrays (piglit-dispatch-gen.c:12421)
Uninitialised value was created by a stack allocation
at 0x5E90D3F: r300_draw_init_vertex_shader (r300_vs_draw.c:313)
Conditional jump or move depends on uninitialised value(s)
at 0x5D175D9: draw_create_vertex_shader (draw_vs.c:70)
by 0x5E90E7A: r300_draw_init_vertex_shader (r300_vs_draw.c:366)
by 0x5E8751F: r300_create_vs_state (r300_state.c:1950)
by 0x594453B: st_create_common_variant (st_program.c:888)
by 0x594720C: st_get_common_variant (st_program.c:973)
by 0x59484B6: st_precompile_shader_variant (st_program.c:1994)
by 0x59484B6: st_finalize_program (st_program.c:2056)
by 0x58F0571: st_program_string_notify (st_cb_program.c:128)
by 0x5928C9B: st_link_tgsi (st_glsl_to_tgsi.cpp:7514)
by 0x5904B53: st_link_shader (st_glsl_to_ir.cpp:178)
by 0x58D3E08: _mesa_glsl_link_shader (link_program.cpp:91)
by 0x58865C7: link_program (shaderapi.c:1363)
by 0x58865C7: link_program_error.part.0 (shaderapi.c:1474)
by 0x48DBC5A: stub_glLinkProgram (piglit-dispatch-gen.c:34426)
Uninitialised value was created by a stack allocation
at 0x5E90D4F: r300_draw_init_vertex_shader (r300_vs_draw.c:313)
Based on Filip Gawin's
r300: set new_vs.type to PIPE_SHADER_IR_TGSI
CC: mesa-stable
Reviewed-by: Emma Anholt <emma at anholt.net>
Signed-off-by: Pavel Ondračka <pavel.ondracka at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14620>
(cherry picked from commit b5b105df96d705e5d0bc381c681be4d8120d815f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c51e9667219718f73b19327ebaab260494730b9
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 18 16:30:37 2022 -0800
intel/fs: Fix gl_FrontFacing optimization on Gfx12+
It's not obvious why the (gl_FrontFacing ? -1.0 : 1.0) case was handled
different for Gfx12+ than for previous generations, and it's not
correct. It tries to negate the result as an integer, and it does this
before the mask operation that clears the other bits in the value.
When we eventually support dual-SIMD8 dispatch, the other front-facing
bit is in g1.6 at bit 15, so similar code should be possible there.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Fixes: c92fb60007f ("intel/fs/gen12: Implement gl_FrontFacing on gen12+.")
Closes: #5876
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14625>
(cherry picked from commit 945fb51fb59d52223b5c0fe90c37d1cba42eb53c)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=107c8232e01aaeed531a4249a5a78610d9171f60
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jan 7 12:58:06 2022 -0500
zink: stop allocating such massive staging regions for buffer maps
this would allocate a new stream uploader for every map if the offset was
large (e.g., all sparse buffer usage), which almost immediately consumes all vram
cc: mesa-stable
fixes KHR-GL46.CommonBugs.CommonBug_SparseBuffersWithCopyOps
Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14381>
(cherry picked from commit d83b52928c46089c16145f8d8c56fcb0c49dbeda)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=089a957befa992e8414bcd407bf434ae974a1d30
Author: Emma Anholt <emma at anholt.net>
Date: Wed Jan 19 15:28:10 2022 -0800
softpipe: respect !independent_blend_enable for color masks.
blend_buf is the resolved "are we using independent blending?" index, cbuf
is the RT we're drawing to.
Cc: mesa-stable.
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14627>
(cherry picked from commit 263faa3dfbf6bc55854b4123ce9d225b8f17266e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec2e78b3ff11ef33303b1ff6078ca760e1e1ece1
Author: Stefan Brüns <stefan.bruens at rwth-aachen.de>
Date: Fri Jan 14 13:49:49 2022 +0100
llvmpipe: Add get_{driver,device}_uuid implementations
Commit 9da15aa3aa94 ("llvmpipe: enable EXT_memory_object(_fd)") enabled
the extension, but left this unimplemented.
Leaving this unimplemented causes segfaults for anyone trying to retrieve
the UUIDs, as the calling code in the state tracker does not check if the
function is implemented. This affects e.g. current Wine versions.
Set the UUID to all zeros. Although this slightly violates the vulkan
specification (since 1.2.146), the UUIDs have to match the ones from
lavapipe (lvp_get_physical_device_properties_1_1).
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5865
Fixes: 9da15aa3aa94 ("llvmpipe: enable EXT_memory_object(_fd)")
Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>
Reviewed-by: Dave Airlie airlied at redhat.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14558>
(cherry picked from commit 537a0ee3b7f836564f5b4c05da7b13a27b226c46)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7a52a16cfff6942b9d2adffb6cd3be1786d848a
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Mon Jan 17 14:02:30 2022 +0200
anv: fix missing descriptor copy of bufferview/surfacestate content
When doing copies of descriptors from one set to another, that contain
either a UNIFORM_BUFFER or STORAGE_BUFFER, both the buffer view &
surface state are allocated from the source descriptor. Therefore we
need to copy their content otherwise we could run into lifecycle
issues when the source descriptor is destroyed.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14585>
(cherry picked from commit acebea9cf1f8ce2e71f6cd3404d3a2760a2efc66)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85c655f94614601f7bab8357b84804134b0b567a
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 18 10:26:59 2022 -0500
zink: check EXT_image_drm_format_modifier for dmabuf support
probably fixes https://gitlab.freedesktop.org/mesa/mesa/-/issues/5836
cc: mesa-stable
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14595>
(cherry picked from commit 29cb1c7c1388269cfce136edf7035c22941d7ed4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=44bfdb08fb46ea87c2ad6e89b7c85c8770640a0f
Author: Qiang Yu <yuq825 at gmail.com>
Date: Fri Jan 7 17:37:27 2022 +0800
nir: fix nir_tex_instr hash not count is_sparse field
This fixes nir_opt_cse miss replace a non-sparse tex instruction
with a sparse tex instruction and fail the nir_validate_shader().
Fixes: 3a7972f72a53 ("nir,spirv: add sparse texture fetches")
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Qiang Yu <yuq825 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14362>
(cherry picked from commit 2cee73f0f73c3a33b84ff36768ced6959f6dee99)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a579039ccce056ef144c17ab0b48043d234a8d1
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Fri Jan 14 13:41:55 2022 +0000
nir/unsigned_upper_bound: don't follow 64-bit f2u32()
Fixes Doom Eternal crash.
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Fixes: 72ac3f60261 ("nir: add nir_unsigned_upper_bound and nir_addition_might_overflow")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14555>
(cherry picked from commit d95a0b52e45f8c16e72bdcad99ad02ccca1756c3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7684b11e2bc42e3f78f9ec8717b8bea6ed58751
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Sat Jan 15 15:24:17 2022 -0500
pan/bi: Schedule around blend shader register clobbering
By software ABI, a blend shader is permitted to clobber registers
R0-R15. The scheduler needs to be aware of this, to avoid moving a write
to one of these registers past the BLEND itself. Otherwise the schedule
is invalid.
This bug affects GLES3.0, but is rare enough in practice that we had
missed it. It requires a fragment shader to write to multiple render
targets with attached blend shaders, and have temporaries register
allocated to R0-R15 that are not read by the blend shader, but are sunk
past the BLEND instruction by the scheduler. Prevents a regression when
switching boolean representations on:
dEQP-GLES31.functional.shaders.builtin_functions.integer.uaddcarry.uvec4_lowp_fragment
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14577>
(cherry picked from commit b8d37eb1bb99b795d370634a8eadcf83cf5a9d7d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=448da15129f1854aabf467ac656c3a42f879974a
Author: Lepton Wu <lepton at chromium.org>
Date: Fri Jan 14 09:57:42 2022 -0800
driconf: Fix unhandled tags in static conf
A rule with executable_regexp tag would match every executable
without this fix and force_glsl_extensions_warn would be always
set to true which breaks some dEQP tests.
Fixes: 5740ac37014 ("xmlconfig: Add static driconfig support")
Reviewed-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14562>
(cherry picked from commit d15021435ed546de89668976bdbebc9f9ea200f4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4fb2974de959337acccfef5e4a07eb878117b0f
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Jan 14 11:03:34 2022 +0200
intel/fs: disable VRS when omask is written
As indicated by
VkPhysicalDeviceFragmentShadingRatePropertiesKHR::fragmentShadingRateWithShaderSampleMask
our implementation will clamp to 1x1 when reading samplemask or
writing to samplemask.
This fixes vkd3d-proton tests test_sample_mask_dxbc & test_sample_mask_dxil
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: b6332fc4a8ae58 ("intel/compiler: handle coarse pixel in render target writes descriptors")
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14553>
(cherry picked from commit 30a8b8d2df466100aabe0efcf09af714246b2fb3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3226c6e95bb7007e2ebef436e2bb2495806bd5c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Jan 12 15:26:22 2022 -0500
zink: remove SpvMemorySemanticsMakeVisibleMask from nir_intrinsic_memory_barrier
this is invalid since vk memory model isn't used
cc: mesa-stable
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14540>
(cherry picked from commit f0eb07f98fff0728b9693bf8f136c3edfe785922)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e91c5034a748f1197c2f718664621a78cf4bb532
Author: Carsten Haitzler <carsten.haitzler at foss.arm.com>
Date: Wed Jan 12 15:36:13 2022 +0000
panfrost: Don't double-free when handling error for unsupported GPU
Setting the screen ro member before we checked gpu id means the error
case leads to a double-free because screen->ro is set and allocated
by parent who hanbdles de-alloc a second time after we destroyed the
screen we just created because ro was set.
Cc: mesa-stable
Signed-off-by: Carsten Haitzler <carsten.haitzler at foss.arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14516>
(cherry picked from commit 874f4095c5587becf2dc72d9d89bba34eae39112)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0e7882abd60781ca3cc7001347d25c11bdba81f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Jan 10 12:07:50 2022 -0500
util/vbuf: fix buffer translation sizing
the original change here attempted to fix calculating the maximum bound for the
mapped readback buffer by adding the maximum attribute size to the final element
used by readback
the calculation was erroneous, however, because it instead calculated the maximum
offset instead of the size, which would cause a different kind of overrun
Fixes: 3c5b7dca30e ("util/vbuf: fix buffer overrun in attribute conversions")
fixes #5846
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14479>
(cherry picked from commit 596d2ab0ade9c1712cb25a89b66c980ff0f2eb92)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb025625e16de386c9f2992616f3397768a8d895
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Jan 10 11:04:11 2022 -0500
aux/trace: copy over stream_output_target_offset method from context
this can't be traced, so don't crash
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14481>
(cherry picked from commit 01709464a4cc142e69d8e1a9893dbabcec7af260)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc8bc2d307637df46b65e24eebd66ecbe7e5c4c6
Author: Yiwei Zhang <zzyiwei at chromium.org>
Date: Tue Jan 11 22:01:22 2022 +0000
venus: VkExternalImageFormatProperties is optional
It's optional even if VkPhysicalDeviceExternalImageFormatInfo is there.
Fixes: 108f386a612 ("venus: initial support for VkPhysicalDevice commands")
Signed-off-by: Yiwei Zhang <zzyiwei at chromium.org>
Reviewed-by: Chia-I Wu <olvaffe at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14503>
(cherry picked from commit 17b753459ec0bfce490ee83e72d6dd6a29b4bf52)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=709fd542be103173180c79c936ffe0e525c4a1a0
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Jan 5 11:05:13 2022 -0500
zink: use even more accurate stride values for query result copies
this shouldn't be used at all, but some drivers get it wrong and I don't want
to have to fix every driver
Fixes: 039ed2de94d ("zink: always use type size for query result copy stride")
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14397>
(cherry picked from commit d3bb5b5dd18e65dd70177082c0f70c2b51d52d1d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd8a5ae4d8d20199dd93aaec5fbcfa66a94b4d3c
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 4 13:06:38 2022 -0500
Revert "zink: when performing an implicit reset, sync qbos"
this appeared to fix some sort of bug related to preserving qbo data,
but really there shouldn't have been any sort of bug anyway since the qbos
all get read back, and thus the data is already preserved
instead, it just preserved the query id, which overloaded the pools and crashed
This reverts commit 79790e276f61f23217badd80c51add755dfe18ac.
fixes #5669
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14397>
(cherry picked from commit 2fa1bf60d63ed5d08e296a6ecfc4122d4c3dcb71)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=48174fea161676f9b2fe1712708c9f1477fb05f7
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Jan 4 13:04:07 2022 -0500
zink: skip readback of qbos with no results
this is a no-op and also crashes
Fixes: 93190be1b99 ("zink: rewrite query internals")
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14397>
(cherry picked from commit b7a4faea9b4191e66aaa3bbf43c763aab5678ce3)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f36373e072d154450664f137f97e7a8d88b61005
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jan 7 09:44:34 2022 -0500
zink: fix availability buffer sizing/copying for xfb queries
xfb queries have 2 results, and the availability bit is a 3rd result, so
the buffer size has to be at least that big and the copy offset has to reflect
the number of xfb results in the src offset
cc: mesa-stable
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14397>
(cherry picked from commit f8d2770737add73ba41e424339b69421e336cda1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9b0864420c846705d8a7fb89914df97e8b1004b
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jan 7 09:41:44 2022 -0500
zink: always set number of timestamp results to 1 for internal qbo
timestamp queries don't accumulate results
Fixes: 93190be1b99 ("zink: rewrite query internals")
Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14397>
(cherry picked from commit bf9ac4dfcd54f4cc164851af32845b978282e8e2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=834af3f195db821b460ed887f6039c22cc2f0c47
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sun Jan 23 21:27:25 2022 +0000
.pick_status.json: Mark 58a843ab14e0eecf044a35154da72cdf7ab6f15a as denominated
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=74cb10a29023cd0a274401cdeba4e29fa7c145e2
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sun Jan 23 21:27:25 2022 +0000
.pick_status.json: Mark d1530a3f3b1625baa42e84cba9844b6eb4ac76ce as denominated
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc3c71437e627deec5ccda05d1a07abff369ca71
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sun Jan 23 21:27:24 2022 +0000
.pick_status.json: Mark 1b88777e97f635612c560a2f00d349ea271581b1 as denominated
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2ec8bd740b0a6577a30005832e115f40c1c8c7e
Author: Eric Engestrom <eric at engestrom.ch>
Date: Wed Jan 12 23:36:59 2022 +0000
.pick_status.json: Update to 06504fb9e2382e43b889fd6ca642bb785b544d4d
More information about the mesa-commit
mailing list