diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-05-03 17:17:05 -0400 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-05-03 14:17:05 -0700 |
| commit | c216f00f1eaff368229cb8430422972fcac801b7 (patch) | |
| tree | c214700d1cbcdf590b2ecd2f50c9d152169275b8 /tools/render-test/vk-device-queue.h | |
| parent | 367f3a78a40731da45ee12b9a18c94707f1d1429 (diff) | |
Fixes based on review of vulkan-first-render PR #545 (#546)
Diffstat (limited to 'tools/render-test/vk-device-queue.h')
| -rw-r--r-- | tools/render-test/vk-device-queue.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/render-test/vk-device-queue.h b/tools/render-test/vk-device-queue.h index ea50cbd81..8381f5166 100644 --- a/tools/render-test/vk-device-queue.h +++ b/tools/render-test/vk-device-queue.h @@ -30,11 +30,10 @@ struct VulkanDeviceQueue /// Blocks until all work submitted to GPU has completed void waitForIdle() { m_api->vkQueueWaitIdle(m_queue); } - /// Set the graphics queue index (as set on init) + /// Get the graphics queue index (as set on init) int getQueueIndex() const { return m_queueIndex; } - - /// Make the specified event 'current' - meaning it's semaphone must be waited on + /// Make the specified event 'current' - meaning it's semaphore must be waited on VkSemaphore makeCurrent(EventType eventType); /// Makes the event no longer required to be waited on void makeCompleted(EventType eventType); |
