diff options
| author | kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> | 2024-07-23 23:44:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 21:44:47 -0700 |
| commit | 5339f613cefd5d048bd8fba0a1f275184a229b96 (patch) | |
| tree | dbbb4c1c3febacae78d06b9184ed3da57c6ad1a0 /tools/slangd/main.cpp | |
| parent | 72f7ea60461df520668de0947f350b85219db577 (diff) | |
Allow only specific spv storage classes for binding decoration (#4713)
* Allow only specific spv storage classes for binding decoration
In
https://registry.khronos.org/vulkan/specs/1.3/html/chap37.html#VUID-StandaloneSpirv-DescriptorSet-06491
it states that
If a variable is decorated by DescriptorSet or Binding, the Storage
class must be UniformConstant, Uniform and StorageBuffer.
So apply this rule to our emit-spirv logic.
* Add a unit test
* Address few comments
Diffstat (limited to 'tools/slangd/main.cpp')
0 files changed, 0 insertions, 0 deletions
