diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2022-02-03 09:28:54 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-03 09:28:54 -0500 |
| commit | 3aaa586c90a688e035e2941a2e0327bd96a681cb (patch) | |
| tree | 31f73cb42bdb1bca65b294124f37e6109011b533 /tests/experiments/generic/type-to-value-3.slang | |
| parent | 5deb82929d289d6341e1919ee95b18b10f6db789 (diff) | |
'Explicit specialization' experiments with extensions (#2099)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Explicit specialization with multiple parameters.
* Fix tabs.
* Small improvements in test comments.
Diffstat (limited to 'tests/experiments/generic/type-to-value-3.slang')
| -rw-r--r-- | tests/experiments/generic/type-to-value-3.slang | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/experiments/generic/type-to-value-3.slang b/tests/experiments/generic/type-to-value-3.slang index 773c0fe5c..e6ddb13c0 100644 --- a/tests/experiments/generic/type-to-value-3.slang +++ b/tests/experiments/generic/type-to-value-3.slang @@ -3,6 +3,9 @@ /* Test here is to try and associate a value with a type This does work. + +Note that it *requires* the getType<T> function as if we try to call say int.getType(), we get an error around +swizzling. */ //TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer |
