• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "src/libShaderTranslator/ShaderTranslator.h"
2 
STInitialize(void)3 ANGLE_EXPORT void STInitialize(void) { }
STFinalize(void)4 ANGLE_EXPORT void STFinalize(void) { }
5 
6 ANGLE_EXPORT ST_BuiltInResources*
STGenerateResources(ST_BuiltInResources * pResources)7 STGenerateResources(ST_BuiltInResources *pResources) { return nullptr; }
8 
STCompileAndResolve(const ST_ShaderCompileInfo * pInfo,ST_ShaderCompileResult ** ppResult)9 ANGLE_EXPORT void STCompileAndResolve(
10     const ST_ShaderCompileInfo* pInfo,
11     ST_ShaderCompileResult** ppResult) { }
12 
STFreeShaderResolveState(ST_ShaderCompileResult * state)13 ANGLE_EXPORT void STFreeShaderResolveState(
14     ST_ShaderCompileResult* state) { }
15 
STCopyVariable(const ST_ShaderVariable * pInput)16 ANGLE_EXPORT ST_ShaderVariable STCopyVariable(const ST_ShaderVariable* pInput) {
17     ST_ShaderVariable v; return v;
18 }
19 
STCopyInterfaceBlock(const ST_InterfaceBlock * pInput)20 ANGLE_EXPORT ST_InterfaceBlock STCopyInterfaceBlock(const ST_InterfaceBlock* pInput) {
21     ST_InterfaceBlock i; return i;
22 }
23 
STDestroyVariable(ST_ShaderVariable * pInput)24 ANGLE_EXPORT void STDestroyVariable(ST_ShaderVariable* pInput) { }
STDestroyInterfaceBlock(ST_InterfaceBlock * pInput)25 ANGLE_EXPORT void STDestroyInterfaceBlock(ST_InterfaceBlock* pInput) { }
26