MCPcopy Create free account
hub / github.com/carbonengine/trinity / CompileEffect

Method CompileEffect

shadercompiler/EffectCompilerDX11.cpp:938–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

936}
937
938bool EffectCompilerDX11::CompileEffect( const char* source, size_t sourceLength, const std::vector<Macro>& defines, EffectData& result, IWorkQueue* workQueue )
939{
940 return CompileEffect( source, sourceLength, defines, result, { nullptr, false }, workQueue );
941}
942
943DWORD GetOptimizationLevel()
944{

Callers 3

CompileShaderFunction · 0.45
CompilesFunction · 0.45
CompileFunction · 0.45

Calls 15

MakeInlineStringFunction · 0.85
PatchCBuffersFunction · 0.85
MergeSamplersFunction · 0.85
ParseStateAssignmentFunction · 0.85
PatchSemanticsFunction · 0.85
MarkUsedSymbolsFunction · 0.85
CreateGlobalsCBFunction · 0.85
AssignRegistersFunction · 0.85
GetOptimizationLevelFunction · 0.85
PrintShaderOutListingFunction · 0.85

Tested by 2

CompilesFunction · 0.36
CompileFunction · 0.36