mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
vulkan: synchronize access to execution pool fences
vkResetFences is specified as being user-synchronized (yet vkWaitFences, is not).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user