RetroArch
Classes | Namespaces | Macros | Enumerations | Functions
ShaderLang.cpp File Reference
#include <cstring>
#include <iostream>
#include <sstream>
#include <memory>
#include "SymbolTable.h"
#include "ParseHelper.h"
#include "Scan.h"
#include "ScanContext.h"
#include "../Include/ShHandle.h"
#include "../../OGLCompilersDLL/InitializeDll.h"
#include "preprocessor/PpContext.h"
#include "../Public/ShaderLang.h"
#include "reflection.h"
#include "iomapper.h"
#include "Initialize.h"
#include "../Include/revision.h"
Include dependency graph for ShaderLang.cpp:

Classes

class  glslang::TDeferredCompiler
 

Namespaces

 glslang
 

Macros

#define SH_EXPORTING
 
#define QUOTE(s)   #s
 
#define STR(n)   QUOTE(n)
 

Enumerations

enum  EPrecisionClass
 

Functions

int ShInitialize ()
 
ShHandle ShConstructCompiler (const EShLanguage language, int debugOptions)
 
ShHandle ShConstructLinker (const EShExecutable executable, int debugOptions)
 
ShHandle ShConstructUniformMap ()
 
void ShDestruct (ShHandle handle)
 
int __fastcall ShFinalize ()
 
int ShCompile (const ShHandle handle, const char *const shaderStrings[], const int numStrings, const int *inputLengths, const EShOptimizationLevel optLevel, const TBuiltInResource *resources, int, int defaultVersion, bool forwardCompatible, EShMessages messages)
 
int ShLinkExt (const ShHandle linkHandle, const ShHandle compHandles[], const int numHandles)
 
void ShSetEncryptionMethod (ShHandle handle)
 
const char * ShGetInfoLog (const ShHandle handle)
 
const voidShGetExecutable (const ShHandle handle)
 
int ShSetVirtualAttributeBindings (const ShHandle handle, const ShBindingTable *table)
 
int ShSetFixedAttributeBindings (const ShHandle handle, const ShBindingTable *table)
 
int ShExcludeAttributes (const ShHandle handle, int *attributes, int count)
 
int ShGetUniformLocation (const ShHandle handle, const char *name)
 
const char * glslang::GetEsslVersionString ()
 
const char * glslang::GetGlslVersionString ()
 
int glslang::GetKhronosToolId ()
 
bool glslang::InitializeProcess ()
 
void glslang::FinalizeProcess ()
 

Macro Definition Documentation

◆ QUOTE

#define QUOTE (   s)    #s

◆ SH_EXPORTING

#define SH_EXPORTING

◆ STR

#define STR (   n)    QUOTE(n)

Enumeration Type Documentation

◆ EPrecisionClass

Function Documentation

◆ ShCompile()

int ShCompile ( const ShHandle  handle,
const char *const  shaderStrings[],
const int  numStrings,
const int *  inputLengths,
const EShOptimizationLevel  optLevel,
const TBuiltInResource resources,
int  ,
int  defaultVersion,
bool  forwardCompatible,
EShMessages  messages 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShConstructCompiler()

ShHandle ShConstructCompiler ( const EShLanguage  language,
int  debugOptions 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShConstructLinker()

ShHandle ShConstructLinker ( const EShExecutable  executable,
int  debugOptions 
)
Here is the call graph for this function:

◆ ShConstructUniformMap()

ShHandle ShConstructUniformMap ( )
Here is the call graph for this function:

◆ ShDestruct()

void ShDestruct ( ShHandle  handle)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShExcludeAttributes()

int ShExcludeAttributes ( const ShHandle  handle,
int *  attributes,
int  count 
)
Here is the call graph for this function:

◆ ShFinalize()

int __fastcall ShFinalize ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShGetExecutable()

const void* ShGetExecutable ( const ShHandle  handle)
Here is the call graph for this function:

◆ ShGetInfoLog()

const char* ShGetInfoLog ( const ShHandle  handle)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShGetUniformLocation()

int ShGetUniformLocation ( const ShHandle  handle,
const char *  name 
)
Here is the call graph for this function:

◆ ShInitialize()

int ShInitialize ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShLinkExt()

int ShLinkExt ( const ShHandle  linkHandle,
const ShHandle  compHandles[],
const int  numHandles 
)
Here is the call graph for this function:

◆ ShSetEncryptionMethod()

void ShSetEncryptionMethod ( ShHandle  handle)

◆ ShSetFixedAttributeBindings()

int ShSetFixedAttributeBindings ( const ShHandle  handle,
const ShBindingTable table 
)
Here is the call graph for this function:

◆ ShSetVirtualAttributeBindings()

int ShSetVirtualAttributeBindings ( const ShHandle  handle,
const ShBindingTable table 
)
Here is the call graph for this function: