Diligent Engine  v.2.4.g
Namespaces | Macros | Functions
GLSLangUtils.cpp File Reference
#include <unordered_set>
#include <unordered_map>
#include <memory>
#include <array>
#include "SPIRV/GlslangToSpv.h"
#include "GLSLangUtils.hpp"
#include "DebugUtilities.hpp"
#include "DataBlobImpl.hpp"
#include "RefCntAutoPtr.hpp"
#include "ShaderToolsCommon.hpp"
#include "spirv-tools/optimizer.hpp"
#include "../../GraphicsEngineD3DBase/include/HLSLDefinitions_inc.fxh"

Namespaces

 Diligent
 The library uses Direct3D-style math:
 
 Diligent::GLSLangUtils
 

Macros

#define ENABLE_HLSL
 

Functions

void Diligent::GLSLangUtils::InitializeGlslang ()
 
void Diligent::GLSLangUtils::FinalizeGlslang ()
 
void Diligent::GLSLangUtils::SpvOptimizerMessageConsumer (spv_message_level_t level, const char *, const spv_position_t &, const char *message)
 
std::vector< unsigned int > Diligent::GLSLangUtils::HLSLtoSPIRV (const ShaderCreateInfo &ShaderCI, const char *ExtraDefinitions, IDataBlob **ppCompilerOutput)
 
std::vector< unsigned int > Diligent::GLSLangUtils::GLSLtoSPIRV (SHADER_TYPE ShaderType, const char *ShaderSource, int SourceCodeLen, const ShaderMacro *Macros, IShaderSourceInputStreamFactory *pShaderSourceStreamFactory, SpirvVersion Version, IDataBlob **ppCompilerOutput)
 

Macro Definition Documentation

◆ ENABLE_HLSL

#define ENABLE_HLSL