Diligent Engine  v.2.4.g
Namespaces | Macros | Functions
DXBCUtils.cpp File Reference
#include <atlcomcli.h>
#include <d3dcompiler.h>
#include <d3d11shader.h>
#include <array>
#include <vector>
#include "DXBCUtils.hpp"
#include "../../../ThirdParty/GPUOpenShaderUtils/DXBCChecksum.h"

Namespaces

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

Macros

#define FOURCC(a, b, c, d)   (Uint32{(d) << 24} | Uint32{(c) << 16} | Uint32{(b) << 8} | Uint32{a})
 

Functions

bool Diligent::DXBCUtils::RemapResourceBindings (const TResourceBindingMap &ResourceMap, void *pBytecode, size_t Size)
 Remaps resource bindings in the given DXBC byte code. More...
 

Macro Definition Documentation

◆ FOURCC

#define FOURCC (   a,
  b,
  c,
 
)    (Uint32{(d) << 24} | Uint32{(c) << 16} | Uint32{(b) << 8} | Uint32{a})

Variable Documentation

◆ _Padding

Uint32 _Padding

◆ BindCount

Uint32 BindCount

◆ BindPoint

Uint32 BindPoint

◆ CBuffCount

Uint32 CBuffCount

◆ CBuffOffset

Uint32 CBuffOffset

◆ Checksum

Uint32 Checksum[4]

◆ ChunkCount

Uint32 ChunkCount

◆ CompMask

Uint32 CompMask

◆ CompSelection

D3D10_SB_OPERAND_4_COMPONENT_SELECTION_MODE CompSelection

◆ Controls

Uint32 Controls

◆ CreatorStringOffset

Uint32 CreatorStringOffset

◆ Extended

Uint32 Extended

◆ Flags

Uint32 Flags

◆ IndexDim

D3D10_SB_OPERAND_INDEX_DIMENSION IndexDim

◆ Length

Uint32 Length

◆ Magic

Uint32 Magic

◆ MajorVersion

Uint8 MajorVersion

◆ MinorVersion

Uint8 MinorVersion

◆ NameOffset

Uint32 NameOffset

◆ NumComponents

D3D10_SB_OPERAND_NUM_COMPONENTS NumComponents

◆ NumDWords

Uint32 NumDWords

◆ NumSamples

Uint32 NumSamples

◆ OpcodeLength

Uint32 OpcodeLength

◆ OpcodeType

D3D10_SB_OPCODE_TYPE OpcodeType

◆ OperandIndex1D

D3D10_SB_OPERAND_INDEX_REPRESENTATION OperandIndex1D

◆ OperandIndex2D

D3D10_SB_OPERAND_INDEX_REPRESENTATION OperandIndex2D

◆ OperandIndex3D

D3D10_SB_OPERAND_INDEX_REPRESENTATION OperandIndex3D

◆ OperandType

D3D10_SB_OPERAND_TYPE OperandType

◆ ProgramType

PROGRAM_TYPE ProgramType

◆ ResBindingCount

Uint32 ResBindingCount

◆ ResBindingOffset

Uint32 ResBindingOffset

◆ Reserved

Uint32 Reserved

◆ ReturnType

D3D_RESOURCE_RETURN_TYPE ReturnType

◆ ShaderInputFlags

D3D_SHADER_INPUT_FLAGS ShaderInputFlags

◆ ShaderInputType

D3D_SHADER_INPUT_TYPE ShaderInputType

◆ ShaderType

Uint16 ShaderType

◆ Space

Uint32 Space

◆ SrcBindPoint

Uint32 SrcBindPoint = ~0u

◆ SrcSpace

Uint32 SrcSpace = ~0u

◆ TotalSize

Uint32 TotalSize

◆ Type

RES_TYPE Type = RES_TYPE_COUNT

◆ VersionMajor

Uint32 VersionMajor

◆ VersionMinor

Uint32 VersionMinor

◆ ViewDim

D3D_SRV_DIMENSION ViewDim