Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp996 static unsigned getNumSizeComponents(SPIRVType *imgType) { in getNumSizeComponents() argument
997 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()