Searched refs:FMT_CASE (Results 1 – 3 of 3) sorted by relevance
/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 …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 1555 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) in mapTextureFormat() macro 1562 case FMT_CASE(RG, UNORM_BYTE_44): return VK_FORMAT_R4G4_UNORM_PACK8; in mapTextureFormat() 1563 case FMT_CASE(RGB, UNORM_SHORT_565): return VK_FORMAT_R5G6B5_UNORM_PACK16; in mapTextureFormat() 1564 case FMT_CASE(RGBA, UNORM_SHORT_4444): return VK_FORMAT_R4G4B4A4_UNORM_PACK16; in mapTextureFormat() 1565 case FMT_CASE(RGBA, UNORM_SHORT_5551): return VK_FORMAT_R5G5B5A1_UNORM_PACK16; in mapTextureFormat() 1567 case FMT_CASE(BGR, UNORM_SHORT_565): return VK_FORMAT_B5G6R5_UNORM_PACK16; in mapTextureFormat() 1568 case FMT_CASE(BGRA, UNORM_SHORT_4444): return VK_FORMAT_B4G4R4A4_UNORM_PACK16; in mapTextureFormat() 1569 case FMT_CASE(BGRA, UNORM_SHORT_5551): return VK_FORMAT_B5G5R5A1_UNORM_PACK16; in mapTextureFormat() 1571 case FMT_CASE(ARGB, UNORM_SHORT_1555): return VK_FORMAT_A1R5G5B5_UNORM_PACK16; in mapTextureFormat() 1573 case FMT_CASE(R, UNORM_INT8): return VK_FORMAT_R8_UNORM; in mapTextureFormat() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_from_tgsi.cpp | 519 #define FMT_CASE(a, b) \ in translateImgFormat() macro 523 FMT_CASE(NONE, NONE); in translateImgFormat() 525 FMT_CASE(R32G32B32A32_FLOAT, RGBA32F); in translateImgFormat() 526 FMT_CASE(R16G16B16A16_FLOAT, RGBA16F); in translateImgFormat() 527 FMT_CASE(R32G32_FLOAT, RG32F); in translateImgFormat() 528 FMT_CASE(R16G16_FLOAT, RG16F); in translateImgFormat() 529 FMT_CASE(R11G11B10_FLOAT, R11G11B10F); in translateImgFormat() 530 FMT_CASE(R32_FLOAT, R32F); in translateImgFormat() 531 FMT_CASE(R16_FLOAT, R16F); in translateImgFormat() 533 FMT_CASE(R32G32B32A32_UINT, RGBA32UI); in translateImgFormat() [all …]
|