Timur Kristóf
24ccd134a6
ac/nir/cull: Slightly refactor control flow for small primitive culling.
...
Move the NIR control flow out of the cull_small_primitive_triangle
function to make it more readable and follow the other functions.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31973 >
2024-11-22 01:01:35 +01:00
Timur Kristóf
218c824e27
ac/nir/ngg: Trade 1 VALU shift for 2 SALU add.
...
Change the workgroup scan to be inclusive and adjust
the scalar operations after it.
This gets rid of 1 VALU instruction for 2 SALU. Win!
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31973 >
2024-11-22 01:01:31 +01:00
Timur Kristóf
340ec61984
ac/nir/ngg: Don't emit dead code with dot_op.
...
dot_op would be dead code when v_dot instructions are unavailable.
It was originally added there because ACO didn't have an ILP
scheduler yet, but now it does so let's trust it to do its job.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31973 >
2024-11-22 01:01:09 +01:00
Timur Kristóf
b9d2b5e100
radv: Don't flush at the end of each command buffer on GFX6.
...
It should be enough to do this at the end of each submit instead.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31695 >
2024-11-21 23:23:09 +00:00
Timur Kristóf
030a7510ce
radv: Add a flush postamble on GFX6.
...
Create a CS which contains just a cache flush,
that can be used as a postamble in command submissions.
According to RadeonSI code, the kernel flushes L2
before shaders are finished on GFX6.
Previously, RADV always added a flush at the end of
each command buffer. The flush postamble should be
a less wasteful alternative to that.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31695 >
2024-11-21 23:23:09 +00:00
Chia-I Wu
b3adf02b22
panvk: fix dirty check for prepare_blend
...
Add the missing fs_user_dirty and PANVK_CMD_GRAPHICS_DIRTY_RENDER_STATE
checks.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32267 >
2024-11-21 23:02:22 +00:00
Chia-I Wu
e6f0c473ca
panvk: minor clean up to prepare_blend
...
Sort the dirty states and make it clear that we use
panvk_rendering_state.
Constify color_attachment_samples for panvk_per_arch(blend_emit_descs).
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Benjamin Lee <benjamin.lee@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32267 >
2024-11-21 23:02:21 +00:00
Danylo Piliaiev
fc50fb35b0
tu,freedreno: Enable linear mipmap tail for UBWC images
...
There is no point in using UBWC for last small mip levels,
it's an additional overhead for memory and likely less performant.
Additionaly this change fixes multi-planar formats with `noubwc`.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31631 >
2024-11-21 22:28:34 +00:00
Danylo Piliaiev
9fc01ec4df
freedreno/fdl: Pass fd_dev_info to fdl6_layout
...
In the next commit we will need to make a decision about layouts
based on GPU capabilities.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31631 >
2024-11-21 22:28:34 +00:00
Danylo Piliaiev
4ccbc924b5
tu: Enable UBWC for 3D images without mipmaps
...
Many D3D11 games use 3D images writing to them from compute shaders.
Most of such 3D images don't use mipmaps, and in such case enabling
UBWC is trivial.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31631 >
2024-11-21 22:28:34 +00:00
Alyssa Rosenzweig
0aaf174e31
nir/lower_system_values: add ID to 32-bit lowering
...
OpenCL has 64-bit global IDs, but for driver-internal OpenCL we only need
32-bit. Might as well lower in nir_lower_system_values instead of bringing up a
whole new pass just for this.
Will be used for asahi precomp
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32210 >
2024-11-21 21:50:30 +00:00
Aleksi Sapon
f682982e53
zink: spec@arb_tessellation_shader@execution@gs-primitiveid-instanced is fixed
...
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32231 >
2024-11-21 21:10:00 +00:00
Aleksi Sapon
f5379608fe
llvmpipe: spec@arb_tessellation_shader@execution@gs-primitiveid-instanced is fixed
...
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32231 >
2024-11-21 21:10:00 +00:00
Aleksi Sapon
b80d0d8bf4
draw: primitive ID is per-patch
...
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32231 >
2024-11-21 21:10:00 +00:00
Tapani Pälli
c2b7bafd76
intel/dev: lower amount of max gs threads for Wa_18040209780
...
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32245 >
2024-11-21 20:43:38 +00:00
Tapani Pälli
7117e14026
intel/dev: update mesa_defs.json from workaround database
...
Signed-off-by: Tapani Pälli <tapani.palli@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32245 >
2024-11-21 20:43:38 +00:00
Eric Engestrom
2d1e0788d4
ci: bump image tags
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
4facfd6f4d
ci/container: add section around strip-rootfs.sh
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
31a23d9801
ci/lava: add setup-test-env.sh to the rootfs
...
This allows strip-rootfs.sh to use sections, useful in the next commit.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
05b2024c36
ci/container: close debian_{setup,cleanup} sections
...
Allowing users to collapse them without hiding everything.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
b693b704d9
ci/container: add sections around the other build scripts
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
bc59acee8e
ci/container: move wayland build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
b18cb0cb31
ci/container: move vulkan-validation build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
5655a30412
ci/container: move vkd3d-proton build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
b791074f2e
ci/container: move rust build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
bc5ae2e5cb
ci/container: move piglit build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
999cc1a86f
ci/container: move ninetests build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
500c1c2d7c
ci/container: move mold build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
0a7ab7da1a
ci/container: move llvm-spirv build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
0cebd6b097
ci/container: move libclc build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
aba579811b
ci/container: move kdl build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
5bfd49215b
ci/container: move gfxreconstruct build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
493bebb9e9
ci/container: move fossilize build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
a824381408
ci/container: move deqp-runner build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
33ea8d3b81
ci/container: move crosvm build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
07de2140a3
ci/container: move apitrace build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
6551fb6504
ci/container: move deqp build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Caio Oliveira
2bd7592b0b
intel/brw: Add SHADER_OPCODE_BALLOT
...
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31052 >
2024-11-21 19:32:59 +00:00
Dylan Baker
50e7a8ef25
docs: Add calendar entries for 24.3 release.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32283 >
2024-11-21 19:24:32 +00:00
Dylan Baker
94d3415dcb
docs/release-calendar: remove 24.3 RC dates
...
Those are done
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32283 >
2024-11-21 19:24:32 +00:00
Dylan Baker
3b5d135fad
docs/relnotes/24.3.0: Add SHA sums
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32283 >
2024-11-21 19:24:32 +00:00
Dylan Baker
8661ff683a
docs: add release notes for 24.3.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32283 >
2024-11-21 19:24:32 +00:00
Danylo Piliaiev
e1efe655a7
ir3/parser: Add fullnop and fullsync sections for debugging
...
@fullnopstart
some assembly instructions
@fullnopend
Similar to fullnop and fullsync IR3 dbg options, but useful for
bisecting the assembly via shader override to find the problematic
place.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32256 >
2024-11-21 18:45:15 +00:00
Danylo Piliaiev
2ab8eff511
tu/a7xx: Implement VK_KHR_fragment_shading_rate
...
- A650+ - should be able to support pipelineFragmentShadingRate
but in some other way than A7XX. Not implemented here.
- A7XX - support pipelineFragmentShadingRate and attachmentFragmentShadingRate
- A740+ - support primitiveFragmentShadingRate
layeredShadingRateAttachments is unsupported at the moment due to tests
failure, but prop driver supports it.
Passes:
dEQP-VK.fragment_shading_rate.*
On A750/A740
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30905 >
2024-11-21 17:59:09 +00:00
Danylo Piliaiev
117379a77a
ir3,tu: Add support for Fragment Shading Rate and plumb it into Turnip
...
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30905 >
2024-11-21 17:59:09 +00:00
Danylo Piliaiev
2038d363e7
freedreno/registers: Define Fragment Shading Rate registers
...
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30905 >
2024-11-21 17:59:09 +00:00
Ruijing Dong
a53e6ae699
radeosi/vcn: enable EFC for VCN5.0+ when gfx >= 12
...
When gfx version >=12, EFC should be enabled for
VCN5 and plus, in that case DCC is transparent to
VCN engine.
The previous condition for DCC will be invalid, in
that case.
Reviewed-by: David Rosca <david.rosca@amd.com >
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32263 >
2024-11-21 16:14:11 +00:00
Eric Engestrom
db2806cf52
radeonsi/ci: drop two failures that are mysteriously fixed by using mold?
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32046 >
2024-11-21 15:33:31 +00:00
Eric Engestrom
518ccd1ff3
ci: bump image tags
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32046 >
2024-11-21 15:33:31 +00:00
Eric Engestrom
524231d119
ci: when installing mold, make its use automatic
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32046 >
2024-11-21 15:33:31 +00:00