-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: On the Quest we currently enable fences across the board, and validation layer points out this error: ``` Objects: 1 [0] 0x9f58380000000064, type: 7, name: NULL VUID-VkFenceGetFdInfoKHR-handleType-01453(ERROR / SPEC): msgNum: -1005942627 - Validation Error: [ VUID-VkFenceGetFdInfoKHR-handleType-01453 ] Object 0: handle = 0x5684940000000068, type = VK_OBJECT_TYPE_FENCE; | MessageID = 0xc40a889d | vkGetFenceFdKHR: handleType VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT was not VkExportFenceCreateInfo::handleTypes (Unhandled VkExternalFenceHandleTypeFlagBits) The Vulkan spec states: handleType must have been included in VkExportFenceCreateInfo::handleTypes when fence's current payload was created (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkFenceGetFdInfoKHR-handleType-01453) ``` We need to create an explicit `VkExportFenceCreateInfo` struct * Adds a new option `exportableFences` in `VulkanContextConfig`. Disabled by default, if enabled will be piped in through `VulkanImmediateCommands` Reviewed By: corporateshark Differential Revision: D49852875 fbshipit-source-id: 0e4194288fb2c0d1d610db530e734b52fee66122
- Loading branch information
1 parent
e3437b8
commit 613b8e4
Showing
9 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters