Lines Matching refs:storageClass
623 SpvId SPIRVCodeGenerator::getPointerType(const Type& type, SpvStorageClass_ storageClass) { in getPointerType() argument
624 return this->getPointerType(type, fDefaultLayout, storageClass); in getPointerType()
628 SpvStorageClass_ storageClass) { in getPointerType() argument
630 String key = type.description() + "*" + to_string(layout.fStd) + to_string(storageClass); in getPointerType()
634 this->writeInstruction(SpvOpTypePointer, result, storageClass, in getPointerType()
2646 SpvStorageClass_ storageClass = get_storage_class(intf.fVariable.fModifiers); in writeInterfaceBlock() local
2648 this->writeInstruction(SpvOpTypePointer, ptrType, storageClass, typeId, fConstantBuffer); in writeInterfaceBlock()
2649 this->writeInstruction(SpvOpVariable, ptrType, result, storageClass, fConstantBuffer); in writeInterfaceBlock()
2705 SpvStorageClass_ storageClass; in writeGlobalVars() local
2707 storageClass = SpvStorageClassInput; in writeGlobalVars()
2709 storageClass = SpvStorageClassOutput; in writeGlobalVars()
2712 storageClass = SpvStorageClassUniformConstant; in writeGlobalVars()
2714 storageClass = SpvStorageClassUniform; in writeGlobalVars()
2717 storageClass = SpvStorageClassPrivate; in writeGlobalVars()
2725 storageClass); in writeGlobalVars()
2727 type = this->getPointerType(var->fType, storageClass); in writeGlobalVars()
2729 this->writeInstruction(SpvOpVariable, type, id, storageClass, fConstantBuffer); in writeGlobalVars()