25 ER_UnorderedAccessView,
44 D3D_SHADER_VARIABLE_TYPE GetSimpleParameterTypeFromObjectType(EObjectType ObjectType);
50 friend HRESULT CEffect::CloneEffect(_In_ uint32_t
Flags, _Outptr_ ID3DX11Effect** ppClonedEffect );
69 uint32_t m_dwBufferSize;
82 uint32_t m_OldInterfaceCount;
93 uint32_t m_EffectMemory;
94 uint32_t m_ReflectionMemory;
99 HRESULT LoadObjectVariables();
100 HRESULT LoadInterfaceVariables();
102 HRESULT LoadTypeAndAddToPool(_Outptr_
SType **ppType, _In_ uint32_t dwOffset);
103 HRESULT LoadStringAndAddToPool(_Outptr_result_maybenull_z_
char **ppString, _In_ uint32_t dwOffset);
104 HRESULT LoadAssignments( _In_ uint32_t Assignments, _Out_writes_(Assignments)
SAssignment **pAssignments,
105 _In_ uint8_t *pBackingStore, _Out_opt_ uint32_t *pRTVAssignments, _Out_opt_ uint32_t *pFinalAssignments );
106 HRESULT LoadGroups();
108 HRESULT LoadAnnotations(uint32_t *pcAnnotations,
SAnnotation **ppAnnotations);
110 HRESULT ExecuteConstantAssignment(_In_
const SBinaryConstant *pConstant, _Out_writes_bytes_(4)
void *pLHS, _In_ D3D_SHADER_VARIABLE_TYPE lhsType);
111 uint32_t UnpackData(uint8_t *pDestData, uint8_t *pSrcData, uint32_t PackedDataSize,
SType *pType, uint32_t *pBytesRead);
119 HRESULT InitializeReflectionDataAndMoveStrings( uint32_t KnownSize = 0 );
120 HRESULT ReallocateReflectionData(
bool Cloning =
false );
121 HRESULT ReallocateEffectData(
bool Cloning =
false );
122 HRESULT ReallocateShaderBlocks();
123 template<
class T> HRESULT ReallocateBlockAssignments(T* &pBlocks, uint32_t cBlocks, T* pOldBlocks =
nullptr);
124 HRESULT ReallocateAnnotationData(uint32_t cAnnotations,
SAnnotation **ppAnnotations);
126 HRESULT CalculateAnnotationSize(uint32_t cAnnotations,
SAnnotation *pAnnotations);
127 uint32_t CalculateShaderBlockSize();
128 template<
class T> uint32_t CalculateBlockAssignmentSize(T* &pBlocks, uint32_t cBlocks);
131 HRESULT FixupShaderPointer(_Inout_
SShaderBlock **ppShaderBlock);
133 HRESULT FixupABPointer(_Inout_
SBlendBlock **ppABBlock);
135 HRESULT FixupInterfacePointer(_Inout_
SInterface **ppInterface, _In_
bool CheckBackgroundInterfaces);
136 HRESULT FixupShaderResourcePointer(_Inout_
SShaderResource **ppResource);
138 HRESULT FixupRenderTargetViewPointer(_Inout_
SRenderTargetView **ppRenderTargetView);
139 HRESULT FixupDepthStencilViewPointer(_Inout_
SDepthStencilView **ppDepthStencilView);
140 HRESULT FixupSamplerPointer(_Inout_
SSamplerBlock **ppSampler);
142 HRESULT FixupStringPointer(_Inout_
SString **ppString);
144 HRESULT FixupGroupPointer(_Inout_
SGroup **ppGroup);
148 HRESULT GetStringAndAddToReflection(_In_ uint32_t offset, _Outptr_result_maybenull_z_
char **ppPointer);
149 HRESULT GetUnstructuredDataBlock(_In_ uint32_t offset, _Out_ uint32_t *pdwSize, _Outptr_result_buffer_(*pdwSize)
void **ppData);
151 HRESULT GetInterfaceParametersAndAddToReflection( _In_ uint32_t InterfaceCount, _In_ uint32_t offset, _Outptr_result_buffer_all_maybenull_(InterfaceCount)
SShaderBlock::SInterfaceParameter **ppInterfaces );
156 HRESULT LoadEffect(_In_
CEffect *pEffect, _In_reads_bytes_(cbEffectBuffer)
const void *pEffectBuffer, _In_ uint32_t cbEffectBuffer);
Definition: d3dxGlobal.h:142
Definition: EffectBinaryFormat.h:16
Definition: Effect.h:1057
Definition: d3dxGlobal.h:592
Definition: Effect.h:4949
Definition: EffectBinaryFormat.h:640
Definition: d3dxGlobal.h:429
Definition: EffectLoad.h:30
Definition: EffectLoad.h:48
Definition: Effect.h:4942
Definition: Effect.h:1065
Definition: d3dxGlobal.h:98
Definition: TestJobManager.cpp:22