upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_harness.cpp
diff options
context:
space:
mode:
authorAGInformatique81 <327468329+AGInformatique81@users.noreply.github.com>2026-11-23 03:08:22 +0100
committerAGInformatique81 <327468329+AGInformatique81@users.noreply.github.com>2026-11-23 03:08:22 +0100
commitc3afb65c2fb3c1a7ad633a98f22450d78b6929fe (patch)
tree51dc72711050438ad34c1f511b51f4983e0748bb /runtime/test/vk_harness.cpp
parent03b09a086592a197db64d91655c6e65c30764d96 (diff)
Report Vulkan pipeline binary export failures
Diffstat (limited to 'runtime/test/vk_harness.cpp')
-rw-r--r--runtime/test/vk_harness.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/test/vk_harness.cpp b/runtime/test/vk_harness.cpp
index a9b97d31e..6630488b0 100644
--- a/runtime/test/vk_harness.cpp
+++ b/runtime/test/vk_harness.cpp
@@ -771,6 +771,11 @@ int main(int argc, char** argv) {
771 f.write(reinterpret_cast<const char*>(&n64), 8); 771 f.write(reinterpret_cast<const char*>(&n64), 8);
772 f.write(data.data(), std::streamsize(n)); 772 f.write(data.data(), std::streamsize(n));
773 } 773 }
774 f.close();
775 if (!f) {
776 std::fprintf(stderr, "failed to write pipeline binaries to %s\n", bin_out);
777 return 1;
778 }
774 std::fprintf(stderr, "wrote %u pipeline binaries to %s\n", count, bin_out); 779 std::fprintf(stderr, "wrote %u pipeline binaries to %s\n", count, bin_out);
775 } 780 }
776 VkPipeline cpipe = VK_NULL_HANDLE; 781 VkPipeline cpipe = VK_NULL_HANDLE;