summaryrefslogtreecommitdiffstats
path: root/examples/hello-world
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello-world')
-rw-r--r--examples/hello-world/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/hello-world/main.cpp b/examples/hello-world/main.cpp
index 87d440901..526ab1a2a 100644
--- a/examples/hello-world/main.cpp
+++ b/examples/hello-world/main.cpp
@@ -70,6 +70,7 @@ struct HelloWorldExample : public TestBase
int main(int argc, char* argv[])
{
+ fprintf(stdout, "Hello, world! Entry Point\n");
initDebugCallback();
HelloWorldExample example;
example.parseOption(argc, argv);
@@ -83,10 +84,19 @@ int main(int argc, char* argv[])
int HelloWorldExample::run()
{
RETURN_ON_FAIL(initVulkanInstanceAndDevice());
+ fprintf(stdout, "initVulkanInstanceAndDevice done\n");
+
RETURN_ON_FAIL(createComputePipelineFromShader());
+ fprintf(stdout, "createComputePipelineFromShader done\n");
+
RETURN_ON_FAIL(createInOutBuffers());
+ fprintf(stdout, "createInOutBuffers done\n");
+
RETURN_ON_FAIL(dispatchCompute());
+ fprintf(stdout, "dispatchCompute done\n");
+
RETURN_ON_FAIL(printComputeResults());
+ fprintf(stdout, "printComputeResults done\n");
return 0;
}