Beispiel #1
0
 // Loads the dxil.dll library, needed to create a pipeline state for a shader to dispatch
 static ShaderCompiler()
 {
     Dxil.LoadLibrary();
     Library = Dxc.CreateDxcLibrary(); // This needs to be loaded after dxil.dll
 }
Beispiel #2
0
 static ShaderCompiler()
 {
     Dxil.LoadLibrary();
 }