File tree Expand file tree Collapse file tree 2 files changed +3
-31
lines changed Expand file tree Collapse file tree 2 files changed +3
-31
lines changed Original file line number Diff line number Diff line change @@ -26,26 +26,7 @@ class DxcDllExtValidationLoader : public DllLoader {
26
26
27
27
HRESULT Initialize () { return InitializeInternal (" DxcCreateInstance" ); }
28
28
29
- /* Note, OverrideDll takes this dll argument and ignores it
30
- to satisfy the IDllLoader interface. The parameter is ignored
31
- because the relevant dlls are specific and known: dxcompiler.dll
32
- and dxil.dll. This class is not designed to handle any other dlls */
33
- HRESULT OverrideDll (LPCSTR dll, LPCSTR entryPoint) {
34
- return InitializeInternal (entryPoint);
35
- }
36
-
37
- bool HasCreateWithMalloc () const {
38
- assert (DxCompilerSupport.HasCreateWithMalloc () &&
39
- DxilExtValSupport.HasCreateWithMalloc ());
40
- return true ;
41
- }
42
-
29
+
43
30
bool IsEnabled () const override { return DxCompilerSupport.IsEnabled (); }
44
-
45
- HMODULE Detach () {
46
- // Can't Detach and return a handle for DxilSupport. Cleanup() instead.
47
- DxilExtValSupport.Cleanup ();
48
- return DxCompilerSupport.Detach ();
49
- }
50
31
};
51
- } // namespace dxc
32
+ } // namespace dxc
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class DllLoader {
31
31
32
32
public:
33
33
DllLoader () = default ;
34
- DllLoader (const DllLoader &) = delete ;
34
+ DllLoader (const DllLoader &) = default ; // needed for HlslIntellisenseSupport
35
35
DllLoader (DllLoader &&) = delete ;
36
36
37
37
template <typename TInterface>
@@ -115,15 +115,6 @@ class SpecificDllLoader : public DllLoader {
115
115
SpecificDllLoader ()
116
116
: m_dll(nullptr ), m_createFn(nullptr ), m_createFn2(nullptr ) {}
117
117
118
- SpecificDllLoader (SpecificDllLoader &&other) {
119
- m_dll = other.m_dll ;
120
- other.m_dll = nullptr ;
121
- m_createFn = other.m_createFn ;
122
- other.m_createFn = nullptr ;
123
- m_createFn2 = other.m_createFn2 ;
124
- other.m_createFn2 = nullptr ;
125
- }
126
-
127
118
~SpecificDllLoader () override { Cleanup (); }
128
119
129
120
HRESULT Initialize () {
You can’t perform that action at this time.
0 commit comments