Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuTextureUtil.cpp447 const TextureSwizzle::Channel* map = getChannelReadSwizzle(format.order).components; in getTextureFormatInfo()
448 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatInfo()
449 deInRange32(map[1], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatInfo()
450 deInRange32(map[2], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatInfo()
451 deInRange32(map[3], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE); in getTextureFormatInfo()
574 const TextureSwizzle::Channel* map = getChannelReadSwizzle(format.order).components; in getTextureFormatBitDepth()
575 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatBitDepth()
576 deInRange32(map[1], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatBitDepth()
577 deInRange32(map[2], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatBitDepth()
578 deInRange32(map[3], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE); in getTextureFormatBitDepth()
[all …]
DtcuTexture.cpp767 const TextureSwizzle& getChannelReadSwizzle (TextureFormat::ChannelOrder order) in getChannelReadSwizzle()
772 …tatic const TextureSwizzle INV = {{ TextureSwizzle::CHANNEL_ZERO, TextureSwizzle::CHANNEL_ZERO, T… in getChannelReadSwizzle()
773 …static const TextureSwizzle R = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_ZERO, Text… in getChannelReadSwizzle()
774 …static const TextureSwizzle A = {{ TextureSwizzle::CHANNEL_ZERO, TextureSwizzle::CHANNEL_ZERO, Te… in getChannelReadSwizzle()
775 …static const TextureSwizzle I = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textur… in getChannelReadSwizzle()
776 …static const TextureSwizzle L = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textur… in getChannelReadSwizzle()
777 …static const TextureSwizzle LA = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textu… in getChannelReadSwizzle()
778 …static const TextureSwizzle RG = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_1, Textu… in getChannelReadSwizzle()
779 …static const TextureSwizzle RA = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_ZERO, Tex… in getChannelReadSwizzle()
780 …static const TextureSwizzle RGB = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_1, Text… in getChannelReadSwizzle()
[all …]
DtcuTexture.hpp151 struct TextureSwizzle struct
171 const TextureSwizzle& getChannelReadSwizzle (TextureFormat::ChannelOrder order);
174 const TextureSwizzle& getChannelWriteSwizzle (TextureFormat::ChannelOrder order);
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp778 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/
DditTextureFormatTests.cpp1228 const tcu::TextureSwizzle& swizzle = tcu::getChannelReadSwizzle(viewFormat.order); in getReferenceValues()
1241 case tcu::TextureSwizzle::CHANNEL_0: in getReferenceValues()
1242 case tcu::TextureSwizzle::CHANNEL_1: in getReferenceValues()
1243 case tcu::TextureSwizzle::CHANNEL_2: in getReferenceValues()
1244 case tcu::TextureSwizzle::CHANNEL_3: in getReferenceValues()
1248 case tcu::TextureSwizzle::CHANNEL_ZERO: in getReferenceValues()
1252 case tcu::TextureSwizzle::CHANNEL_ONE: in getReferenceValues()
/external/deqp/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.hpp40 namespace TextureSwizzle namespace
Dgl3cTextureSwizzleTests.cpp47 namespace TextureSwizzle namespace
4257 addChild(new TextureSwizzle::APIErrorsTest(m_context)); in iterate()
4258 addChild(new TextureSwizzle::IntialStateTest(m_context)); in iterate()
4259 addChild(new TextureSwizzle::SmokeTest(m_context)); in iterate()
4260 addChild(new TextureSwizzle::FunctionalTest(m_context)); in iterate()