Big changes

This commit is contained in:
2026-08-26 03:18:05 -07:00
parent d09f01402d
commit 99e06bbbb1
22 changed files with 1127 additions and 135 deletions
+12 -3
View File
@@ -1,5 +1,6 @@
#include <iostream>
#include <sophia/application.hpp>
// #include <sophia/application.hpp>
#include <sophia/compute_smoke_test.hpp>
#include <stdexcept>
int main(int argc, const char** argv) {
@@ -7,9 +8,17 @@ int main(int argc, const char** argv) {
(void)argv;
std::cout << __FILE__ << "::" << __LINE__ << '\n';
sophia::Application app{{.width = 750, .height = 1000, .name = "Testbed"}};
try {
sophia::runComputeSmokeTest(TESTBED_SHADER_DIR "/smoke_test.comp");
} catch (const std::exception& e) {
std::cerr << "Compute smoke test failed: " << e.what() << '\n';
return EXIT_FAILURE;
}
app.run();
// sophia::Application app{
// {.width = 750, .height = 1000, .name = "Testbed", .headless = true}};
// app.run();
return EXIT_SUCCESS;
}