Fix Windows Vulkan driver discovery and add fast graphics-data checks

This commit is contained in:
Emil
2026-09-18 04:47:13 +03:00
parent d834cfad67
commit 5ac4db438d
5 changed files with 229 additions and 7 deletions
+2
View File
@@ -264,6 +264,8 @@ void run() {
auto importedScene = scene;
importedScene["entities"][1]["components"][1]["fields"]["asset"] = imported.asset_id;
snapshot = view.build(importedScene, 1);
for (const auto& diagnostic : view.diagnostics())
std::cerr << "Cooked fixture: " << diagnostic << '\n';
check(view.diagnostics().empty(), "valid cooked texture/material produces no error");
check(snapshot.draws.size() == 1 && snapshot.draws[0].mesh->vertices.size() == 3,
"cooked mesh reaches render snapshot");