Skip to content

Commit 544a9c7

Browse files
chore: autopublish 2025-06-18T04:25:45Z
1 parent 33c88f9 commit 544a9c7

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

include/dxc/Support/dxcapi.extval.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ class DxcDllExtValidationSupport : public dxc::DxcDllSupport {
55
// DxcDllExtValidationSupport manages the
66
// lifetime of dxcompiler.dll, while the member, m_DxilSupport,
77
// manages the lifetime of dxil.dll
8-
protected:
8+
protected:
99
dxc::DxcDllSupport DxilSupport;
1010

1111
std::string DxilDllPath;
1212

1313
HRESULT InitializeInternal(LPCSTR dllName, LPCSTR fnName) override;
1414

15-
public:
15+
public:
1616
// override DxcDllSupport's implementation of InitializeInternal,
1717
// adding the environment variable value check for a path to a dxil.dll
1818

1919
std::string GetDxilDllPath() { return DxilDllPath; }
2020
bool DxilDllFailedToLoad() {
2121
return !DxilDllPath.empty() && !DxilSupport.IsEnabled();
2222
}
23-
23+
2424
void Cleanup() override {
2525
DxilSupport.Cleanup();
2626
DxcDllSupport::Cleanup();
2727
}
28-
28+
2929
HMODULE Detach() override {
3030
// Can't Detach and return a handle for DxilSupport. Cleanup() instead.
3131
DxilSupport.Cleanup();

lib/DxcSupport/dxcapi.extval.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// WinIncludes must come before dxcapi.extval.h
55
#include "dxc/Support/dxcapi.extval.h"
66

7-
87
HRESULT DxcDllExtValidationSupport::InitializeInternal(LPCSTR dllName,
98
LPCSTR fnName) {
109
// Load dxcompiler.dll

tools/clang/unittests/HLSL/ValidationTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#include "dxc/Support/Global.h"
3333

3434
#include "dxc/DXIL/DxilShaderModel.h"
35-
#include "dxc/Test/DxcTestUtils.h" // includes dxcapi.use.h
3635
#include "dxc/Support/dxcapi.extval.h"
36+
#include "dxc/Test/DxcTestUtils.h" // includes dxcapi.use.h
3737
#include "dxc/Test/HlslTestUtils.h"
3838

3939
using namespace std;
@@ -4234,7 +4234,7 @@ TEST_F(ValidationTest, ValidateWithExternalValidator) {
42344234
CComPtr<IDxcBlob> pValidationOutput;
42354235
pResult->GetStatus(&status);
42364236
VERIFY_SUCCEEDED(status);
4237-
pResult->GetResult(&pValidationOutput);
4237+
pResult->GetResult(&pValidationOutput);
42384238
}
42394239

42404240
TEST_F(ValidationTest, ValidatePreviewBypassHash) {

0 commit comments

Comments
 (0)