mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
venus: hide swapchainMaintenance1 behind wsi guard
..otherwise would give false alarm on Android. Fixes:acd5497067("venus: support wsi maintenance1 extensions") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36834> (cherry picked from commitfd0b41b98d)
This commit is contained in:
parent
57db5caf91
commit
5a2ef2df28
2 changed files with 4 additions and 1 deletions
|
|
@ -5834,7 +5834,7 @@
|
|||
"description": "venus: hide swapchainMaintenance1 behind wsi guard",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "acd5497067389df5f798e4dfc2075580ca5c0412",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -406,7 +406,10 @@ vn_physical_device_init_features(struct vn_physical_device *physical_dev)
|
|||
* See vn_physical_device_get_native_extensions.
|
||||
*/
|
||||
feats->deviceMemoryReport = true;
|
||||
|
||||
#ifdef VN_USE_WSI_PLATFORM
|
||||
feats->swapchainMaintenance1 = true;
|
||||
#endif
|
||||
|
||||
/* Host commands require custom protocol level support. Disable it
|
||||
* since it'd be non-trivial to make it performant.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue