Lines Matching refs:storageClass
617 SpvId SPIRVCodeGenerator::getPointerType(const Type& type, SpvStorageClass_ storageClass) { in getPointerType() argument
618 return this->getPointerType(type, fDefaultLayout, storageClass); in getPointerType()
622 SpvStorageClass_ storageClass) { in getPointerType() argument
624 String key = type.description() + "*" + to_string(layout.fStd) + to_string(storageClass); in getPointerType()
628 this->writeInstruction(SpvOpTypePointer, result, storageClass, in getPointerType()
2658 SpvStorageClass_ storageClass = get_storage_class(intf.fVariable.fModifiers); in writeInterfaceBlock() local
2660 this->writeInstruction(SpvOpTypePointer, ptrType, storageClass, typeId, fConstantBuffer); in writeInterfaceBlock()
2661 this->writeInstruction(SpvOpVariable, ptrType, result, storageClass, fConstantBuffer); in writeInterfaceBlock()
2714 SpvStorageClass_ storageClass; in writeGlobalVars() local
2716 storageClass = SpvStorageClassInput; in writeGlobalVars()
2718 storageClass = SpvStorageClassOutput; in writeGlobalVars()
2721 storageClass = SpvStorageClassUniformConstant; in writeGlobalVars()
2723 storageClass = SpvStorageClassUniform; in writeGlobalVars()
2726 storageClass = SpvStorageClassPrivate; in writeGlobalVars()
2734 storageClass); in writeGlobalVars()
2736 type = this->getPointerType(var->fType, storageClass); in writeGlobalVars()
2738 this->writeInstruction(SpvOpVariable, type, id, storageClass, fConstantBuffer); in writeGlobalVars()