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.cpp1682 case FMT_CASE(R, UNORM_SHORT_12): return VK_FORMAT_R12X4_UNORM_PACK16_KHR; in mapTextureFormat()
1683 case FMT_CASE(RG, UNORM_SHORT_12): return VK_FORMAT_R12X4G12X4_UNORM_2PACK16_KHR; in mapTextureFormat()
1684 case FMT_CASE(RGBA, UNORM_SHORT_12): return VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR; in mapTextureFormat()
1932 …R12X4_UNORM_PACK16_KHR: return TextureFormat(TextureFormat::R, TextureFormat::UNORM_SHORT_12); in mapVkFormat()
1933 …G12X4_UNORM_2PACK16_KHR: return TextureFormat(TextureFormat::RG, TextureFormat::UNORM_SHORT_12); in mapVkFormat()
1934 …4A12X4_UNORM_4PACK16_KHR: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_12); in mapVkFormat()
2153 return TextureFormat(TextureFormat::R, TextureFormat::UNORM_SHORT_12); in getChannelAccessFormat()
2327 case tcu::TextureFormat::UNORM_SHORT_12: in getFormatComponentWidth()
/external/deqp/framework/common/
DtcuTextureUtil.cpp208 case TextureFormat::UNORM_SHORT_12: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; in getTextureChannelClass()
379 case TextureFormat::UNORM_SHORT_12: cMin = 0.0f; cMax = 1.0f; break; in getFloatChannelValueRange()
564 case TextureFormat::UNORM_SHORT_12: return IVec4(12); in getChannelBitDepth()
628 case TextureFormat::UNORM_SHORT_12: in getChannelMantissaBitDepth()
DtcuTexture.cpp299 case TextureFormat::UNORM_SHORT_12: return (float)((*((const deUint16*)value)) >> 4u) / 4095.0f; in channelToFloat()
331 case TextureFormat::UNORM_SHORT_12: return (int)((*(((const deUint16*)value))) >> 4u); in channelToInt()
363 …case TextureFormat::UNORM_SHORT_12: *((deUint16*)dst) = (deUint16)(convertSatRteUint12(src * 409… in floatToChannel()
448 …case TextureFormat::UNORM_SHORT_12: *((deUint16*)dst) = (deUint16)(convertSatUint12(src) << 4u);… in intToChannel()
638 case TextureFormat::UNORM_SHORT_12: in isValid()
708 case TextureFormat::UNORM_SHORT_12: return 2; in getChannelSize()
DtcuTexture.hpp114 UNORM_SHORT_12, enumerator