diff options
| author | abilliontokens <39147239+abilliontokens@users.noreply.github.com> | 2026-11-21 23:07:39 -0800 |
|---|---|---|
| committer | abilliontokens <39147239+abilliontokens@users.noreply.github.com> | 2026-11-21 23:23:18 -0800 |
| commit | 2933767eaca7bacfac739e9c2bc2c84633221804 (patch) | |
| tree | 34193ce515099e8b87ced129e2596e8b91a7f3e8 /runtime/test/d3d12_method_variants_test.cpp | |
| parent | 9c7e223a3c964430d515f14a6ba918b44381d034 (diff) | |
| parent | 48ad23f0262452b6c3d09db98941bfedb8e9684d (diff) | |
Merge origin/main into d3d90-castable-placed (resolve #1083 conflicts)
Keep-both resolutions per #313's conflict analysis: main's ExecuteIndirect /
acceleration-structure / debug-marker / depth24 / node-mask features alongside
the stack's arena, compute and draw paths. Main's indirect and AS offsets gain
the arena's buffer_offset / heap_base compensation; AS resources on default
heaps get their GENERIC structure over the arena range. Reset clears
stencil_ref_set_ next to reset_state, and OMSetStencilRef sets it. README takes
main's (the crypto-token lines stay deleted).
Diffstat (limited to 'runtime/test/d3d12_method_variants_test.cpp')
| -rw-r--r-- | runtime/test/d3d12_method_variants_test.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/test/d3d12_method_variants_test.cpp b/runtime/test/d3d12_method_variants_test.cpp index 8f84c99cd..943577fff 100644 --- a/runtime/test/d3d12_method_variants_test.cpp +++ b/runtime/test/d3d12_method_variants_test.cpp | |||
| @@ -112,6 +112,8 @@ std::vector<Case> cases() { | |||
| 112 | {"full mip chain", D3D12_HEAP_TYPE_DEFAULT, | 112 | {"full mip chain", D3D12_HEAP_TYPE_DEFAULT, |
| 113 | texture_desc(16, 16, DXGI_FORMAT_R16G16B16A16_FLOAT, D3D12_RESOURCE_FLAG_NONE, 0, 2)}, | 113 | texture_desc(16, 16, DXGI_FORMAT_R16G16B16A16_FLOAT, D3D12_RESOURCE_FLAG_NONE, 0, 2)}, |
| 114 | {"BC7 array", D3D12_HEAP_TYPE_DEFAULT, texture_desc(8, 8, DXGI_FORMAT_BC7_UNORM, D3D12_RESOURCE_FLAG_NONE, 1, 3)}, | 114 | {"BC7 array", D3D12_HEAP_TYPE_DEFAULT, texture_desc(8, 8, DXGI_FORMAT_BC7_UNORM, D3D12_RESOURCE_FLAG_NONE, 1, 3)}, |
| 115 | {"XR_BIAS texture", D3D12_HEAP_TYPE_DEFAULT, | ||
| 116 | texture_desc(8, 8, DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM, D3D12_RESOURCE_FLAG_NONE)}, | ||
| 115 | {"volume", D3D12_HEAP_TYPE_DEFAULT, volume_desc(0)}, | 117 | {"volume", D3D12_HEAP_TYPE_DEFAULT, volume_desc(0)}, |
| 116 | {"multisampled", D3D12_HEAP_TYPE_DEFAULT, ms}, | 118 | {"multisampled", D3D12_HEAP_TYPE_DEFAULT, ms}, |
| 117 | // Refused by the base method; each variant must refuse them the same way. | 119 | // Refused by the base method; each variant must refuse them the same way. |
| @@ -268,7 +270,9 @@ std::vector<Edge> edge_answers(ID3D12Device10* device) { | |||
| 268 | 270 | ||
| 269 | int main() { | 271 | int main() { |
| 270 | vktest::Device d; | 272 | vktest::Device d; |
| 271 | EXPECT(d.create()); | 273 | const auto device_status = d.initialize(); |
| 274 | if (device_status == vktest::DeviceStatus::unavailable) return 77; // no Vulkan GPU: ctest skips | ||
| 275 | if (device_status != vktest::DeviceStatus::ready) return 1; | ||
| 272 | { | 276 | { |
| 273 | rt::d3d12::VulkanDeviceInfo info{}; | 277 | rt::d3d12::VulkanDeviceInfo info{}; |
| 274 | info.get_instance_proc = d.instance_proc; | 278 | info.get_instance_proc = d.instance_proc; |