FFmpeg
|
#include <pthread.h>
#include "libavutil/mem.h"
#include "libavutil/avassert.h"
#include <glslang/Include/ResourceLimits.h>
#include <glslang/Include/revision.h>
#include <glslang/Public/ShaderLang.h>
#include <glslang/SPIRV/GlslangToSpv.h>
#include "glslang.h"
Go to the source code of this file.
Macros | |
#define | GLSL_VERSION EShTargetVulkan_1_1 |
#define | SPIRV_VERSION EShTargetSpv_1_3 |
Functions | |
GLSlangResult * | glslang_compile (const char *glsl, enum GLSlangStage stage) |
int | glslang_init (void) |
void | glslang_uninit (void) |
Variables | |
static pthread_mutex_t | glslang_mutex = PTHREAD_MUTEX_INITIALIZER |
static int | glslang_refcount = 0 |
static const TBuiltInResource | DefaultTBuiltInResource |
#define GLSL_VERSION EShTargetVulkan_1_1 |
Definition at line 39 of file glslang.cpp.
#define SPIRV_VERSION EShTargetSpv_1_3 |
Definition at line 42 of file glslang.cpp.
GLSlangResult* glslang_compile | ( | const char * | glsl, |
enum GLSlangStage | stage | ||
) |
Definition at line 153 of file glslang.cpp.
Referenced by ff_vk_compile_shader().
int glslang_init | ( | void | ) |
Definition at line 224 of file glslang.cpp.
Referenced by ff_vk_filter_init().
void glslang_uninit | ( | void | ) |
Definition at line 236 of file glslang.cpp.
Referenced by ff_vk_filter_uninit().
|
static |
Definition at line 35 of file glslang.cpp.
Referenced by glslang_init(), and glslang_uninit().
|
static |
Definition at line 36 of file glslang.cpp.
Referenced by glslang_compile(), glslang_init(), and glslang_uninit().
|
static |
Definition at line 46 of file glslang.cpp.
Referenced by glslang_compile().