Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/common/
DtcuTextureUtil.cpp461 const TextureSwizzle::Channel* map = getChannelReadSwizzle(format.order).components; in getTextureFormatInfo()
462 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatInfo()
463 deInRange32(map[1], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatInfo()
464 deInRange32(map[2], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatInfo()
465 deInRange32(map[3], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE); in getTextureFormatInfo()
606 const TextureSwizzle::Channel* map = getChannelReadSwizzle(format.order).components; in getTextureFormatBitDepth()
607 …const BVec4 chnMask = BVec4(deInRange32(map[0], TextureSwizzle::CHANNEL_0, TextureSwizzle::C… in getTextureFormatBitDepth()
608 deInRange32(map[1], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatBitDepth()
609 deInRange32(map[2], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE, in getTextureFormatBitDepth()
610 deInRange32(map[3], TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_3) == DE_TRUE); in getTextureFormatBitDepth()
[all …]
DtcuTexture.cpp815 const TextureSwizzle& getChannelReadSwizzle (TextureFormat::ChannelOrder order) in getChannelReadSwizzle()
820 …tatic const TextureSwizzle INV = {{ TextureSwizzle::CHANNEL_ZERO, TextureSwizzle::CHANNEL_ZERO, T… in getChannelReadSwizzle()
821 …static const TextureSwizzle R = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_ZERO, Text… in getChannelReadSwizzle()
822 …static const TextureSwizzle A = {{ TextureSwizzle::CHANNEL_ZERO, TextureSwizzle::CHANNEL_ZERO, Te… in getChannelReadSwizzle()
823 …static const TextureSwizzle I = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textur… in getChannelReadSwizzle()
824 …static const TextureSwizzle L = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textur… in getChannelReadSwizzle()
825 …static const TextureSwizzle LA = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_0, Textu… in getChannelReadSwizzle()
826 …static const TextureSwizzle RG = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_1, Textu… in getChannelReadSwizzle()
827 …static const TextureSwizzle RA = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_ZERO, Tex… in getChannelReadSwizzle()
828 …static const TextureSwizzle RGB = {{ TextureSwizzle::CHANNEL_0, TextureSwizzle::CHANNEL_1, Text… in getChannelReadSwizzle()
[all …]
DtcuTexture.hpp161 struct TextureSwizzle struct
181 const TextureSwizzle& getChannelReadSwizzle (TextureFormat::ChannelOrder order);
184 const TextureSwizzle& getChannelWriteSwizzle (TextureFormat::ChannelOrder order);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp783 TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order); in convertNormalizedFormat()
829 const TextureSwizzle::Channel chan = readSwizzle.components[compNdx]; in convertNormalizedFormat()
831 if (chan == TextureSwizzle::CHANNEL_ZERO) in convertNormalizedFormat()
836 else if (chan == TextureSwizzle::CHANNEL_ONE) in convertNormalizedFormat()
920 const TextureSwizzle readSwizzle = getChannelReadSwizzle(texFormat.order); in convertFloatFormat()
924 const TextureSwizzle::Channel chan = readSwizzle.components[compNdx]; in convertFloatFormat()
926 if (chan == TextureSwizzle::CHANNEL_ZERO) in convertFloatFormat()
931 else if (chan == TextureSwizzle::CHANNEL_ONE) in convertFloatFormat()
/third_party/vk-gl-cts/modules/internal/
DditTextureFormatTests.cpp1274 const tcu::TextureSwizzle& swizzle = tcu::getChannelReadSwizzle(viewFormat.order); in getReferenceValues()
1287 case tcu::TextureSwizzle::CHANNEL_0: in getReferenceValues()
1288 case tcu::TextureSwizzle::CHANNEL_1: in getReferenceValues()
1289 case tcu::TextureSwizzle::CHANNEL_2: in getReferenceValues()
1290 case tcu::TextureSwizzle::CHANNEL_3: in getReferenceValues()
1294 case tcu::TextureSwizzle::CHANNEL_ZERO: in getReferenceValues()
1298 case tcu::TextureSwizzle::CHANNEL_ONE: in getReferenceValues()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.hpp40 namespace TextureSwizzle namespace
Dgl3cTextureSwizzleTests.cpp47 namespace TextureSwizzle namespace
4242 addChild(new TextureSwizzle::APIErrorsTest(m_context)); in iterate()
4243 addChild(new TextureSwizzle::IntialStateTest(m_context)); in iterate()
4244 addChild(new TextureSwizzle::SmokeTest(m_context)); in iterate()
4245 addChild(new TextureSwizzle::FunctionalTest(m_context)); in iterate()
/third_party/flutter/skia/third_party/externals/sdl/src/render/psp/
DSDL_render_psp.c231 TextureSwizzle(PSP_TextureData *psp_texture) in TextureSwizzle() function
522 TextureSwizzle(psp_texture); in TextureActivate()