summaryrefslogtreecommitdiff
path: root/tests/doc/doc-req.slang.expected
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-03-15 12:48:20 -0400
committerGitHub <noreply@github.com>2021-03-15 09:48:20 -0700
commitb6de9a0091ab6a7414b46c7eb50f25b9512fb455 (patch)
treeadc37f1942d848446182f0dbb72dd1f487dbb587 /tests/doc/doc-req.slang.expected
parentd8150e70612b58fb1cfefa262d3d862a6e6e79ba (diff)
Test Doc System (#1754)
* #include an absolute path didn't work - because paths were taken to always be relative. * Use capability system in docs. Simplify how requirements/availability is produced. * Small fixes in output of availablity. * Updated stdlib doc. * Small improvements. * Added doc test type. Improved readability of straight .md text Made -doc option output to diagnostic stream. * Add test for checking requirements info is correctly extracted. Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'tests/doc/doc-req.slang.expected')
-rw-r--r--tests/doc/doc-req.slang.expected18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/doc/doc-req.slang.expected b/tests/doc/doc-req.slang.expected
new file mode 100644
index 000000000..51421cdc7
--- /dev/null
+++ b/tests/doc/doc-req.slang.expected
@@ -0,0 +1,18 @@
+result code = 0
+standard error = {
+--------------------------------------------------------------------------------
+# `doThing`
+
+## Signature
+
+```
+void doThing();
+```
+
+## Availability
+
+**GLSL** `GL_EXT_NiftyExtension`, `SPIR-V 1.3` **HLSL** `NVAPI` **CPP** **CUDA** `SM 2.0`
+
+}
+standard output = {
+}