diff options
Diffstat (limited to 'steamvr/vrcompositor')
| -rw-r--r-- | steamvr/vrcompositor/vulkan-wait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/steamvr/vrcompositor/vulkan-wait.c b/steamvr/vrcompositor/vulkan-wait.c index 6f2830d..c3f93a5 100644 --- a/steamvr/vrcompositor/vulkan-wait.c +++ b/steamvr/vrcompositor/vulkan-wait.c @@ -53,7 +53,7 @@ void wait_for_input( // We don't care about images we're giving someone else, or things we already // own. - if (target_queue == Q_EXTERNAL) return; + if (target_queue != Q_GRAPHICS || target_queue != Q_COMPUTE) return; struct Image *image = texture->image; if (!image) return; uint32_t owner = image->vtable->get_owner(image); @@ -73,7 +73,7 @@ void wait_for_input( uint64_t value = semaphore->vtable->get_value(semaphore); if (!value) return; uint32_t queue = renderer->current_queue; - if (queue == Q_EXTERNAL) return; + if (queue != Q_GRAPHICS || queue != Q_COMPUTE) return; struct NativeDevice *device = &renderer->queues[queue]; if (!device->context) return; |
