Searched refs:memoryLayout (Results 1 – 2 of 2) sorted by relevance
457 void SPIRVCodeGenerator::writeStruct(const Type& type, const MemoryLayout& memoryLayout, in writeStruct() argument464 types.push_back(this->getType(*f.fType, memoryLayout)); in writeStruct()479 size_t size = memoryLayout.size(*field.fType); in writeStruct()480 size_t alignment = memoryLayout.alignment(*field.fType); in writeStruct()510 (SpvId) memoryLayout.stride(*field.fType), in writeStruct()3014 MemoryLayout memoryLayout = this->memoryLayoutForVariable(intf.variable()); in writeInterfaceBlock() local3067 SpvId typeId = this->getType(type, memoryLayout); in writeInterfaceBlock()
2017 MemoryLayout memoryLayout(MemoryLayout::kMetal_Standard); in writeFields() local2041 int alignment = memoryLayout.alignment(*fieldType); in writeFields()2049 size_t fieldSize = memoryLayout.size(*fieldType); in writeFields()