summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/heterogeneous-hello-world/shader.slang4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/heterogeneous-hello-world/shader.slang b/examples/heterogeneous-hello-world/shader.slang
index f650c3481..b36a2d2c7 100644
--- a/examples/heterogeneous-hello-world/shader.slang
+++ b/examples/heterogeneous-hello-world/shader.slang
@@ -14,3 +14,7 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
ioBuffer[tid] = o;
}
+
+public int prepMain() {
+ return 5;
+}