Searched refs:FMT_CASE (Results 1 – 2 of 2) sorted by relevance
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 140 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) in mapTextureFormat() macro 147 case FMT_CASE(RG, UNORM_BYTE_44): return VK_FORMAT_R4G4_UNORM_PACK8; in mapTextureFormat() 148 case FMT_CASE(RGB, UNORM_SHORT_565): return VK_FORMAT_R5G6B5_UNORM_PACK16; in mapTextureFormat() 149 case FMT_CASE(RGBA, UNORM_SHORT_4444): return VK_FORMAT_R4G4B4A4_UNORM_PACK16; in mapTextureFormat() 150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return VK_FORMAT_R5G5B5A1_UNORM_PACK16; in mapTextureFormat() 152 case FMT_CASE(BGR, UNORM_SHORT_565): return VK_FORMAT_B5G6R5_UNORM_PACK16; in mapTextureFormat() 153 case FMT_CASE(BGRA, UNORM_SHORT_4444): return VK_FORMAT_B4G4R4A4_UNORM_PACK16; in mapTextureFormat() 154 case FMT_CASE(BGRA, UNORM_SHORT_5551): return VK_FORMAT_B5G5R5A1_UNORM_PACK16; in mapTextureFormat() 156 case FMT_CASE(ARGB, UNORM_SHORT_1555): return VK_FORMAT_A1R5G5B5_UNORM_PACK16; in mapTextureFormat() 158 case FMT_CASE(R, UNORM_INT8): return VK_FORMAT_R8_UNORM; in mapTextureFormat() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 146 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) in getInternalFormat() macro 150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1; in getInternalFormat() 151 case FMT_CASE(RGBA, UNORM_SHORT_4444): return GL_RGBA4; in getInternalFormat() 152 case FMT_CASE(RGB, UNORM_SHORT_565): return GL_RGB565; in getInternalFormat() 153 case FMT_CASE(D, UNORM_INT16): return GL_DEPTH_COMPONENT16; in getInternalFormat() 154 case FMT_CASE(S, UNSIGNED_INT8): return GL_STENCIL_INDEX8; in getInternalFormat() 156 case FMT_CASE(RGBA, FLOAT): return GL_RGBA32F; in getInternalFormat() 157 case FMT_CASE(RGBA, SIGNED_INT32): return GL_RGBA32I; in getInternalFormat() 158 case FMT_CASE(RGBA, UNSIGNED_INT32): return GL_RGBA32UI; in getInternalFormat() 159 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16; in getInternalFormat() [all …]
|