Gurchetan Singh
11a6a49534
vulkan: #if DETECT_OS_ANDROID --> #if defined(VK_USE_PLATFORM_ANDROID_KHR)
...
The use of the bionic toolchain (DETECT_OS_ANDROID) does not mean
that the typical set of Android libraries (nativewindow, gralloc)
are used on the system.
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36829 >
2025-08-22 16:09:38 +00:00
Yonggang Luo
de1a2a3537
util: Remove the __declspec(dllexport) on win32 for PUBLIC export macro
...
As on Windows, all DLLs are exported use def files, there is no need do __declspec(dllexport) on the function marker.
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36863 >
2025-08-22 02:05:57 +00:00
Yiwei Zhang
1d6c7f4cff
vulkan/wsi: drop obsolete wsi_common_vk_instance_supports_present_wait
...
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36835 >
2025-08-21 07:53:15 +00:00
Marek Olšák
271a1d8dd9
util/hash_table: don't allocate hash_table_u64::table, declare it statically
...
We can use _mesa_hash_table_init instead of _mesa_hash_table_create.
It doesn't have to be allocated.
Reviewed-by: Gert Wollny <gert.wollny@collabora.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36728 >
2025-08-21 06:13:48 +00:00
Lionel Landwerlin
ed471927e5
vulkan/runtime: use a pipeline flag for unaligned dispatches
...
The problem with the current flag is that it seems to belong to
VkShaderCreateFlagsEXT, not VkPipelineShaderStageCreateFlagBits.
Also it is completely skipped by the vk_pipeline.c code.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 7b634ebb63 ("vulkan/runtime: Add VK_SHADER_CREATE_UNALIGNED_DISPATCH_BIT_MESA flag")
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36828 >
2025-08-20 11:17:52 +00:00
David Rosca
c1610da677
vulkan/video: Add intra refresh support
...
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36718 >
2025-08-20 10:57:59 +00:00
Faith Ekstrand
14b4160792
vulkan/wsi: Only test for dma-buf sync file support once
...
Instead of each helper having a VK_ERROR_FEATURE_NOT_PRESENT fast-reject
path, drop those paths and check at the top of each caller. This
ensures that we do the check once per wsi_device, and only on a known
test dma-buf and that any subsequent fails turn into fails rather than
silently turning off explicit/implicit sync in potentially inconsistent
ways.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36816 >
2025-08-19 18:59:43 +00:00
Faith Ekstrand
6d3c82704d
vulkan/wsi: Sanitize the result of wsi_drm_check_dma_buf_sync_file_import_export()
...
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36816 >
2025-08-19 18:59:43 +00:00
Faith Ekstrand
9ddd29639c
vulkan/wsi: Style nits
...
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36816 >
2025-08-19 18:59:43 +00:00
Emma Anholt
4dcf32c56e
wsi/drm: Don't request implicit sync if we're doing implicit sync ourselves.
...
This will avoid kernel overhead on tu (implicit syncs every BO) and radv
(implicit syncs the swapchain BOs) for doing implicit synchronization on
non-explicit-sync WSI backends (old X11 and Wayland, KHR_display without
!36591 , and headless).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19309 >
2025-08-16 22:26:41 +00:00
Emma Anholt
8f67d59725
wsi/drm: Do the dma_buf_semaphore setup at swapchain creation time.
...
Less work at present time, and will let us make decisions about implicit
sync up front.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19309 >
2025-08-16 22:26:41 +00:00
Emma Anholt
a377d32fdc
vulkan/wsi: Add a test for kernel 6.0 sync file import/export ioctls.
...
We'll use this in DRM WSI to decide if we need the implicit_sync flag on
swapchain image creation.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19309 >
2025-08-16 22:26:40 +00:00
Emma Anholt
61fb238a4d
vulkan/wsi: Add comments about the WSI's syncing, and KHR_display stuff.
...
I have spent so long orienting myself in this code, more than once, that
it's time to leave some clues for next time.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19309 >
2025-08-16 22:26:40 +00:00
Faith Ekstrand
1b2acf9006
vulkan: Drop implicit sync support
...
This gets rid of the internal wsi_memory_signal_submit_info structure
used to indicate implicit sync through vkQueueSubmit() as well as the
handling in vk_queue.c and vk_device::create_sync_for_memory. Nothing
is using any of this anymore.
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36783 >
2025-08-16 00:04:47 -04:00
Faith Ekstrand
16520cfdf1
vulkan/wsi: Stop setting wsi_memory_signal_submit_info
...
There are no longer any drivers implementing the back-end hooks for this
so there's no point in setting it from WSI.
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36783 >
2025-08-16 00:04:47 -04:00
Faith Ekstrand
9cf6f14b88
vulkan/wsi: Drop signal_fence/semaphore_with_memory
...
Intel was the only drivers setting this and how they don't so we can get
rid of the flag and the associated code.
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36783 >
2025-08-16 00:04:47 -04:00
Emma Anholt
9e61e72e9f
vk/runtime: Set GPU_MULTI_WAIT on the drm syncobj type.
...
DRM syncobjs always let you wait repeatedly on them, so we can set the
flag in the core instead of having each driver override it once they try
to enable the emulated timeline semaphores.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36563 >
2025-08-13 18:57:42 +00:00
Lionel Landwerlin
69a04151db
vulkan/runtime: add ray tracing pipeline support
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Ivan Briano <ivan.briano@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36757 >
2025-08-13 12:01:49 +00:00
Lionel Landwerlin
daac500e98
vulkan/runtime: add a few more shader properties
...
Ray tracing pipelines can contain unlimited number of shaders unlike
compute/graphics ones. Having the driver finding the maximum
scratch/ray-query/stack usage can be time consumming when this can be
stored on the pipeline and the runtime tell the driver at bind time.
These fields are unused for other shaders and so drivers can ignore
them.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Ivan Briano <ivan.briano@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36757 >
2025-08-13 12:01:49 +00:00
Sagar Ghuge
7b634ebb63
vulkan/runtime: Add VK_SHADER_CREATE_UNALIGNED_DISPATCH_BIT_MESA flag
...
Drivers that doesn't support direct unaligned dispatches, they can use
the shader creation flag to lower unaligned dispatches.
Suggested-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36245 >
2025-08-12 23:17:02 +00:00
Sagar Ghuge
ba1ddb6b62
vulkan/radix_sort: Fix subgroup invocation id
...
When we have single subgroup within a workgroup, I guess we want to
index invocation within the subgroup, we don't want the ID of subgroup
within local workgroup, since it will be always 0.
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36733 >
2025-08-12 18:39:20 +00:00
Yiwei Zhang
1abe0d38d1
vulkan/util: update common properties code gen to use platform guard
...
Similar to the prior feature code gen update. This one here also absorbs
the Android private ANB struct.
Reviewed-by: Lucas Fryzek <lfryzek@igalia.com >
Acked-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36702 >
2025-08-12 18:12:50 +00:00
Yiwei Zhang
9999cd3967
vulkan/util: no need to hide ANB property itself behind Android
...
Property members are never going to use platform specific struct.
Getting rid of the guard around sharedImage propperty simplifies driver
side setting the prop.
Reviewed-by: Lucas Fryzek <lfryzek@igalia.com >
Acked-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36702 >
2025-08-12 18:12:50 +00:00
Yiwei Zhang
567cff487c
vulkan/util: add missing vulkan header
...
Unlike features, property members do need Vulkan header. Currently it
relies on the fact that vk_physical_device.h has included some other
headers that include vulkan.h before this.
Cc: mesa-stable
Reviewed-by: Lucas Fryzek <lfryzek@igalia.com >
Acked-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36702 >
2025-08-12 18:12:50 +00:00
Lucas Fryzek
23d7c3fbd5
vulkan/util: update pd feature codegen to use platform guards
...
If a given physical device feature needs a platform specific define
guard, generate the appropriate one instead of just ignoring it.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36702 >
2025-08-12 18:12:50 +00:00
Aaron Ruby
796e11008d
vulkan/wsi: No commandPool allocation required for WSI_SWAPCHAIN_NO_BLIT
...
commandPools/cmdBuffers are only required for swapchain configurations
that use a blit-queue. They do not need to be allocated at all in the
"no blit" configuration.
There are some validUsage issues with the commandPool allocation, namely
that the WSI impl assumes that the logical device was created with all
queueFamilies made available to it. This is an invalid assumption that
can result in: VUID-vkCreateCommandPool-queueFamilyIndex-01937 invalid
usage on the eventual call to the driver. Note: invalid usage by WSI
wouldn't normally be detectable without virtualization.
This change reduces the scope of that invalid usage.
Reviewed-by: Gurchetan Singh <gurchetansingh@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36361 >
2025-08-12 11:44:24 -04:00
Caterina Shablia
e6d2a426e6
vulkan/runtime: add vk_image_subresource_slice_count
...
vk_image_subresource_slice_count is useful when implementing image
barriers. When maintenance9 is enabled,
VkImageSubresourceRange::{baseArrayLayer,layerCount} specify the
slices, rather than layers, to transition. This helper returns
the number of slices specified in the subresource range, accounting
for the VK_REMAINING_ARRAY_LAYERS sentinel.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36176 >
2025-08-12 12:43:10 +00:00
Faith Ekstrand
6ece4f3fa0
vulkan: Add a vk_video_session_finish() helper
...
It's always better if init/finish come in pairs.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Reviewed-by: Hyunjun Ko <zzoon@igalia.com >
Reviewed-by: David Rosca <david.rosca@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36646 >
2025-08-11 20:34:56 +00:00
Faith Ekstrand
8f03f9b443
vulkan: Add common VideoSessionParametersKHR entrypoints
...
Reviewed-by: Dave Airlie <airlied@redhat.com >
Reviewed-by: Hyunjun Ko <zzoon@igalia.com >
Reviewed-by: David Rosca <david.rosca@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36646 >
2025-08-11 20:34:56 +00:00
Faith Ekstrand
9d6f65db9a
vulkan: Add handle casts for vk_video_session[_parameters]
...
This also allows us to simplify the interface to
vk_video_session_parameters_create().
Reviewed-by: Dave Airlie <airlied@redhat.com >
Reviewed-by: Hyunjun Ko <zzoon@igalia.com >
Reviewed-by: David Rosca <david.rosca@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36646 >
2025-08-11 20:34:56 +00:00
Faith Ekstrand
f8086c6472
vulkan/video: Switch vk_video_session_parameters to create/destroy
...
These are never created on the stack or deep inside other objects so it
makes sense to use create/destroy instead of init/finish.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Reviewed-by: Hyunjun Ko <zzoon@igalia.com >
Reviewed-by: David Rosca <david.rosca@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36646 >
2025-08-11 20:34:56 +00:00
Yiwei Zhang
d88fd2c582
vulkan/wsi/headless: clean up headless wsi device and headers
...
Still keep the wsi_headless container in case of future customizations.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36687 >
2025-08-10 07:16:46 +00:00
Yiwei Zhang
90caf9bdbd
vulkan/wsi/headless: drop the wsi_create_null_image_mem override
...
The existing wsi code paths work in the most correct manner now w.r.t
implicit fencing, memory allocation, prime buffer blit, etc.
With this and the prior change, ANV with headless doubled the perf and
beats the windowed vkmark run.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36687 >
2025-08-10 07:16:46 +00:00
Yiwei Zhang
6ac8ac38f1
vulkan/wsi/headless: acquire the most likely idle image
...
Previously the present marks the image free, and the next acquire would
immediately acquire the just presented image back, which likely still
has pending gpu work going on. To avoid introducing a present queue in
headless, we simply tweak to acquire swapchain images in a loop to give
the app the most likely idle image.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36687 >
2025-08-10 07:16:46 +00:00
llyyr
dbb779967c
vulkan: Update enum_to_str conversion to handle AMDX enum names
...
Without this, mesa fails to build with:
src/vulkan/util/vk_enum_to_str.c:684:14: error:
‘VK_COMPRESSED_TRIANGLE_FORMAT_AMDX_MAX_ENUM’ undeclared (first use in
this function); did you mean
‘VK_COMPRESSED_TRIANGLE_FORMAT_MAX_ENUM_AMDX’?
Fixes: c74ad9f142 ("vulkan: Update headers/xml for 1.4.325")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36693 >
2025-08-09 01:24:10 +00:00
Caio Oliveira
c74ad9f142
vulkan: Update headers/xml for 1.4.325
...
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36681 >
2025-08-08 22:41:14 +00:00
Caio Oliveira
c00b167d16
vulkan: Update enum_to_str conversion to handle ARM enum names
...
Next Vulkan update will have
VK_DATA_GRAPH_PIPELINE_PROPERTY_MAX_ENUM_ARM and similar names,
so apply the same rule for ARM prefix.
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36681 >
2025-08-08 22:41:14 +00:00
Yiwei Zhang
5b1104476f
vulkan/wsi/headless: drop redundant chain struct members
...
Reviewed-by: Janne Grunau <j@jannau.net >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36658 >
2025-08-08 16:34:26 +00:00
Yiwei Zhang
24cb071d47
vulkan/wsi/headless: allow explicit modifiers
...
When wsi device has modifier support, simply allow all driver supported
modifiers for the requested format.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12534
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13636
Reviewed-by: Janne Grunau <j@jannau.net >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36658 >
2025-08-08 16:34:26 +00:00
Hyunjun Ko
609ef617c9
vulkan/video: align with spec correctly for h265 slice header.
...
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36211 >
2025-08-08 11:26:13 +00:00
Karol Herbst
fe09dfbcf3
vulkan: use p_atomic_read on vk_descriptor_set_layout::ref_cnt
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36652 >
2025-08-08 10:26:52 +00:00
Konstantin Seurer
fe4c3dcab8
vulkan: Add MESA_VK_SHADER_STAGE_ALL
...
For masking invalid bits.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36371 >
2025-08-07 20:46:24 +00:00
Simon Perretta
ba92104b56
wsi/display: make HDR_OUTPUT_METADATA, Colorspace properties optional
...
Fixes some dEQP-VK.wsi.display.* issues on platforms that don't
support said properties following their addition in !35461 .
Fixes: b4176393a0 ("wsi/display: Implement VK_EXT_hdr_metadata on KHR_display swapchain")
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com >
Reviewed-by: David Rosca <david.rosca@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36607 >
2025-08-07 20:32:02 +01:00
Qiang Yu
196569b1a4
all: rename gl_shader_stage to mesa_shader_stage
...
It's not only for GL, change to a generic name.
Use command:
find . -type f -not -path '*/.git/*' -exec sed -i 's/\bgl_shader_stage\b/mesa_shader_stage/g' {} +
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36569 >
2025-08-06 10:28:40 +08:00
Qiang Yu
799806d85e
all: rename PIPE_SHADER_MESH_TYPES to MESA_SHADER_MESH_STAGES
...
Use command:
find . -type f -not -path '*/.git/*' -exec sed -i 's/\bPIPE_SHADER_MESH_TYPES\b/MESA_SHADER_MESH_STAGES/g' {} +
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Acked-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36569 >
2025-08-06 10:28:40 +08:00
Ernst Persson
2bdbc72d27
vulkan/util: Use str.removeprefix() from Python 3.9
...
Signed-off-by: Ernst Persson <ernstp@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36398 >
2025-08-05 21:39:58 +00:00
Hyunjun Ko
b59552628e
vulkan/video: fix to set ref_pic_list_modification_flag_l1 correctly
...
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36152 >
2025-08-05 09:16:56 +00:00
Hyunjun Ko
62b07c01d1
vulkan/video: fix to write a h264 slice header for CAVLC mode
...
In CAVLC mode, slice header doesn't need to be aligned. Instead
encoder needs exact bits written in the slice header in order to
set the offset correctly.
This fixes encoding with entropy_coding_mode_flag false.
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36152 >
2025-08-05 09:16:56 +00:00
David Rosca
94619a0f4b
wsi/display: Add RGBA16, RGBA16F and A2RGB10(SRGB) formats
...
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35461 >
2025-08-05 08:50:07 +00:00
David Rosca
d977951d64
wsi/display: Report supported formats based on plane formats
...
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35461 >
2025-08-05 08:50:05 +00:00