Home
last modified time | relevance | path

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

/external/spirv-llvm/lib/SPIRV/
DSPIRVToOCL20.cpp225 unsigned imgDim = 0; in visitCallSPRIVImageQuerySize() local
229 imgDim = 1; in visitCallSPRIVImageQuerySize()
231 imgDim = 2; in visitCallSPRIVImageQuerySize()
233 imgDim = 3; in visitCallSPRIVImageQuerySize()
235 assert(imgDim != 0 && "unexpected image dimensionality"); in visitCallSPRIVImageQuerySize()
246 if (imgDim == 1) { in visitCallSPRIVImageQuerySize()
261 assert((imgDim == 2 || imgDim == 3) && "invalid image type"); in visitCallSPRIVImageQuerySize()
264 const unsigned imgDimRetEls = imgDim == 2 ? 2 : 4; in visitCallSPRIVImageQuerySize()
281 if (imgArray || imgDim == 3) { in visitCallSPRIVImageQuerySize()
286 if (imgDim == 1) { in visitCallSPRIVImageQuerySize()
[all …]