summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_wsi_wayland.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-08-25 11:27:15 -0700
committerJason Ekstrand <[email protected]>2017-08-28 18:34:06 -0700
commit2eacfdeec9c1bd3be291e8f9526580da331a8ec4 (patch)
treef56da9e68a315b83b2b2e70b1787d972f76f38db /src/intel/vulkan/anv_wsi_wayland.c
parenta106ae111c086b73b1910d7357391cb2efec6d04 (diff)
anv/queue: Allow temporary import of SYNC_FD semaphores
We didn't allow them before because it didn't look like the spec allowed it. It certainly doesn't make much sense. However, there are CTS tests that apparently hit this. What the spec actually says is: "Importing a payload using handle types with copy transference creates a duplicate copy of the payload at the time of import, but makes no further reference to it. Fence signaling, waiting, and resetting operations performed on the target of copy imports must not affect any other fence or payload." A SYNC_FD has copy transference but the import may be temporary or permanent. If you do a permanent import of something with copy transference, I guess it's supposed to work and end up resetting the permanent state. In any case, there seems to be no real harm in allowing it, so why not. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_wsi_wayland.c')
0 files changed, 0 insertions, 0 deletions