diff --git a/test/tz/gpu_compute_renderer_test.cpp b/test/tz/gpu_compute_renderer_test.cpp index b298c26bdb..cd6d36330c 100644 --- a/test/tz/gpu_compute_renderer_test.cpp +++ b/test/tz/gpu_compute_renderer_test.cpp @@ -1,6 +1,7 @@ #include "tz/topaz.hpp" #include "tz/gpu/hardware.hpp" #include "tz/gpu/pass.hpp" +#include "tz/gpu/graph.hpp" #include ImportedShaderHeader(noop, compute) int main() @@ -17,6 +18,16 @@ int main() .compute = {.kernel = {64u, 64u, 64u}}, .shader = shad })); + + tz::gpu::graph_handle graph = tz_must(tz::gpu::graph_builder{} + .add_pass(pass) + .build()); + + for(std::size_t i = 0; i < 64; i++) + { + tz::gpu::execute(graph); + } + tz::gpu::destroy_pass(pass); tz::terminate();