Force compute compositor pipeline
Synchronization seems to fail with graphics pipeline
This commit is contained in:
@@ -478,7 +478,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
|
||||
command_buffer.begin(vk::CommandBufferBeginInfo{});
|
||||
|
||||
vk::Semaphore wait_semaphore = cn->semaphores.render_complete;
|
||||
vk::PipelineStageFlags wait_stage = vk::PipelineStageFlagBits::eAllCommands;
|
||||
vk::PipelineStageFlags wait_stage = vk::PipelineStageFlagBits::eComputeShader;
|
||||
vk::SubmitInfo submit_info{
|
||||
.waitSemaphoreCount = 1,
|
||||
.pWaitSemaphores = &wait_semaphore,
|
||||
|
||||
@@ -262,6 +262,9 @@ int inner_main(int argc, char * argv[])
|
||||
|
||||
setenv("LISTEN_PID", std::to_string(getpid()).c_str(), true);
|
||||
|
||||
//FIXME: synchronization fails on gfx pipeline
|
||||
setenv("XRT_COMPOSITOR_COMPUTE", "1", true);
|
||||
|
||||
try
|
||||
{
|
||||
return ipc_server_main(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user