FFmpeg
|
#include <pthread.h>
#include <glslang/build_info.h>
#include <glslang/Include/glslang_c_interface.h>
#include "vulkan_spirv.h"
#include "libavutil/mem.h"
#include "libavutil/avassert.h"
Go to the source code of this file.
Functions | |
static int | glslc_shader_compile (FFVkSPIRVCompiler *ctx, void *avctx, FFVkSPIRVShader *shd, uint8_t **data, size_t *size, const char *entrypoint, void **opaque) |
static void | glslc_shader_free (FFVkSPIRVCompiler *ctx, void **opaque) |
static void | glslc_uninit (FFVkSPIRVCompiler **ctx) |
FFVkSPIRVCompiler * | ff_vk_glslang_init (void) |
Variables | |
static pthread_mutex_t | glslc_mutex = PTHREAD_MUTEX_INITIALIZER |
static int | glslc_refcount = 0 |
static const glslang_resource_t | glslc_resource_limits |
|
static |
Definition at line 139 of file vulkan_glslang.c.
Referenced by ff_vk_glslang_init().
|
static |
Definition at line 240 of file vulkan_glslang.c.
Referenced by ff_vk_glslang_init().
|
static |
Definition at line 250 of file vulkan_glslang.c.
Referenced by ff_vk_glslang_init().
FFVkSPIRVCompiler* ff_vk_glslang_init | ( | void | ) |
Definition at line 263 of file vulkan_glslang.c.
|
static |
Definition at line 28 of file vulkan_glslang.c.
Referenced by ff_vk_glslang_init(), and glslc_uninit().
|
static |
Definition at line 29 of file vulkan_glslang.c.
Referenced by ff_vk_glslang_init(), glslc_shader_compile(), glslc_shader_free(), and glslc_uninit().
|
static |
Definition at line 31 of file vulkan_glslang.c.
Referenced by glslc_shader_compile().