Valentine Burley
3bbb740f61
lavapipe: Block more formats from getting blit feature flags
...
This is needed for the new pipe formats.
Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30459 >
2024-08-01 07:44:08 +00:00
Konstantin
3316bc3e88
util: Handle more formats in get_plane_(width|height)
...
Required by RADV to use PIPE_FORMAT_G8_B8R8_420_UNORM and
PIPE_FORMAT_G8_B8_R8_420_UNORM.
Reviewed-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30459 >
2024-08-01 07:44:02 +00:00
Valentine Burley
fd1f798292
docs/features: Update features.txt for Turnip
...
These two extensions weren't marked as done on Turnip.
Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30453 >
2024-08-01 06:14:11 +00:00
Eric Engestrom
73487c13ad
nvk/ci: bump vkcts job timeout
...
It looks like the job is now taking roughly 20 more minutes than it was
when it was introduced, likely because of the new extensions enabling
more tests to run.
Adding 30min extra margin to avoid having to do this again in a couple
of months, and this is a nightly job anyway so we don't care about
risking having a hung machine for a few more minutes.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30458 >
2024-08-01 05:52:45 +00:00
Juan A. Suarez Romero
14c82207a4
broadcom/ci: use kernel8 for rpi5 full jobs
...
Test if using kernel8 instead of specific kernel_2712 fixes the issues
with rpi5.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30457 >
2024-08-01 07:12:24 +02:00
Juan A. Suarez Romero
caab76d250
v3d: free dbuf
...
Fix a leak found with address sanitizer and
`dEQP-GLES31.functional.shaders.helper_invocation.derivate.wide_lines_max_samples_dfdx`.
Fixes: 9a9f281251 ("v3d: support blitting straight from tile buffer")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30444 >
2024-08-01 04:02:03 +00:00
Timothy Arceri
298633e365
nir: set disallow_undef_to_nan for legacy ARB asm programs
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11389
Fixes: 861d274453 ("nir: replace undef only used by ALU opcodes with 0 or NaN")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30419 >
2024-08-01 02:28:24 +00:00
Mike Blumenkrantz
5c40d9bec1
dri: add kopper stubs to avoid build failures
...
Fixes: 62847d14b5 ("glx: delete DRI_KOPPER")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30454 >
2024-08-01 01:57:52 +00:00
Faith Ekstrand
9ac3e3a072
nvk: Fix indirect dispatch on Turing+
...
The refactor of the MME macros for Maxwell broke Turing.
Fixes: b8aeea806a ("nvk: implement vkCmdDispatchIndirect on pre-turing")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30448 >
2024-07-31 21:51:52 +00:00
Faith Ekstrand
d7e06c6e08
nak: Use nak_builder::fsetp() in op_fquantize2f16
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30448 >
2024-07-31 21:51:52 +00:00
Faith Ekstrand
138910d898
nak/hw_tests: Use ptr::from_ref() and ptr::cast()
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30448 >
2024-07-31 21:51:52 +00:00
Faith Ekstrand
a34d72cbed
nak/hw_runner: Use byte_offset()
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30448 >
2024-07-31 21:51:52 +00:00
Sushma Venkatesh Reddy
0116430d39
intel/brw: Handle 16-bit sampler return payloads
...
API requires samplers to return 32-bit even though hardware can handle
16-bit floating point, so we detect that case and make more efficient
use of memory BW. This is helping improve performance of encode and
decode tokens during LLM by at least 5% across multiple platforms.
Thank you Kenneth Graunke for suggesting and guiding me throughout
this implementation.
Signed-off-by: Sushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30447 >
2024-07-31 21:26:46 +00:00
Sushma Venkatesh Reddy
ddd9e043dc
intel/brw: Move get_nir_def() higher to avoid UNDEF
...
While extending our backend to handle 16-bit sampler return payloads, we
found that in piglit's arb_texture_view-rendering-formats, the SIMD8 FS
was missing the sampling operation altogether. This was because we were
first emitting the texturing instruction, and then calling
get_nir_def(), which adds an UNDEF instruction when the destination is
smaller than the 32-bit. So the texturing was dead code elimated. Fix
this by calling get_nir_def() earlier.
Thank you to Kenneth Graunke for suggesting and guiding me throughout
this implementation.
Signed-off-by: Sushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30447 >
2024-07-31 21:26:46 +00:00
Caio Oliveira
52be72e676
intel: Let compiler set indirect_ubos_use_sampler
...
This option is used for Gfx < 12, elk already set it to true,
so set it in brw and change the drivers to not set it anymore.
Because the dual-compiler support in Iris, the helper function
there had to change to consult the right compiler value instead.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30393 >
2024-07-31 19:26:20 +00:00
Mike Blumenkrantz
f1680c262c
kopper: increment lastStamp during invalidate
...
this is functionally equivalent
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
76757c211d
glx: delete DRI_TEX_BUFFER handling
...
this is always available
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
c4f7853131
loader/dri3: delete texBuffer struct member
...
unused
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
321d576f0c
glx: inline DRI_TEX_BUFFER
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
9fdfebce06
glx: delete check for texbuffer extension
...
this is always available
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
032237c7ec
dri: declare DRI_TEX_BUFFER functions public
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
ef6f874590
dri: delete __DRItexBufferExtension::setTexBuffer
...
no longer used
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
a09c8b577f
glx: delete the only users of __DRItexBufferExtension::setTexBuffer
...
this is pointless since there's only one implementation of DRI_TEX_BUFFER
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
b0d0c1971c
glx: delete releaseTexBuffer
...
this is always null, so none of the code is ever executed
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
0341623f39
dri: delete __DRI_COPY_SUB_BUFFER
...
bye-bye
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
945fe0ef4a
glx: inline DRI_COPY_SUB_BUFFER
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
998d0e3993
drisw: declare DRI_COPY_SUB_BUFFER as PUBLIC
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
34912cc8d1
glx: rename driswCopySubBuffer
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
62847d14b5
glx: delete DRI_KOPPER
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
192febfbbf
glx: switch kopper check for setting up swapinterval/bufferage functions
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
850b0694d6
glx: use local var for LIBGL_KOPPER_DISABLE check
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
2157108e11
dri: declare DRI_KOPPER as PUBLIC
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
38529171d6
dri: delete driCreateNewScreen2
...
unused
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
5d72058556
glx: inline DRI_DRI2
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
5019481a16
dri: delete __DRImesaCoreExtensionRec::createNewScreen
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
63937eca78
glx: inline DRI_SWRAST
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
f5dd5e4b44
glx: delete __DRImesaCoreExtension usage
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
5dba565ada
glx: inline createNewScreen3
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
66e0d12627
glx: inline DRI_CORE functions
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
87720ab42b
loader/dri3: inline DRI_CORE
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
029ec1a20b
dri: declare DRI_CORE functions public
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
e95a462d1f
glx: inline IMAGE_DRIVER functions
...
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
49c3814cd1
dri: declare IMAGE_DRIVER symbols PUBLIC
...
this is a temporary hackaround for a linker issue where dri frontend
functions need to be called directly by (glx/egl/gbm) but can't due
to linkage/visibility
eventually all of these frontends will be a single linkage into a single
library, which will avoid the intermediate linking and solve the problem
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
f9f8652445
loader: split out dri3 into subdir
...
this fixes dependency hell
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
36aaaa968a
meson: move glx subdir after gallium build
...
more dependency hell
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Mike Blumenkrantz
4095fac72b
loader: move some common dri3 functions out of dri3 loader
...
fixing dependency hell
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400 >
2024-07-31 18:50:38 +00:00
Lionel Landwerlin
eebb6cd236
anv: stop using 3DSTATE_WM::ForceThreadDispatchEnable
...
Documentation says we should leave this field to the default value
(Normal). Instead we set 3DSTATE_PS_EXTRA::PixelShaderHasUAV when we
see that a fragment shader has side effects.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30408 >
2024-07-31 18:18:14 +00:00
Rhys Perry
c818de7360
aco: combine DPP into v_cvt_f16_f32
...
The label_f2f16 was interfering with the label_dpp.
fossil-db (navi31):
Totals from 36 (0.05% of 79395) affected shaders:
Instrs: 70998 -> 70875 (-0.17%); split: -0.18%, +0.00%
CodeSize: 373184 -> 372244 (-0.25%)
Latency: 1266807 -> 1266752 (-0.00%); split: -0.01%, +0.01%
InvThroughput: 131618 -> 131566 (-0.04%); split: -0.04%, +0.00%
SClause: 1947 -> 1944 (-0.15%)
Copies: 5194 -> 5208 (+0.27%)
VALU: 41019 -> 40921 (-0.24%); split: -0.24%, +0.00%
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30425 >
2024-07-31 17:26:05 +00:00
Eric Engestrom
39f045aaa6
docs: add sha256sum for 24.1.5
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30445 >
2024-07-31 17:18:05 +00:00
Eric Engestrom
a6a7e00b36
docs: update calendar for 24.1.5
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30445 >
2024-07-31 17:18:05 +00:00