Lines Matching refs:storageClass
746 SpvId SPIRVCodeGenerator::getPointerType(const Type& type, SpvStorageClass_ storageClass) { in getPointerType() argument
747 return this->getPointerType(type, fDefaultLayout, storageClass); in getPointerType()
751 SpvStorageClass_ storageClass) { in getPointerType() argument
753 String key = type.displayName() + "*" + to_string(layout.fStd) + to_string(storageClass); in getPointerType()
757 this->writeInstruction(SpvOpTypePointer, result, storageClass, in getPointerType()
3022 SpvStorageClass_ storageClass = get_storage_class(intf.variable(), SpvStorageClassFunction); in writeInterfaceBlock() local
3072 this->writeInstruction(SpvOpTypePointer, ptrType, storageClass, typeId, fConstantBuffer); in writeInterfaceBlock()
3073 this->writeInstruction(SpvOpVariable, ptrType, result, storageClass, fConstantBuffer); in writeInterfaceBlock()
3112 SpvStorageClass_ storageClass = get_storage_class(var, SpvStorageClassPrivate); in writeGlobalVar() local
3113 if (storageClass == SpvStorageClassUniform) { in writeGlobalVar()
3120 if (layout.fSet < 0 && storageClass == SpvStorageClassUniformConstant) { in writeGlobalVar()
3125 SpvId typeId = this->getPointerType(type, storageClass); in writeGlobalVar()
3126 this->writeInstruction(SpvOpVariable, typeId, id, storageClass, fConstantBuffer); in writeGlobalVar()