Skip to content

Commit

Permalink
igl | vulkan | Fixed a validation warning
Browse files Browse the repository at this point in the history
Summary:
```
Validation Information: [ UNASSIGNED-BestPractices-SemaphoreCount ] |
MessageID = 0x6cfe18a5 |
vkQueueSubmit():
  pSubmits[0].pWaitSemaphores is set, but pSubmits[0].waitSemaphoreCount is 0.

UNASSIGNED-BestPractices-SemaphoreCount(INFO / SPEC): msgNum: 1828591781 - Validation Information: [ UNASSIGNED-BestPractices-SemaphoreCount ] |
MessageID = 0x6cfe18a5 |
vkQueueSubmit():
  pSubmits[0].pWaitSemaphores is set, but pSubmits[0].waitSemaphoreCount is 0.
```

Reviewed By: mmaurer

Differential Revision: D52349315

fbshipit-source-id: c85d418657d3fbf87c40d7862e0891b3e97a9172
  • Loading branch information
corporateshark authored and facebook-github-bot committed Dec 21, 2023
1 parent 31e7489 commit d7c1a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/igl/vulkan/VulkanHelpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ VkSubmitInfo ivkGetSubmitInfo(const VkCommandBuffer* buffer,
const VkSubmitInfo si = {
.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO,
.waitSemaphoreCount = numWaitSemaphores,
.pWaitSemaphores = waitSemaphores,
.pWaitSemaphores = numWaitSemaphores ? waitSemaphores : NULL,
.pWaitDstStageMask = waitStageMasks,
.commandBufferCount = 1,
.pCommandBuffers = buffer,
Expand Down

0 comments on commit d7c1a64

Please sign in to comment.