Files
2026-08-26 03:18:05 -07:00

25 lines
610 B
C++

#include <iostream>
// #include <sophia/application.hpp>
#include <sophia/compute_smoke_test.hpp>
#include <stdexcept>
int main(int argc, const char** argv) {
(void)argc;
(void)argv;
std::cout << __FILE__ << "::" << __LINE__ << '\n';
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;
}
// sophia::Application app{
// {.width = 750, .height = 1000, .name = "Testbed", .headless = true}};
// app.run();
return EXIT_SUCCESS;
}