Searched refs:FMT_CASE (Results 1 – 3 of 3) sorted by relevance
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 2729 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) in mapTextureFormat() macro 2736 case FMT_CASE(RG, UNORM_BYTE_44): return VK_FORMAT_R4G4_UNORM_PACK8; in mapTextureFormat() 2737 case FMT_CASE(RGB, UNORM_SHORT_565): return VK_FORMAT_R5G6B5_UNORM_PACK16; in mapTextureFormat() 2738 case FMT_CASE(RGBA, UNORM_SHORT_4444): return VK_FORMAT_R4G4B4A4_UNORM_PACK16; in mapTextureFormat() 2739 case FMT_CASE(RGBA, UNORM_SHORT_5551): return VK_FORMAT_R5G5B5A1_UNORM_PACK16; in mapTextureFormat() 2741 case FMT_CASE(BGR, UNORM_SHORT_565): return VK_FORMAT_B5G6R5_UNORM_PACK16; in mapTextureFormat() 2742 case FMT_CASE(BGRA, UNORM_SHORT_4444): return VK_FORMAT_B4G4R4A4_UNORM_PACK16; in mapTextureFormat() 2743 case FMT_CASE(BGRA, UNORM_SHORT_5551): return VK_FORMAT_B5G5R5A1_UNORM_PACK16; in mapTextureFormat() 2745 case FMT_CASE(ARGB, UNORM_SHORT_1555): return VK_FORMAT_A1R5G5B5_UNORM_PACK16; in mapTextureFormat() 2747 case FMT_CASE(R, UNORM_INT8): return VK_FORMAT_R8_UNORM; in mapTextureFormat() [all …]
|
/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir.cpp | 1027 #define FMT_CASE(a, b) \ in translateImgFormat() macro 1031 FMT_CASE(NONE, NONE); in translateImgFormat() 1033 FMT_CASE(R32G32B32A32_FLOAT, RGBA32F); in translateImgFormat() 1034 FMT_CASE(R16G16B16A16_FLOAT, RGBA16F); in translateImgFormat() 1035 FMT_CASE(R32G32_FLOAT, RG32F); in translateImgFormat() 1036 FMT_CASE(R16G16_FLOAT, RG16F); in translateImgFormat() 1037 FMT_CASE(R11G11B10_FLOAT, R11G11B10F); in translateImgFormat() 1038 FMT_CASE(R32_FLOAT, R32F); in translateImgFormat() 1039 FMT_CASE(R16_FLOAT, R16F); in translateImgFormat() 1041 FMT_CASE(R32G32B32A32_UINT, RGBA32UI); in translateImgFormat() [all …]
|