forked from shader-slang/slang
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove warning about unspecified vkbinding
It is permitted that users omit explicit [vk::binding] settings on HLSL-style register definitions. They are just opting into the default implicit mapping, as they would with HLSL->VK in DXC. That does mean register IDs can clash between resources which have different register type but the same register number. Such a problem can be resolved either with explicit bindings ([vk::binding]) in source, or using the "-fvk-binding" slangc options which match DXC behavior. Closes issue shader-slang#5938
- Loading branch information
Showing
3 changed files
with
5 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
tests/diagnostics/hlsl-to-vulkan-shift-diagnostic.hlsl.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters