Searched refs:layoutPacking (Results 1 – 10 of 10) sorted by relevance
/third_party/glslang/glslang/MachineIndependent/ |
D | linkValidate.cpp | 1112 if (symbol.getQualifier().layoutPacking != unitSymbol.getQualifier().layoutPacking) { in mergeErrorCheck() 2072 …seAlignment(const TType& type, int& size, int& stride, TLayoutPacking layoutPacking, bool rowMajor) in getBaseAlignment() argument 2076 bool std140 = layoutPacking == glslang::ElpStd140; in getBaseAlignment() 2140 alignment = getBaseAlignment(derefType, size, dummyStride, layoutPacking, rowMajor); in getBaseAlignment() 2162 …int memberAlignment = getBaseAlignment(*memberList[m].type, memberSize, dummyStride, layoutPacking, in getBaseAlignment() 2201 alignment = getBaseAlignment(derefType, size, dummyStride, layoutPacking, rowMajor); in getBaseAlignment() 2295 …erAlignment(const TType& type, int& size, int& stride, TLayoutPacking layoutPacking, bool rowMajor) in getMemberAlignment() argument 2297 if (layoutPacking == glslang::ElpScalar) { in getMemberAlignment() 2300 return getBaseAlignment(type, size, stride, layoutPacking, rowMajor); in getMemberAlignment() 2312 parentType.getQualifier().layoutPacking, in updateOffset() [all …]
|
D | ParseHelper.cpp | 75 globalUniformDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd140 : ElpShared; in TParseContext() 79 globalBufferDefaults.layoutPacking = spvVersion.spv != 0 ? ElpStd430 : ElpShared; in TParseContext() 86 globalSharedDefaults.layoutPacking = ElpStd430; in TParseContext() 295 block.getQualifier().layoutPacking = ElpStd140; in setUniformBlockDefaults() 314 block.getQualifier().layoutPacking = ElpStd430; in setAtomicCounterBlockDefaults() 3955 qualifier.layoutPacking == ElpStd430) in globalQualifierFixCheck() 5588 publicType.qualifier.layoutPacking = ElpPacked; in setLayoutQualifier() 5598 publicType.qualifier.layoutPacking = ElpShared; in setLayoutQualifier() 5602 publicType.qualifier.layoutPacking = ElpStd140; in setLayoutQualifier() 5609 publicType.qualifier.layoutPacking = ElpStd430; in setLayoutQualifier() [all …]
|
D | reflection.cpp | 204 baseType.getQualifier().layoutPacking, in getArrayStride() 1066 …(base->getQualifier().layoutPacking == ElpStd140 || base->getQualifier().layoutPacking == ElpShare… in visitSymbol() 1188 ((pNode->getQualifier().layoutPacking == ElpStd140) || in addStage() 1189 (pNode->getQualifier().layoutPacking == ElpShared))) { in addStage()
|
D | iomapper.cpp | 663 if (qualifier1.layoutPacking != qualifier2.layoutPacking) { in qualifierCheck() 1664 qualifier.layoutPacking = autoPushConstantBlockPacking; in doMap()
|
D | localintermediate.h | 1048 …static int getBaseAlignment(const TType&, int& size, int& stride, TLayoutPacking layoutPacking, bo… 1050 …tMemberAlignment(const TType&, int& size, int& stride, TLayoutPacking layoutPacking, bool rowMajor…
|
D | ParseContextBase.cpp | 684 blockType.getQualifier().layoutPacking = ElpStd430; in growAtomicCounterBlock()
|
/third_party/glslang/glslang/Include/ |
D | Types.h | 790 if (layoutPacking == ElpStd430) { in setBlockStorage() 792 layoutPacking = ElpStd140; in setBlockStorage() 902 TLayoutPacking layoutPacking : 4; variable 972 layoutPacking = ElpNone; in clearUniformLayout() 987 return layoutPacking != ElpNone; in hasPacking() 2155 appendStr(TQualifier::getLayoutPackingString(qualifier.layoutPacking));
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseHelper.h | 63 block.getQualifier().layoutPacking = globalUniformDefaults.layoutPacking; in setUniformBlockDefaults()
|
D | hlslParseHelper.cpp | 77 globalUniformDefaults.layoutPacking = ElpStd140; in HlslParseContext() 81 globalBufferDefaults.layoutPacking = ElpStd430; in HlslParseContext() 3710 …emberAlignment(argArray->getType(), size, stride, argArray->getType().getQualifier().layoutPacking, in decomposeStructBufferMethods() 7491 dst.layoutPacking = src.layoutPacking; in mergeObjectLayoutQualifiers() 8853 type.getQualifier().layoutPacking = ElpStd430; in declareBlock() 9028 …if (qualifier.layoutPacking != ElpStd140 && qualifier.layoutPacking != ElpStd430 && qualifier.layo… in fixBlockUniformOffsets() 9043 qualifier.layoutPacking, in fixBlockUniformOffsets() 9331 globalUniformDefaults.layoutPacking = qualifier.layoutPacking; in updateStandaloneQualifierDefaults() 9337 globalBufferDefaults.layoutPacking = qualifier.layoutPacking; in updateStandaloneQualifierDefaults()
|
/third_party/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 436 switch (type.getQualifier().layoutPacking) { in TranslateLayoutDecoration() 445 switch (type.getQualifier().layoutPacking) { in TranslateLayoutDecoration() 451 assert(type.getQualifier().layoutPacking == glslang::ElpNone); in TranslateLayoutDecoration() 5246 switch (type.getQualifier().layoutPacking) { in getExplicitLayout() 5250 return type.getQualifier().layoutPacking; in getExplicitLayout()
|