mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
radv: Fix compatible image handle type for dmabufs.
Reviewed-by: Joshua Ashton <joshua@froggi.es> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Fixes:6c83e3ea98("radv: Add format modifier format queries.") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10891> (cherry picked from commit36d0ff4682)
This commit is contained in:
parent
f61539457c
commit
3c81c319e1
2 changed files with 2 additions and 2 deletions
|
|
@ -1354,7 +1354,7 @@
|
|||
"description": "radv: Fix compatible image handle type for dmabufs.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "6c83e3ea98b7e2c8972e9897c5971f78c69a7138"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1529,7 +1529,7 @@ get_external_image_format_properties(struct radv_physical_device *physical_devic
|
|||
flags =
|
||||
VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT | VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT;
|
||||
|
||||
compat_flags = export_flags = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT;
|
||||
compat_flags = export_flags = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue