Browse Source

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

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 ;)
Greg Roth 4 năm trước cách đây
mục cha
commit
028fa6d51f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;