diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-emit-spirv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp index 320263b25..cf709c438 100644 --- a/source/slang/slang-emit-spirv.cpp +++ b/source/slang/slang-emit-spirv.cpp @@ -5062,7 +5062,7 @@ struct SPIRVEmitContext m_voidType, getNonSemanticDebugInfoExtInst(), elementType, - builder.getIntValue(builder.getUIntType(), getIntVal(vectorType->getElementCount())), + builder.getIntValue(builder.getUIntType(), getIntVal(count)), builder.getBoolValue(isColumnMajor)); } else if (auto basicType = as<IRBasicType>(type)) |
