浏览代码

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 年之前
父节点
当前提交
028fa6d51f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
     D3D12_FEATURE_DATA_D3D12_OPTIONS11 O11;
     if (FAILED(pDevice->CheckFeatureSupport((D3D12_FEATURE)D3D12_FEATURE_D3D12_OPTIONS11, &O11, sizeof(O11))))
     if (FAILED(pDevice->CheckFeatureSupport((D3D12_FEATURE)D3D12_FEATURE_D3D12_OPTIONS11, &O11, sizeof(O11))))
       return false;
       return false;
-    return O11.AtomicInt64OnDescriptorHeapResourcesSupported != FALSE;
+    return O11.AtomicInt64OnDescriptorHeapResourceSupported != FALSE;
 #else
 #else
     UNREFERENCED_PARAMETER(pDevice);
     UNREFERENCED_PARAMETER(pDevice);
     return false;
     return false;