diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2023-05-04 15:44:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-04 12:44:09 -0700 |
| commit | c0b6f59a6920a9efbb4ecc3b622529db484c64ef (patch) | |
| tree | f1ee51fb9244da22c4157dfff40cda964ac7b28f /tests/diagnostics/global-uniform.slang.expected | |
| parent | ee62b062e6b606c480c5f7358710b06c933b0efb (diff) | |
Improvements around HLSLToVulkanLayout (#2867)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Improve the HLSLToVulkanLayoutOptions interface.
Add more diagnostics.
Add diagnostics test.
* Add check for global binding using file check.
* Fix issues with some tests around making some diagnostics ids unique.
* Small improvements with doc/handling of vk-<>-shift option setup.
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests/diagnostics/global-uniform.slang.expected')
| -rw-r--r-- | tests/diagnostics/global-uniform.slang.expected | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diagnostics/global-uniform.slang.expected b/tests/diagnostics/global-uniform.slang.expected index 44d3599bb..70877f4bd 100644 --- a/tests/diagnostics/global-uniform.slang.expected +++ b/tests/diagnostics/global-uniform.slang.expected @@ -1,9 +1,9 @@ result code = 0 standard error = { -tests/diagnostics/global-uniform.slang(10): warning 39016: 'b' is implicitly a global shader parameter, not a global variable. If a global variable is intended, add the 'static' modifier. If a uniform shader parameter is intended, add the 'uniform' modifier to silence this warning. +tests/diagnostics/global-uniform.slang(10): warning 39019: 'b' is implicitly a global shader parameter, not a global variable. If a global variable is intended, add the 'static' modifier. If a uniform shader parameter is intended, add the 'uniform' modifier to silence this warning. const uint4 b = uint4(0,1,2,3); ^ -tests/diagnostics/global-uniform.slang(13): warning 39016: 'c' is implicitly a global shader parameter, not a global variable. If a global variable is intended, add the 'static' modifier. If a uniform shader parameter is intended, add the 'uniform' modifier to silence this warning. +tests/diagnostics/global-uniform.slang(13): warning 39019: 'c' is implicitly a global shader parameter, not a global variable. If a global variable is intended, add the 'static' modifier. If a uniform shader parameter is intended, add the 'uniform' modifier to silence this warning. C c; ^ } |
