Răsfoiți Sursa

Rename 64-bit atomic heap resource support bit (#3568)

merge #3567 into release-1.6.2104

Technically, the test matched the spec, but the D3D header didn't. I'm
more interested in making this work than who was right though ;)

(cherry picked from commit 028fa6d51f2e9f34e94ba4ef377cdcb032509960)
Greg Roth 4 ani în urmă
părinte
comite
921b86c808
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      tools/clang/unittests/HLSL/ExecutionTest.cpp

+ 1 - 1
tools/clang/unittests/HLSL/ExecutionTest.cpp

@@ -1232,7 +1232,7 @@ public:
     D3D12_FEATURE_DATA_D3D12_OPTIONS11 O11;
     if (FAILED(pDevice->CheckFeatureSupport((D3D12_FEATURE)D3D12_FEATURE_D3D12_OPTIONS11, &O11, sizeof(O11))))
       return false;
-    return O11.AtomicInt64OnDescriptorHeapResourcesSupported != FALSE;
+    return O11.AtomicInt64OnDescriptorHeapResourceSupported != FALSE;
 #else
     UNREFERENCED_PARAMETER(pDevice);
     return false;