diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2024-04-19 16:39:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-19 13:39:05 -0700 |
| commit | adbaf8f23d7ef8c8e7786e8be706a47adce3f2ef (patch) | |
| tree | 044f4ce03a172557997de5237a65e3342a35e3ea /tests/language-feature/capability/capability4.slang | |
| parent | 7c162eba5329eae7755e55298a455a144fcb0dce (diff) | |
add `-ignore-capabilities` flag (#3984)
`-ignore-capabilities` flag allows ignoring capability incompatibilities/discontinuity errors/warnings. We still process capabilities (needed for stdlib).
Added to capability tests to ensure everything is working as intended. More will be added in the full stdlib capabilities implementation.
Diffstat (limited to 'tests/language-feature/capability/capability4.slang')
| -rw-r--r-- | tests/language-feature/capability/capability4.slang | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/language-feature/capability/capability4.slang b/tests/language-feature/capability/capability4.slang index fce1f78ac..f6ee30339 100644 --- a/tests/language-feature/capability/capability4.slang +++ b/tests/language-feature/capability/capability4.slang @@ -1,4 +1,6 @@ //TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly -entry main -stage compute +//TEST:SIMPLE(filecheck=CHECK_IGNORE_CAPS): -target spirv -emit-spirv-directly -entry main -stage compute -ignore-capabilities +// CHECK_IGNORE_CAPS-NOT: error 36108 // Check that a non-static member method implictly requires capabilities // defined in ThisType. |
