vulkan: synchronize access to execution pool fences

vkResetFences is specified as being user-synchronized
(yet vkWaitFences, is not).
This commit is contained in:
Lynne
2023-06-07 00:24:43 +02:00
parent 697382168d
commit 975cd48bb3
2 changed files with 15 additions and 3 deletions

View File

@@ -23,6 +23,7 @@
#include <stdatomic.h>
#include "thread.h"
#include "pixdesc.h"
#include "bprint.h"
#include "hwcontext.h"
@@ -152,6 +153,7 @@ typedef struct FFVulkanPipeline {
typedef struct FFVkExecContext {
int idx;
const struct FFVkExecPool *parent;
pthread_mutex_t lock;
/* Queue for the execution context */
VkQueue queue;