Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/common/
DtcuTexture.cpp1093 #define UN16(OFFS, COUNT) channelToUnormFloat(UI16(OFFS, COUNT), (COUNT)) in getPixel() macro
1102 …case TextureFormat::UNORM_SHORT_565: return swizzleGe( Vec4(UN16(11, 5), UN16( 5, 6), UN16( 0,… in getPixel()
1104 …case TextureFormat::UNORM_SHORT_555: return swizzleGe( Vec4(UN16(10, 5), UN16( 5, 5), UN16( 0,… in getPixel()
1105 …reFormat::UNORM_SHORT_4444: return swizzleGe( Vec4(UN16(12, 4), UN16( 8, 4), UN16( 4, 4), UN1… in getPixel()
1107 …reFormat::UNORM_SHORT_5551: return swizzleGe( Vec4(UN16(11, 5), UN16( 6, 5), UN16( 1, 5), UN1… in getPixel()
1120 return Vec4(UN16(15, 1), UN16(10, 5), UN16(5, 5), UN16(0, 5)).swizzle(1,2,3,0); // ARGB -> RGBA in getPixel()
1130 #undef UN16 in getPixel()