Searched refs:TextureSwizzle (Results 1 – 5 of 5) sorted by relevance
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 443 const TextureSwizzle::Channel* map = getChannelReadSwizzle(format.order).components; in getTextureFormatInfo() 444 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatInfo() 445 deInRange32(map[1], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatInfo() 446 deInRange32(map[2], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatInfo() 447 deInRange32(map[3], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE); in getTextureFormatInfo() 568 const TextureSwizzle::Channel* map = getChannelReadSwizzle(format.order).components; in getTextureFormatBitDepth() 569 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatBitDepth() 570 deInRange32(map[1], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatBitDepth() 571 deInRange32(map[2], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatBitDepth() 572 deInRange32(map[3], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE); in getTextureFormatBitDepth() [all …]
|
D | tcuTexture.cpp | 711 const TextureSwizzle& getChannelReadSwizzle (TextureFormat::ChannelOrder order) in getChannelReadSwizzle() 716 …tatic const TextureSwizzle INV = {{ TextureSwizzle::CHANNEL_ZERO, TextureSwizzle::CHANNEL_ZERO, T… in getChannelReadSwizzle() 717 …static const TextureSwizzle R = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_ZERO, Text… in getChannelReadSwizzle() 718 …static const TextureSwizzle A = {{ TextureSwizzle::CHANNEL_ZERO, TextureSwizzle::CHANNEL_ZERO, Te… in getChannelReadSwizzle() 719 …static const TextureSwizzle I = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textur… in getChannelReadSwizzle() 720 …static const TextureSwizzle L = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textur… in getChannelReadSwizzle() 721 …static const TextureSwizzle LA = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textu… in getChannelReadSwizzle() 722 …static const TextureSwizzle RG = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_1, Textu… in getChannelReadSwizzle() 723 …static const TextureSwizzle RA = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_ZERO, Tex… in getChannelReadSwizzle() 724 …static const TextureSwizzle RGB = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_1, Text… in getChannelReadSwizzle() [all …]
|
D | tcuTexture.hpp | 148 struct TextureSwizzle struct 168 const TextureSwizzle& getChannelReadSwizzle (TextureFormat::ChannelOrder order); 171 const TextureSwizzle& getChannelWriteSwizzle (TextureFormat::ChannelOrder order);
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 778 TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order); in convertNormalizedFormat() 824 const TextureSwizzle::Channel chan = readSwizzle.components[compNdx]; in convertNormalizedFormat() 826 if (chan == TextureSwizzle::CHANNEL_ZERO) in convertNormalizedFormat() 831 else if (chan == TextureSwizzle::CHANNEL_ONE) in convertNormalizedFormat() 894 const TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order); in convertFloatFormat() 898 const TextureSwizzle::Channel chan = readSwizzle.components[compNdx]; in convertFloatFormat() 900 if (chan == TextureSwizzle::CHANNEL_ZERO) in convertFloatFormat() 905 else if (chan == TextureSwizzle::CHANNEL_ONE) in convertFloatFormat()
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 1143 const tcu::TextureSwizzle& swizzle = tcu::getChannelReadSwizzle(viewFormat.order); in getReferenceValues() 1156 case tcu::TextureSwizzle::CHANNEL_0: in getReferenceValues() 1157 case tcu::TextureSwizzle::CHANNEL_1: in getReferenceValues() 1158 case tcu::TextureSwizzle::CHANNEL_2: in getReferenceValues() 1159 case tcu::TextureSwizzle::CHANNEL_3: in getReferenceValues() 1163 case tcu::TextureSwizzle::CHANNEL_ZERO: in getReferenceValues() 1167 case tcu::TextureSwizzle::CHANNEL_ONE: in getReferenceValues()
|