diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2022-02-09 11:26:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-09 11:26:04 -0500 |
| commit | 160111a0e27c9325ddfc49a53fbb82d3c6f06c90 (patch) | |
| tree | f71557856792e01bd4f55ad3013b16946bc866b6 /tests/experiments/generic/equality-3.slang | |
| parent | d06a78d935b2743494d47ed5cd3f36e38ac9c5ac (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.slang | 4 |
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. */ |
