vk/gen8: Implement VkEvent for gen8

We use PIPE_CONTROL for setting and resetting the event from cmd buffers
and MI_SEMAPHORE_WAIT in polling mode for waiting on an event.
This commit is contained in:
Kristian Høgsberg Kristensen
2015-12-19 22:17:19 -08:00
parent 8ac46d84ff
commit c4802bc44c
5 changed files with 166 additions and 42 deletions

View File

@@ -856,3 +856,31 @@ void genX(CmdEndRenderPass)(
.TextureCacheInvalidationEnable = true,
.CommandStreamerStallEnable = true);
}
void genX(CmdSetEvent)(
VkCommandBuffer commandBuffer,
VkEvent event,
VkPipelineStageFlags stageMask)
{
stub();
}
void genX(CmdResetEvent)(
VkCommandBuffer commandBuffer,
VkEvent event,
VkPipelineStageFlags stageMask)
{
stub();
}
void genX(CmdWaitEvents)(
VkCommandBuffer commandBuffer,
uint32_t eventCount,
const VkEvent* pEvents,
VkPipelineStageFlags srcStageMask,
VkPipelineStageFlags destStageMask,
uint32_t memBarrierCount,
const void* const* ppMemBarriers)
{
stub();
}