MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / CompileCSFromFile

Function CompileCSFromFile

Shadows/SampleFramework11/ShaderCompilation.cpp:397–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397ComputeShaderPtr CompileCSFromFile(ID3D11Device* device,
398 const wchar* path,
399 const char* functionName,
400 const char* profile,
401 const CompileOptions& compileOptions,
402 bool forceOptimization)
403{
404 CompiledComputeShader* compiledShader = new CompiledComputeShader(path, functionName, profile, compileOptions, forceOptimization);
405 CompileShader<ID3D11ComputeShader>(device, compiledShader);
406 CompiledShaders.push_back(compiledShader);
407
408 return compiledShader;
409}
410
411void UpdateShaders(ID3D11Device* device)
412{

Callers 3

LoadShadersMethod · 0.85
ProjectCubemapToSHFunction · 0.85
GetTextureDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected