diff options
| -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; |
