Georg Lehmann
a47c3f84fb
aco: use integer access for neg_lo/neg_hi
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21766 >
2023-03-09 14:15:13 +00:00
Georg Lehmann
60cd3ba39f
aco: copy abs/neg with assignment
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21766 >
2023-03-09 14:15:13 +00:00
Tapani Pälli
5fdbc4a23e
intel/isl: disable TILE64 for YCRCB formats
...
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21723 >
2023-03-09 13:50:39 +00:00
Daniel Stone
fad9c69e42
ci/radv: Drop raven quick_shader load
...
It currently takes ~21 minutes to complete. That's not quick.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21793 >
2023-03-09 09:56:31 +00:00
Eric Engestrom
a19739f1b0
v3dv/ci: add a test to the known failures
...
New test since the 1.3.5 update, and running it on older mesa it would
have always failed, so it's not a regression
-> let's just mark it as a known failure
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21792 >
2023-03-09 09:19:21 +00:00
Emma Anholt
ec513270e3
zink: Pass the cmdbuf to the end of the marker, too.
...
Otherwise the end wanders off to some unrelated cmdbuf.
Fixes: 271ebdd735 ("zink: pass cmdbuf to debug marker begin")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21799 >
2023-03-09 06:53:37 +00:00
David Heidelberg
11a4e10fe2
ci/zink: fixup the zink-lvp job
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8501
Fixes: 4cc0cec473 ("ci: implement unified sections")
Reviewed-by: Emma Anholt <emma@anholt.net>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21796 >
2023-03-09 06:27:39 +00:00
antonino
27c8d6ca7b
drirc: set zink_emulate_point_smooth for Quake II
...
Quake II uses GL_POINT_SMOOTH to render particles.
Zink currently requires `zink_emulate_point_smooth` to support that feature.
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21731 >
2023-03-09 04:38:24 +00:00
antonino
ffe36abf7c
zink: handle point_smooth emulation
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21731 >
2023-03-09 04:38:24 +00:00
antonino
3a59b2a670
nir: handle output beeing written to deref in nir_lower_point_smooth
...
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21731 >
2023-03-09 04:38:24 +00:00
antonino
4b07182c8c
zink/nir_to_spirv: add support for nir_intrinsic_load_point_coord
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21731 >
2023-03-09 04:38:24 +00:00
antonino
e121b6d9eb
zink: add lower_point_smooth to zink_fs_key
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21731 >
2023-03-09 04:38:24 +00:00
antonino
c32a5b8d04
zink: add zink_emulate_point_smooth driconf
...
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21731 >
2023-03-09 04:38:24 +00:00
antonino
e280d6a7c9
zink: fix line smooth lowering
...
Fixes: 80285db9ef ("zink: lower smooth-lines if not supported")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21731 >
2023-03-09 04:38:24 +00:00
Eric Engestrom
5f5e30b5bb
docs: update calendar for 22.3.7
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21795 >
2023-03-09 03:31:23 +00:00
Eric Engestrom
1f61bca5fe
docs/relnotes: add sha256sum for 22.3.7
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21795 >
2023-03-09 03:31:23 +00:00
Eric Engestrom
2488afec11
docs: add release notes for 22.3.7
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21795 >
2023-03-09 03:31:23 +00:00
Dylan Baker
b8b0a0d135
docs/relnotes: add 23.0.0 to relnotes.rst
...
I used an old version of the script to generate the notes, which didn't
generate this. It is being kept separate instead of being squashed so
that the commits on the 23.0 branch and those on main match
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21500 >
2023-03-09 03:25:31 +00:00
Dylan Baker
b687a62566
docs: Add sha256 sum for 23.0.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21500 >
2023-03-09 03:25:31 +00:00
Dylan Baker
882c4ef59b
docs: add release notes for 23.0.0
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21500 >
2023-03-09 03:25:31 +00:00
Dylan Baker
0ad320af12
docs: Add calendar entries for 23.0 release.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21500 >
2023-03-09 03:25:31 +00:00
Eric Engestrom
c28f144c81
osmesa: add exported symbols check
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1308 >
2023-03-09 02:55:49 +00:00
Emma Anholt
8b75b72613
anv+hasvk: Use driconf to disable 16-bit for zink.
...
The HW can technically execute 16-bit operations, but the restrictions on
16-bit ALU ops are so great that it ends up not being a win for
GLES-on-Vulkan to lower mediump to 16-bit operations, at least with the
current state of the Intel compiler. This brings zink-on-anv in line with
iris and angle-on-anv for mediump behavior (ANGLE uses RelaxedPrecision,
which we ignore).
Perf on some angle traces on my brya (ADL) and i9-9900K (CFL):
ADL zink pubg_mobile_battle_royale: +13.4574% +/- 5.2046% (n=5)
CFL zink pubg_mobile_battle_royale: +29.5332% +/- 0.646585% (n=6)
ADL zink aztec_ruins_high: +5.78027% +/- 4.80645% (n=4)
CFL zink aztec_ruins_high: -1.10641% +/- 0.140562% (n=12)
ADL zink trex_200: +5.86956% +/- 2.09633% (n=10)
CFL zink trex_200: +9.72136% +/- 0.749261% (n=10)
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21775 >
2023-03-09 02:27:01 +00:00
Daniel Stone
daa1468b54
intel/isl: Don't scream FINISHME into logs for 3D vs. CCS
...
This would probably be a nice optimisation to have, but it really does
make the CTS logs awful:
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/37692447
Just demote this isl_finishme() to a comment; given it's been unfinished
since 2019, we can probably live without it.
Fixes: 126c9562d9 ("isl: Redefine the CCS layout for Gen12")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21788 >
2023-03-09 01:36:54 +00:00
Daniel Stone
df7b40d002
ci/anv: Temporarily halve TGL testing load
...
Our TGL machines are currently slightly oversubscribed (max. 17 jobs in
a pipeline on 15 DUTs). They're also currently suffering from
thermally-induced GPU throttling (being investigated), and a
thundering-herd network load effect: as all 15 jobs start at once, we
end up saturating one of our network links.
The combination of all three of these things means that TGL is often our
long pole in CI runs. Until we can ameliorate the two issues
constraining throughput (and a third where an unreliable hardware UART
sometimes kills jobs when it shouldn't), halve the workload so we at
least have some breathing room to absorb them.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21790 >
2023-03-09 01:07:36 +00:00
Lionel Landwerlin
b801724352
util: allow align64() to do alignments >= 4Gb
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21757 >
2023-03-08 23:32:37 +00:00
Lionel Landwerlin
9a058f6b4c
radv: use 1ull for alignment computations
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21757 >
2023-03-08 23:32:37 +00:00
Lionel Landwerlin
11bc2bde83
anv: force MEDIA_INTERFACE_DESCRIPTOR_LOAD reemit after 3D->GPGPU switch
...
Seems to fix a hang in the following titles :
- Age of Empire 4
- Monster Hunter Rise
where the HW is hung on a PIPE_CONTROL after a GPGPU_WALKER but no
MEDIA_INTERFACE_DESCRIPTOR_LOAD was emitted since the switch from 3D
to GPGPU.
This would happen in the following case :
vkCmdBindPipeline(COMPUTE, cs_pipeline);
vkCmdDispatch(...);
vkCmdBindPipeline(GRAPHICS, gfx_pipeline);
vkCmdDraw(...);
vkCmdDispatch(...);
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17247 >
2023-03-08 23:09:36 +00:00
Konstantin Seurer
d17bf881ea
radv/rt: Fix updating stack_size if the shader uses scratch
...
src_vars contains the stack_size of the shader that is about to get inlined.
Fixes: 7fadee9b70 ('radv/rt: only reserve stack_sizes after rt_case insertion')
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21768 >
2023-03-08 22:17:00 +00:00
Daniel Stone
3af675dfc1
ci/radv: Skip vkCreateInstance memory-fail test
...
This has been failing a bit ever since CTS 1.3.5.0. Skip it for now.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21789 >
2023-03-08 21:35:27 +00:00
Georg Lehmann
0614c2e8bd
aco: don't reallocate fma{mk,ak,_mix} instruction
...
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21762 >
2023-03-08 18:42:21 +00:00
Georg Lehmann
a4873071e6
aco/optimizer: don't reallocate instruction when converting to VOP3
...
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21762 >
2023-03-08 18:42:21 +00:00
Mike Blumenkrantz
7413ce7e0d
lavapipe: break out main shader lowering into separate function
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21778 >
2023-03-08 18:25:01 +00:00
Mike Blumenkrantz
f2765cd6d6
lavapipe: move uniform inline functions to shader struct
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21778 >
2023-03-08 18:25:01 +00:00
Mike Blumenkrantz
7718d7f31a
lavapipe: rename inline uniform function params
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21778 >
2023-03-08 18:25:01 +00:00
Mike Blumenkrantz
990fa82c61
lavapipe: move xfb init to shader struct
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21778 >
2023-03-08 18:25:01 +00:00
Mike Blumenkrantz
b221f6c128
lavapipe: more small shader struct usage tweaks
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21778 >
2023-03-08 18:25:01 +00:00
Mike Blumenkrantz
a0c9609e59
lavapipe: pass shader struct and layout to scan_pipeline_info()
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21778 >
2023-03-08 18:25:01 +00:00
Mike Blumenkrantz
6e5fe71599
lavapipe: split out shader struct members into their own struct
...
kinda gross but simplifies some code
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21778 >
2023-03-08 18:25:01 +00:00
Mike Blumenkrantz
2af3476639
lavapipe: split out spirv compile of shaders
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21778 >
2023-03-08 18:25:01 +00:00
Mike Blumenkrantz
bf1b4ed54e
vulkan/wsi: fix crash in failed swapchain creation for wayland
...
this otherwise calls wsi_wl_swapchain_chain_free() before the wsi
pointer has been set
ref #6578
cc: mesa-stable
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21563 >
2023-03-08 17:33:00 +00:00
Daniel Schürmann
41ae2d0725
radv/rt: use terminate() when returning from raygen shaders
...
Q2RTX stats:
Totals from 7 (0.01% of 134913) affected shaders:
CodeSize: 204712 -> 204744 (+0.02%); split: -0.06%, +0.07%
Instrs: 37526 -> 37522 (-0.01%); split: -0.07%, +0.06%
Latency: 950563 -> 956024 (+0.57%)
InvThroughput: 187915 -> 188977 (+0.57%)
Copies: 4829 -> 4763 (-1.37%)
Branches: 1570 -> 1583 (+0.83%)
PreSGPRs: 407 -> 400 (-1.72%)
PreVGPRs: 614 -> 617 (+0.49%)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21736 >
2023-03-08 16:59:41 +00:00
Daniel Schürmann
cd1e5b1858
aco: fix NIR infinite loops
...
The previous solution breaks potential loop header phis.
Move the dummy-break to the bottom of the loop.
Fixes: dEQP-VK.reconvergence.subgroup_uniform_control_flow_ballot.*
Fixes: a9c4a31d8d ('aco: handle NIR loops without breaks')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21736 >
2023-03-08 16:59:41 +00:00
Daniel Schürmann
3073810397
nir/gather_info: allow terminate() in non-PS
...
RADV will use terminate() to end ray-tracing shaders.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21736 >
2023-03-08 16:59:41 +00:00
Samuel Pitoiset
842b8f14f4
radv: move device memory related code to radv_device_memory.c
...
radv_device.c is getting too big.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21767 >
2023-03-08 16:21:10 +00:00
Samuel Pitoiset
4316a64e27
radv: move buffer related code to radv_buffer.c
...
radv_device.c is getting too big and this follows the Vulkan common
runtime infrastructure.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21767 >
2023-03-08 16:21:10 +00:00
Samuel Pitoiset
17c5a91028
radv: move event related code to radv_event.c
...
radv_device.c is getting too big.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21767 >
2023-03-08 16:21:10 +00:00
Samuel Pitoiset
4de305cb8a
radv: move sampler related code to radv_sampler.c
...
radv_device.c is getting too big and this follows the Vulkan common
runtime infrastructure.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21767 >
2023-03-08 16:21:10 +00:00
Samuel Pitoiset
7a157b3a4c
radv: move queue related code to radv_queue.c
...
radv_device.c is getting too big and this follows the Vulkan common
runtime infrastructure.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21767 >
2023-03-08 16:21:10 +00:00
Samuel Pitoiset
4e5db63482
radv: move physical device related code to radv_physical_device.c
...
radv_device.c is getting too big and this follows the Vulkan common
runtime infrastructure.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21767 >
2023-03-08 16:21:10 +00:00