summaryrefslogtreecommitdiff
path: root/tests/experiments/generic/equality-3.slang
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-02-09 11:26:04 -0500
committerGitHub <noreply@github.com>2022-02-09 11:26:04 -0500
commit160111a0e27c9325ddfc49a53fbb82d3c6f06c90 (patch)
treef71557856792e01bd4f55ad3013b16946bc866b6 /tests/experiments/generic/equality-3.slang
parentd06a78d935b2743494d47ed5cd3f36e38ac9c5ac (diff)
Generic experiments (#2119)
* #include an absolute path didn't work - because paths were taken to always be relative. * Small fixes. Added compiler crash with generic defined in a function. Added enum-flags test that works (by limiting backing type to int), and using __EnumType constraint. * Add comment about crash. * Disable crashing test.
Diffstat (limited to 'tests/experiments/generic/equality-3.slang')
-rw-r--r--tests/experiments/generic/equality-3.slang4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/experiments/generic/equality-3.slang b/tests/experiments/generic/equality-3.slang
index e5e42aedf..033b90415 100644
--- a/tests/experiments/generic/equality-3.slang
+++ b/tests/experiments/generic/equality-3.slang
@@ -2,7 +2,9 @@
/* A test for equality around interface types
-This style is discussed in the documentation here:
+This style is discussed in the documentation here (on This type):
+
+https://github.com/shader-slang/slang/blob/master/docs/user-guide/04-interfaces-generics.md
Still has limitiation that it only works for an an implementation of an interface.
*/