Skip to content

Commit b7687b8

Browse files
committed
Fix Shader read path bug
1 parent cb368ef commit b7687b8

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

HDR10Capture2019/00README.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Extract all and run HDR10Capture.exe
33

44
Tested capture card: DeckLink Mini Recorder 4K.
55

6+
Version 1.6
7+
8+
-Fix shader file load path bug.
9+
610
Version 1.5
711

812
-Read commandline specified image file

HDR10Capture2019/MLDX12Common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void
99
MLDX12Common::SetupPSO(ID3D12Device *device, DXGI_FORMAT rtvFormat, ID3D12RootSignature * rootSignature, const wchar_t* vsShaderName, const wchar_t *psShaderName, ComPtr<ID3D12PipelineState> & pso) {
1010
WCHAR s[512];
1111
GetAssetsPath(s, _countof(s));
12-
std::wstring assetsPath = assetsPath;
12+
std::wstring assetsPath = s;
1313

1414
ComPtr<ID3DBlob> vertexShader;
1515
ComPtr<ID3DBlob> pixelShader;

HDR10Capture2019/Resource.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
6161
//
6262

6363
VS_VERSION_INFO VERSIONINFO
64-
FILEVERSION 1,5,0,1
65-
PRODUCTVERSION 1,5,0,1
64+
FILEVERSION 1,6,0,1
65+
PRODUCTVERSION 1,6,0,1
6666
FILEFLAGSMASK 0x3fL
6767
#ifdef _DEBUG
6868
FILEFLAGS 0x1L
@@ -79,12 +79,12 @@ BEGIN
7979
BEGIN
8080
VALUE "CompanyName", "TODO: <Company name>"
8181
VALUE "FileDescription", "HDR10Capture"
82-
VALUE "FileVersion", "1.5.0.1"
82+
VALUE "FileVersion", "1.6.0.1"
8383
VALUE "InternalName", "HDR10Capture"
8484
VALUE "LegalCopyright", "Copyright (C) 2020"
8585
VALUE "OriginalFilename", "HDR10Capture.exe"
8686
VALUE "ProductName", "HDR10Capture"
87-
VALUE "ProductVersion", "1.5.0.1"
87+
VALUE "ProductVersion", "1.6.0.1"
8888
END
8989
END
9090
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)