diff options
| author | Alexey Panteleev <alpanteleev@nvidia.com> | 2022-04-13 14:24:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-13 14:24:58 -0700 |
| commit | 5ffd3048df2d7faf30ca8192c117d73e908212cd (patch) | |
| tree | 98f4cc81a394c4274b511f4edee6a4ae90ea4680 /source/slang/hlsl.meta.slang | |
| parent | c949d5005ede13840d086214d6fe64f2b0fefed5 (diff) | |
Callable shader fix and explicit payload locations for GLSL (#2185)
* Fixed the callable shader payload type for GLSL.
* Added location parameters to the __vulkanRayPayload and __vulkanCallablePayload attributes.
The default value is -1 which means use the old auto-assignment logic.
* Fixed the vkray/callable-caller test.
Diffstat (limited to 'source/slang/hlsl.meta.slang')
| -rw-r--r-- | source/slang/hlsl.meta.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/hlsl.meta.slang b/source/slang/hlsl.meta.slang index 971efcfcc..e404aa626 100644 --- a/source/slang/hlsl.meta.slang +++ b/source/slang/hlsl.meta.slang @@ -4500,7 +4500,7 @@ __generic<Payload> __specialized_for_target(glsl) void CallShader(uint shaderIndex, inout Payload payload) { - [__vulkanRayPayload] + [__vulkanCallablePayload] static Payload p; p = payload; |
