Exemplo n.º 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
 }
Exemplo n.º 2
0
 static ShaderCompiler()
 {
     Dxil.LoadLibrary();
 }