diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2021-01-07 13:16:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-07 13:16:18 -0800 |
| commit | d84f4582c0caa656e7d0ca0e619651f8b4e5ed16 (patch) | |
| tree | 9c2311eef71873dddda407360ff0c96e9802cd4b /tests | |
| parent | 66d4466d680bcd97b7eb561f08bd6da80a1d6c4e (diff) | |
Add a -capability command-line option (#1651)
This provides a stand-alone option distinct from `-profile` that can be used to add capabilities to a target. A test has been added to confirm that `-profile X -capability Y` works the same as `-profile X+Y`.
The intention is that this option could be used in applications that use the API to set up their target but then use the options-parsing logic to handle things like capabilities.
Note: that latter bit has not been confirmed, so it is possible that this approach does not actually suffice for hybrid API + options usage. That will need to be confirmed in follow-up work.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/vkray/callable-caller.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vkray/callable-caller.slang b/tests/vkray/callable-caller.slang index 93d9dd3cb..64311988a 100644 --- a/tests/vkray/callable-caller.slang +++ b/tests/vkray/callable-caller.slang @@ -1,6 +1,6 @@ // callable-caller.slang -//TEST:CROSS_COMPILE: -profile glsl_460+GL_NV_ray_tracing -stage raygeneration -entry main -target spirv-assembly +//TEST:CROSS_COMPILE: -profile glsl_460 -capability GL_NV_ray_tracing -stage raygeneration -entry main -target spirv-assembly import callable_shared; |
