upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 05:37:54 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 05:37:54 -0500
commitbbf2ff118b407ca30c5347d3dd3c1b294d9309b6 (patch)
treecf899bf41f919c5333f321e1edff4e6eacbbc575 /runtime
parent5663a2927a74b2cb6b1b40e40cf043a027a2b217 (diff)
parent8d40bbf5c3838365f1edf7fc9c9a30c9397873ff (diff)
Merge pull request #1355 from whattheflop
Diffstat (limited to 'runtime')
-rw-r--r--runtime/test/d3d12_predicated_copy_test.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/test/d3d12_predicated_copy_test.cpp b/runtime/test/d3d12_predicated_copy_test.cpp
index 848eaab26..37206ecc0 100644
--- a/runtime/test/d3d12_predicated_copy_test.cpp
+++ b/runtime/test/d3d12_predicated_copy_test.cpp
@@ -196,7 +196,12 @@ int main(int argc,char** argv) {
196 if(FAILED(CreateDXGIFactory1(IID_PPV_ARGS(&factory.p))) || FAILED(factory->EnumWarpAdapter(IID_PPV_ARGS(&adapter.p))) || 196 if(FAILED(CreateDXGIFactory1(IID_PPV_ARGS(&factory.p))) || FAILED(factory->EnumWarpAdapter(IID_PPV_ARGS(&adapter.p))) ||
197 FAILED(D3D12CreateDevice(adapter.p,D3D_FEATURE_LEVEL_11_0,IID_PPV_ARGS(&host.p)))) return 1; 197 FAILED(D3D12CreateDevice(adapter.p,D3D_FEATURE_LEVEL_11_0,IID_PPV_ARGS(&host.p)))) return 1;
198 if(!native_only) { 198 if(!native_only) {
199 if(!vk.create())return 77; // no Vulkan GPU: ctest skips (SKIP_RETURN_CODE 77), as the other registered runtime tests do 199 const auto status = vk.initialize();
200 if (status == vktest::DeviceStatus::unavailable) {
201 std::puts("predicated buffer copies: skipped (no Vulkan device)");
202 return 77;
203 }
204 if (status != vktest::DeviceStatus::ready) return 1;
200 if(!vk.conditional_rendering || !vk.storage_buffer_8bit) { 205 if(!vk.conditional_rendering || !vk.storage_buffer_8bit) {
201 std::puts("predicated buffer copies: skipped (requires conditional rendering and storageBuffer8BitAccess)"); 206 std::puts("predicated buffer copies: skipped (requires conditional rendering and storageBuffer8BitAccess)");
202 return 0; 207 return 0;