RetroArch
Macros | Functions | Variables
glslang_util.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <string>
#include <sstream>
#include <algorithm>
#include <retro_miscellaneous.h>
#include <file/file_path.h>
#include <streams/file_stream.h>
#include <lists/string_list.h>
#include <string/stdstring.h>
#include "glslang_util.h"
#include "../../verbosity.h"
Include dependency graph for glslang_util.cpp:

Macros

#define FMT(x)   if (string_is_equal(fmt, #x)) return SLANG_FORMAT_ ## x
 

Functions

bool glslang_read_shader_file (const char *path, vector< string > *output, bool root_file)
 
static string build_stage_source (const vector< string > &lines, const char *stage)
 
const char * glslang_format_to_string (enum glslang_format fmt)
 
static glslang_format glslang_find_format (const char *fmt)
 
bool glslang_parse_meta (const vector< string > &lines, glslang_meta *meta)
 
bool glslang_compile_shader (const char *shader_path, glslang_output *output)
 

Variables

static const char * glslang_formats []
 

Macro Definition Documentation

◆ FMT

#define FMT (   x)    if (string_is_equal(fmt, #x)) return SLANG_FORMAT_ ## x

Function Documentation

◆ build_stage_source()

static string build_stage_source ( const vector< string > &  lines,
const char *  stage 
)
static

◆ glslang_compile_shader()

bool glslang_compile_shader ( const char *  shader_path,
glslang_output *  output 
)
Here is the caller graph for this function:

◆ glslang_find_format()

static glslang_format glslang_find_format ( const char *  fmt)
static
Here is the caller graph for this function:

◆ glslang_format_to_string()

const char* glslang_format_to_string ( enum glslang_format  fmt)
Here is the caller graph for this function:

◆ glslang_parse_meta()

bool glslang_parse_meta ( const vector< string > &  lines,
glslang_meta *  meta 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ glslang_read_shader_file()

bool glslang_read_shader_file ( const char *  path,
vector< string > *  output,
bool  root_file 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ glslang_formats

const char* glslang_formats[]
static