Diligent Engine  v.2.4.g
Namespaces | Macros | Functions
DXCompiler.cpp File Reference
#include <memory>
#include <mutex>
#include <atomic>
#include "DataBlobImpl.hpp"
#include "RefCntAutoPtr.hpp"
#include "ShaderToolsCommon.hpp"
#include "HLSLUtils.hpp"
#include "dxc/DxilContainer/DxilContainer.h"

Namespaces

 Diligent
 The library uses Direct3D-style math:
 

Macros

#define CHECK_PATCHING_ERROR(Cond, ...)
 
#define CHECK_PATCHING_ERROR(Cond, ...)
 
#define CHECK_PATCHING_ERROR(Cond, ...)
 
#define CHECK_PATCHING_ERROR(Cond, ...)
 

Functions

std::unique_ptr< IDXCompiler > Diligent::CreateDXCompiler (DXCompilerTarget Target, Uint32 APIVersion, const char *pLibraryName)
 
bool Diligent::IsDXILBytecode (const void *pBytecode, size_t Size)
 

Macro Definition Documentation

◆ CHECK_PATCHING_ERROR [1/4]

#define CHECK_PATCHING_ERROR (   Cond,
  ... 
)
Value:
if (!(Cond)) \
{ \
LOG_ERROR_AND_THROW("Unable to patch DXIL for resource '", Name, "': ", ##__VA_ARGS__); \
}

◆ CHECK_PATCHING_ERROR [2/4]

#define CHECK_PATCHING_ERROR (   Cond,
  ... 
)
Value:
if (!(Cond)) \
{ \
LOG_ERROR_AND_THROW("Unable to patch DXIL for resource '", Name, "': ", ##__VA_ARGS__); \
}

◆ CHECK_PATCHING_ERROR [3/4]

#define CHECK_PATCHING_ERROR (   Cond,
  ... 
)
Value:
if (!(Cond)) \
{ \
LOG_ERROR_AND_THROW("Unable to patch DXIL: ", ##__VA_ARGS__); \
}

◆ CHECK_PATCHING_ERROR [4/4]

#define CHECK_PATCHING_ERROR (   Cond,
  ... 
)
Value:
if (!(Cond)) \
{ \
LOG_ERROR_AND_THROW("Unable to patch DXIL createHandle(): ", ##__VA_ARGS__); \
}

Variable Documentation

◆ RecordId

Uint32 RecordId = ~0u

◆ SrcBindPoint

Uint32 SrcBindPoint = ~0u

◆ SrcSpace

Uint32 SrcSpace = ~0u

◆ Type

RES_TYPE Type = RES_TYPE_INVALID