Home
last modified time | relevance | path

Searched refs:memoryLayout (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp457 void SPIRVCodeGenerator::writeStruct(const Type& type, const MemoryLayout& memoryLayout, in writeStruct() argument
464 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() local
3067 SpvId typeId = this->getType(type, memoryLayout); in writeInterfaceBlock()
DSkSLMetalCodeGenerator.cpp2017 MemoryLayout memoryLayout(MemoryLayout::kMetal_Standard); in writeFields() local
2041 int alignment = memoryLayout.alignment(*fieldType); in writeFields()
2049 size_t fieldSize = memoryLayout.size(*fieldType); in writeFields()