Jesse Natalie
c8bd830dfb
microsoft/compiler: Fix make_double and split_double to respect swizzles
...
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Reviewed-By: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837 >
2022-02-04 00:07:53 +00:00
Jesse Natalie
92191349e9
microsoft/compiler: Fix splitdouble struct name
...
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Reviewed-By: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837 >
2022-02-04 00:07:53 +00:00
Jesse Natalie
dde3b04d44
microsoft/compiler: It's possible to have doubles without int64
...
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Reviewed-By: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837 >
2022-02-04 00:07:53 +00:00
Jesse Natalie
3b9483e89d
microsoft/compiler: Add never-supported double ops to lower_doubles bitmask
...
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Reviewed-By: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837 >
2022-02-04 00:07:53 +00:00
Jesse Natalie
ce6dbbabf9
microsoft/compiler: Only treat tess level location as special if it's a patch constant
...
Fixes: a550c059 ("microsoft/compiler: For load_input from DS, use loadPatchConstant")
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Reviewed-By: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837 >
2022-02-04 00:07:53 +00:00
Jesse Natalie
0c711dc823
microsoft/compiler: Only prep phis for the current function
...
Fixes: 41af9620 ("microsoft/compiler: Emit all NIR functions into the DXIL module")
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Reviewed-By: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837 >
2022-02-04 00:07:53 +00:00
Jesse Natalie
87d22c2465
microsoft/compiler: Lower mul_2x32_64
...
Reviewed-by: Bill Kristiansen <billkris@microsoft.com >
Reviewed-By: Sil Vilerino <sivileri@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837 >
2022-02-04 00:07:53 +00:00
Emma Anholt
a177f0de8f
ci: Uprev vulkan-cts to 1.2.8.0
...
This brings in some interesting new vulkan tests and fixes for the
spurious KHR-GL TF failures. Also, reduces the runtime of
dEQP-GLES31.functional.ssbo.layout.random.all_shared_buffer.36 so that it
should stop timing out.
Acked-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13779 >
2022-02-03 22:41:23 +00:00
Emma Anholt
3ce19d2db2
llvmpipe: Disable an assertion that may not be quite right.
...
It triggered on uprevving VK-GL-CTS, and @airlied says it's tripped
apparently spuriously before. There seems to be some interesting logic
behind it, so leave the big comment for whoever can revisit the issue some
day.
Acked-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13779 >
2022-02-03 22:41:23 +00:00
Emma Anholt
6c2f6cd86f
ci/i915: Update rendering hash for plot3d trace.
...
Its rendering changed slightly at some point, but it's fine.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13779 >
2022-02-03 22:41:23 +00:00
Emma Anholt
940b9ff6c9
ci/freedreno: Reduce concurrency for a618 vk_full.
...
This ran into OOM-kills with the CTS uprev. Looking at caselists at the
time of fail, some had 500MB of system memory used by the CTS (mostly
spirv string codegen), plus whatever BOs were allocated, and the lazors
are only 4GB it looks like.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13779 >
2022-02-03 22:41:23 +00:00
Emma Anholt
5039fc3dc7
ci/turnip: Extend the full-vk-run job timeouts.
...
Between adding features and increased test coverage, we're hitting the
1-hour job limit. !13441 tried to increase the full run timeout for LAVA,
but by having not bumped the gitlab-ci timeout value it ended up just
letting the job keep running in LAVA after gitlab had given up on it.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13779 >
2022-02-03 22:41:23 +00:00
Emma Anholt
47d0e63c59
ci/freereno: Reduce run-by-default a630-vk coverage.
...
In the autotune merge, we added another 1/15th run of a configuration
knob, thinking that was small enough to be in the noise. But actually the
main run is only 1/9th, so another 1/15th took us from nearly hitting the
job runtime target, to totally missing it. Crank things back down to keep
MRs flowing.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13779 >
2022-02-03 22:41:23 +00:00
Emma Anholt
4f22f4ca1a
r300: Simplify DCE by assuming all output writes are used.
...
No change on shader-db.
Reviewed-by: Matt Turner <mattst88@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14847 >
2022-02-03 14:28:46 -08:00
Emma Anholt
17cea74b8c
r300: Set up shadow sampler lowering in precompiles.
...
Otherwise you end up lowering all shadow samples to a MOV dst
temp[0].0000, which is pretty silly.
Reviewed-by: Matt Turner <mattst88@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14847 >
2022-02-03 14:28:44 -08:00
Emma Anholt
5f55e7b845
r300: Fix missing \n in an error message.
...
Reviewed-by: Matt Turner <mattst88@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14847 >
2022-02-03 14:28:41 -08:00
Mike Blumenkrantz
41ed470f6f
zink: add synchronization for conditional render buffer
...
doesn't seem to do anything on any drivers I've tested, but maybe it's
needed somewhere
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14853 >
2022-02-03 19:15:26 +00:00
Mike Blumenkrantz
1e96542390
zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds
...
required by spec
cc: mesa-stable
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14853 >
2022-02-03 19:15:26 +00:00
Rhys Perry
0447a2303f
aco: don't encode src2 for v_writelane_b32_e64
...
Encoding src2 doesn't cause issues for print_asm() because we have a
workaround there, but it does for RGP and it seems the developers are not
interested in fixing it.
https://github.com/GPUOpen-Tools/radeon_gpu_profiler/issues/61
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Tested-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14832 >
2022-02-03 16:52:00 +00:00
Rhys Perry
5e3b8eeac4
aco: add test for optimizations with casts
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14810 >
2022-02-03 16:02:04 +00:00
Rhys Perry
6b1dfa7eac
aco: fix neg(mul)/abs(mul) optimization with different bit-size
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14810 >
2022-02-03 16:02:04 +00:00
Rhys Perry
13bbc7c882
aco: don't combine add/mul of different bit-size
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14810 >
2022-02-03 16:02:04 +00:00
Rhys Perry
3d8a8c6fc1
aco: don't apply omod/clamp of different bit-size
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14810 >
2022-02-03 16:02:04 +00:00
Rhys Perry
7e30f99b0a
aco: don't combine fneg/fabs of different bit-size
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14810 >
2022-02-03 16:02:04 +00:00
Rhys Perry
27f1f5537d
aco/tests: implement sub-dword program inputs
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14810 >
2022-02-03 16:02:04 +00:00
Rhys Perry
e86b88f85b
aco/tests: add a bunch more building helpers
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14810 >
2022-02-03 16:02:04 +00:00
Alyssa Rosenzweig
1410d150e7
panfrost: Fix texel interleave flag on Valhall
...
Interleave mode specified per-plane on Valhall. The texture descriptor proper
merely has a flag specifying whether planes are somehow interleaved
(u-interleaved, AFBC, or block compressed formats) or whether they are all
linear (and uncompressed).
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14851 >
2022-02-03 15:43:27 +00:00
Alyssa Rosenzweig
3bf34a1494
panfrost: Add remaining ZS/CRC XML
...
Flesh out the ZS/CRC XML, adding fields required for AFBC. Valhall allows AFBC
compressing stencil buffers independent of depth buffers, which is a new feature
since Bifrost. That results in a shuffling of the descriptor.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14851 >
2022-02-03 15:43:27 +00:00
Alyssa Rosenzweig
bfba7533c7
panfrost: Add Valhall Plane Descriptor XML
...
This looks superficially like the Bifrost "Surface" descriptor, but it
additionally specifies the in-memory representation of blocks (clumps). If I
understand correctly, decompression is controlled by the plane descriptor,
rather than the texture descriptor level. This is a bit more flexible than
Bifrost.
Once the new fields here are wired up to Mesa, my
dEQP-GLES2.functional.texture.* failures should go away... I hope!
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14851 >
2022-02-03 15:43:27 +00:00
Alyssa Rosenzweig
c34381d8e8
panfrost: Fix alignments on Valhall
...
Otherwise we get DATA_INVALID_FAULT trying to run even trivial null jobs. For
each descriptor, set the correct alignment.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14851 >
2022-02-03 15:43:27 +00:00
Alyssa Rosenzweig
a98f0e280e
panfrost: Remove blend shader return value on v9
...
Removed since there's a new ABI for blend shaders. Even if we always write 0,
it's better not to pack this at all, and to denoise the dumps.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14851 >
2022-02-03 15:43:27 +00:00
Alejandro Piñeiro
5d8c659678
v3d/drm-shim: remove drm-shim driver
...
After starting to use a new version of the simulator, it got
outdated.
We made some initial effort to update it, but it was not
working. Taking into account that no one is using it, it is better to
just remove it.
We keep the noop drm drivers, as they could have some value for
developers that doesn't have access to the v3dv3 simulator.
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14682 >
2022-02-03 09:53:29 +00:00
Shirish S
6f17d8acc9
radeonsi: allocate protected buffer only if required
...
protected buffer allocations need to be made if the context is secure
Signed-off-by: Shirish S <shirish.s@amd.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14848 >
2022-02-03 10:34:12 +01:00
Pierre-Eric Pelloux-Prayer
eaa87b1a46
radeonsi: limit loop unrolling for LLVM < 13
...
Without this change LLVM 12 hits this error:
"""
LLVM ERROR: Error while trying to spill SGPR0_SGPR1 from class SReg_64:
Cannot scavenge register without an emergency spill slot!
"""
when running glcts KHR-GL46.arrays_of_arrays_gl.AtomicUsage test.
Fixes: 9ff086052a ("radeonsi: unroll loops of up to 128 iterations")
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14848 >
2022-02-03 10:34:12 +01:00
Samuel Pitoiset
52c850445e
radv: stop setting streamout state when a new pipeline is bound
...
It's required to have a valid graphics bound pipeline with XFB when
vkCmdBeginTransformFeedbackKHR() is called. This removes extra work
when binding a pipeline.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14610 >
2022-02-03 07:57:07 +00:00
Iago Toral Quiroga
7561ea8fa1
broadcom/compiler: allow ldunifa with read-only SSBOs
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14830 >
2022-02-03 07:35:07 +00:00
Iago Toral Quiroga
0a8449b07c
broadcom/compiler: fix offset alignment for ldunifa when skipping
...
The intention was to align the address to 4 bytes (32-bit), not
16 bytes.
Fixes: bdb6201ea1 ("broadcom/compiler: use ldunifa with unaligned constant offset")
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14830 >
2022-02-03 07:35:07 +00:00
Dylan Baker
04f6e91de0
docs: update calendar for 22.0.0-rc1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14845 >
2022-02-02 23:54:10 +00:00
Dylan Baker
647df89664
docs: reset new_features.txt
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14843 >
2022-02-02 23:46:15 +00:00
Mike Blumenkrantz
f8a9010410
llvmpipe: ci updates
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14835 >
2022-02-02 23:03:40 +00:00
Mike Blumenkrantz
9a75392cd8
llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
...
this cap is broken
cc: mesa-stable
fixes:
GTF-GL46.gtf21.GL2Tests.glGetUniform.glGetUnifor
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14835 >
2022-02-02 23:03:40 +00:00
Mike Blumenkrantz
9a38dab2d1
zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
...
this cap is broken
cc: mesa-stable
fixes:
GTF-GL46.gtf21.GL2Tests.glGetUniform.glGetUniform
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14835 >
2022-02-02 23:03:40 +00:00
Dylan Baker
366d83a30e
VERSION: bump version for 22.0 release
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14840 >
2022-02-02 22:49:09 +00:00
Bas Nieuwenhuizen
0395c483d4
radv: Handle SDMA for padding.
...
Also assert that nobody actually needs to chain an SDMA IB because we have
not implemented non-PKT3 chaining.
Fixes: ef40f2ccc2 ("radv/amdgpu: Fix handling of IB alignment > 4 words.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5923
Tested-by: Mike Lothian <mike@fireburn.co.uk >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14781 >
2022-02-02 22:23:17 +00:00
Emma Anholt
dbcdededb2
intel: Add missing dep of gen_*_header.py on utils.py.
...
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14725 >
2022-02-02 11:21:57 -08:00
Emma Anholt
3d5ee08c15
freedreno/isaspec: Add missing dep of encode.py/decode.py calls on isa.py
...
Fixes : #5921
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14725 >
2022-02-02 11:21:56 -08:00
Caio Oliveira
242c7a6513
anv: Add experimental support for VK_NV_mesh_shader
...
Enable setting ANV_EXPERIMENTAL_NV_MESH_SHADER=1 environment variable.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13662 >
2022-02-02 18:17:57 +00:00
Caio Oliveira
d9416cd8bd
intel/dev: Enable Mesh Shading for DG2
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13662 >
2022-02-02 18:17:57 +00:00
Marcin Ślusarz
da273b2b7b
anv: Put first few push constants directly into Task/Mesh InlineData
...
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13662 >
2022-02-02 18:17:57 +00:00
Marcin Ślusarz
27c32fd14b
anv: include ClipDistance array in mesh shader per-vertex output
...
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com >
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13662 >
2022-02-02 18:17:57 +00:00