diff options
| author | Yong He <yonghe@outlook.com> | 2023-10-25 07:50:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-25 22:50:31 +0800 |
| commit | 017534601e86df53c0669be7dbc6c565d2108be6 (patch) | |
| tree | f3ff70bae26d9bc96f0a0eedd9491abd0faa2313 /tools | |
| parent | 5dc3c2f57963de93ad03724a01ea48b8585dc15a (diff) | |
Use GLSL Scalar layout for vulkan device. (#3285)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gfx/slang-context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gfx/slang-context.h b/tools/gfx/slang-context.h index 61dc9baa4..8ae14d4aa 100644 --- a/tools/gfx/slang-context.h +++ b/tools/gfx/slang-context.h @@ -40,6 +40,7 @@ namespace gfx targetDesc.floatingPointMode = desc.floatingPointMode; targetDesc.lineDirectiveMode = desc.lineDirectiveMode; targetDesc.flags = desc.targetFlags; + targetDesc.forceGLSLScalarBufferLayout = true; slangSessionDesc.targets = &targetDesc; slangSessionDesc.targetCount = 1; |
