Searched refs:imgType (Results 1 – 1 of 1) sorted by relevance
996 static unsigned getNumSizeComponents(SPIRVType *imgType) { in getNumSizeComponents() argument997 assert(imgType->getOpcode() == SPIRV::OpTypeImage); in getNumSizeComponents()998 auto dim = static_cast<SPIRV::Dim::Dim>(imgType->getOperand(2).getImm()); in getNumSizeComponents()1000 bool arrayed = imgType->getOperand(4).getImm() == 1; in getNumSizeComponents()