Skip to content

Commit 2ca2e9a

Browse files
committed
Add hardcoded entrypoint names to the docs
1 parent 1fde6ca commit 2ca2e9a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/src/testing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ harness will save the resulting display buffers to images and compare them, fail
7373
they do not match. If they do not match, their paths will be output so that you can
7474
determine what is different.
7575

76+
You must currently name your fragment entrypoint `main_fs` and your vertex entry point
77+
`main_vs`.
78+
7679
### Compute Kernels / Shaders
7780

7881
Tests in "pipelines/compute/" are used for compute shaders. The test harness will
@@ -86,6 +89,8 @@ The output type is specified by a comment directive:
8689

8790
Valid values are `[u8]`, `f32`, and `u32`.
8891

92+
You must currently name your compute entrypoint `main_cs`.
93+
8994
### Fragment and Vertex with Compute Shaders
9095

9196
Tests in "pipelines/mixed/" are used for running vertex, fragment, and compute shaders

0 commit comments

Comments
 (0)