File tree Expand file tree Collapse file tree
tools/clang/unittests/HLSL Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -910,7 +910,7 @@ class ExecutionTest {
910910
911911#if defined(NTDDI_WIN10_CU) && WDK_NTDDI_VERSION >= NTDDI_WIN10_CU
912912 // Copy common fields from desc0 to desc1 and zero out the new one
913- void CopyDesc0ToDesc1 (D3D12_RESOURCE_DESC1 &desc1, const D3D12_RESOURCE_DESC1 &desc0) {
913+ void CopyDesc0ToDesc1 (D3D12_RESOURCE_DESC1 &desc1, const D3D12_RESOURCE_DESC &desc0) {
914914 desc1.Dimension = desc0.Dimension ;
915915 desc1.Alignment = desc0.Alignment ;
916916 desc1.Width = desc0.Width ;
@@ -956,7 +956,7 @@ class ExecutionTest {
956956 CComPtr<ID3D12Device10> pDevice10;
957957 // Copy resDesc0 to resDesc1 zeroing anything new
958958 D3D12_RESOURCE_DESC1 resDesc1 = {0 };
959- CopyDesc0ToDesc1 (resDesc1, resDesc) {
959+ CopyDesc0ToDesc1 (resDesc1, resDesc);
960960 VERIFY_SUCCEEDED (pDevice->QueryInterface (IID_PPV_ARGS (&pDevice10)));
961961 VERIFY_SUCCEEDED (pDevice10->CreateCommittedResource3 (
962962 &defaultHeapProperties,
You can’t perform that action at this time.
0 commit comments