Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp2582 case FMT_CASE(R, UNORM_SHORT_12): return VK_FORMAT_R12X4_UNORM_PACK16_KHR; in mapTextureFormat()
2583 case FMT_CASE(RG, UNORM_SHORT_12): return VK_FORMAT_R12X4G12X4_UNORM_2PACK16_KHR; in mapTextureFormat()
2584 case FMT_CASE(RGBA, UNORM_SHORT_12): return VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR; in mapTextureFormat()
2857 …R12X4_UNORM_PACK16_KHR: return TextureFormat(TextureFormat::R, TextureFormat::UNORM_SHORT_12); in mapVkFormat()
2858 …G12X4_UNORM_2PACK16_KHR: return TextureFormat(TextureFormat::RG, TextureFormat::UNORM_SHORT_12); in mapVkFormat()
2859 …4A12X4_UNORM_4PACK16_KHR: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_12); in mapVkFormat()
3078 return TextureFormat(TextureFormat::R, TextureFormat::UNORM_SHORT_12); in getChannelAccessFormat()
3296 case tcu::TextureFormat::UNORM_SHORT_12: in getFormatComponentWidth()
/external/deqp/framework/common/
DtcuTextureUtil.cpp210 case TextureFormat::UNORM_SHORT_12: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; in getTextureChannelClass()
387 case TextureFormat::UNORM_SHORT_12: cMin = 0.0f; cMax = 1.0f; break; in getFloatChannelValueRange()
588 case TextureFormat::UNORM_SHORT_12: return IVec4(12); in getChannelBitDepth()
658 case TextureFormat::UNORM_SHORT_12: in getChannelMantissaBitDepth()
DtcuTexture.cpp299 case TextureFormat::UNORM_SHORT_12: return (float)((*((const deUint16*)value)) >> 4u) / 4095.0f; in channelToFloat()
335 case TextureFormat::UNORM_SHORT_12: return (int)((*(((const deUint16*)value))) >> 4u); in channelToInt()
371 …case TextureFormat::UNORM_SHORT_12: *((deUint16*)dst) = (deUint16)(convertSatRteUint12(src * 409… in floatToChannel()
460 …case TextureFormat::UNORM_SHORT_12: *((deUint16*)dst) = (deUint16)(convertSatUint12(src) << 4u);… in intToChannel()
662 case TextureFormat::UNORM_SHORT_12: in isValid()
734 case TextureFormat::UNORM_SHORT_12: return 2; in getChannelSize()
DtcuTexture.hpp116 UNORM_SHORT_12, enumerator