Home
last modified time | relevance | path

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

/external/spirv-llvm/lib/SPIRV/runtime/OpenCL/src/
DImageQuerySize.cl17 #define DEFINE_SPIRV_ImageQuerySizeLod_2d(ImgTy) \
18 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySizeLod(ImgTy img, int lod) { \
22 #define DEFINE_SPIRV_ImageQuerySizeLod_2darray(ImgTy) \
23 __attribute__((overloadable, always_inline)) int3 __spirv_ImageQuerySizeLod(ImgTy img, int lod) { \
27 #define DEFINE_SPIRV_ImageQuerySize_2d(ImgTy) \
28 __attribute__((overloadable, always_inline)) int2 __spirv_ImageQuerySize(ImgTy img) { \
32 #define DEFINE_SPIRV_ImageQuerySize_2darray(ImgTy) \
33 __attribute__((overloadable, always_inline)) int3 __spirv_ImageQuerySize(ImgTy img) { \
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVType.h485 :SPIRVType(M, FixedWC, OC, TheId), ImgTy(TheImgTy){ in SPIRVTypeSampledImage()
488 SPIRVTypeSampledImage():SPIRVType(OC), ImgTy(nullptr){ in SPIRVTypeSampledImage()
492 return ImgTy; in getImageType()
496 ImgTy = TheImgTy; in setImageType()
500 return std::vector<SPIRVEntry*>(1, ImgTy); in getNonLiteralOperands()
504 SPIRVTypeImage *ImgTy;
505 _SPIRV_DEF_ENCDEC2(Id, ImgTy) in _SPIRV_DEF_ENCDEC2() argument
509 assert(ImgTy && ImgTy->isTypeImage()); in _SPIRV_DEF_ENCDEC2()