// 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 }
static ShaderCompiler() { Dxil.LoadLibrary(); }