Home
last modified time | relevance | path

Searched refs:TEXTURETYPE_2D (Results 1 – 25 of 43) sorted by relevance

12

/external/deqp/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp118 TEXTURETYPE_2D, enumerator
331 case TEXTURETYPE_2D: in initTexture()
420 …bool is2DProj4 = m_textureSpec.type == TEXTURETYPE_2D && (function == FUNCTION_TEXTUREPROJ ||… in initShaderSources()
422 int texCoordComps = m_textureSpec.type == TEXTURETYPE_2D ? 2 : 3; in initShaderSources()
430 const char* baseFuncName = m_textureSpec.type == TEXTURETYPE_2D ? "texture2D" : "textureCube"; in initShaderSources()
435 case TEXTURETYPE_2D: samplerType = glu::getSampler2DType(texFmt); break; in initShaderSources()
587 …static const TextureSpec tex2D (TEXTURETYPE_2D, GL_RGBA, GL_UNSIGNED_BYTE, 256, 256, 1, sampler… in init()
588 …static const TextureSpec tex2DMipmap (TEXTURETYPE_2D, GL_RGBA, GL_UNSIGNED_BYTE, 256, 256, 9, sam… in init()
Des2fVertexTextureTests.cpp62 using glu::TextureTestUtil::TEXTURETYPE_2D;
130 template <> struct TexTypeTcuClass<TEXTURETYPE_2D> { typedef tcu::Texture2D t; };
134 template <> struct TexTypeSizeDims<TEXTURETYPE_2D> { enum { V = 2 }; };
138 template <> struct TexTypeCoordDims<TEXTURETYPE_2D> { enum { V = 2 }; };
147 TexTypeCoordParams<TEXTURETYPE_2D>
272 void PosTexCoordQuadGrid<TEXTURETYPE_2D>::initializeTexCoords (const IVec2& textureSize, const TexC… in initializeTexCoords()
399 typedef PosTexCoordQuadGrid<TEXTURETYPE_2D> Grid;
608 … TexTypeCoordParams<TEXTURETYPE_2D>(rend.texCoordScale, rend.texCoordOffset), useSafeTexCoords); in iterate()
Des2fTextureSpecificationTests.cpp332 TEXTURETYPE_2D = 0, enumerator
459 deUint32 texTarget = m_texType == TEXTURETYPE_2D ? GL_TEXTURE_2D : GL_TEXTURE_CUBE_MAP; in iterate()
475 case TEXTURETYPE_2D: verifyTex2D (gles2Context, refContext); break; in iterate()
488 DE_ASSERT(m_texType == TEXTURETYPE_2D); in verifyTex2D()
621 …: TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType)… in BasicTexImage2DCase()
718 …: TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType)… in RandomOrderTexImage2DCase()
834 …: TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType)… in TexImage2DAlignCase()
933 …: TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType)… in BasicTexSubImage2DCase()
1076 …: TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType)… in TexSubImage2DEmptyTexCase()
1194 …: TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType)… in TexSubImage2DAlignCase()
[all …]
Des2fTextureSizeTests.cpp156 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D); in iterate()
160 …Format()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(… in iterate()
Des2fTextureFormatTests.cpp147 ReferenceParams renderParams (TEXTURETYPE_2D); in iterate()
476 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D); in iterate()
481 ReferenceParams refParams(TEXTURETYPE_2D); in iterate()
Des2fTextureWrapTests.cpp168 ReferenceParams refParams (TEXTURETYPE_2D); in iterate()
Des2fTextureMipmapTests.cpp262 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate()
864 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D); in iterate()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp94 case TEXTURETYPE_2D: return IVec3(64, 64, 1); in defaultImageSize()
125 case TEXTURETYPE_2D: return "2d"; in getTextureTypeName()
244 : textureType == TEXTURETYPE_2D ? "2D" in getShaderSamplerOrImageType()
268 case TEXTURETYPE_2D: return GL_TEXTURE_2D; in getGLTextureTarget()
337 case TEXTURETYPE_2D: in textureLayerType()
344 return TEXTURETYPE_2D; in textureLayerType()
623 …, m_tex2D (type == TEXTURETYPE_2D ? SharedPtr<tcu::Texture2D> (newOneLevelTexture2D (format,… in LayeredImage()
633 m_type == TEXTURETYPE_2D || in LayeredImage()
651 : m_type == TEXTURETYPE_2D ? m_tex2D->getLevel(0) in setPixel()
674 …DE_ASSERT(m_type == TEXTURETYPE_BUFFER || m_type == TEXTURETYPE_2D || m_type == TEXTURETYPE_3D || … in getAccessInternal()
[all …]
Des31fSRGBDecodeTests.cpp56 using glu::TextureTestUtil::TEXTURETYPE_2D;
539 case TEXTURETYPE_2D: in getGLTargetType()
1379 this->addTexture( TEXTURETYPE_2D, in setupTest()
1450 this->addTexture( TEXTURETYPE_2D, in setupTest()
1521 this->addTexture( TEXTURETYPE_2D, in setupTest()
1591 this->addTexture( TEXTURETYPE_2D, in setupTest()
1601 this->addTexture( TEXTURETYPE_2D, in setupTest()
1740 this->addTexture( TEXTURETYPE_2D, in setupTest()
1750 this->addTexture( TEXTURETYPE_2D, in setupTest()
1813 this->addTexture( TEXTURETYPE_2D, in setupTest()
[all …]
Des31fNegativeShaderImageLoadStoreTests.cpp146 case glu::TextureTestUtil::TEXTURETYPE_2D: declaration << "2D"; break; in getShaderImageTypeDeclaration()
166 case glu::TextureTestUtil::TEXTURETYPE_2D: in getShaderImageTypeExtensionString()
193 case glu::TextureTestUtil::TEXTURETYPE_2D: in getShaderImageParamP()
587 {FUNC<glu::TextureTestUtil::TEXTURETYPE_2D>, "texture_2d", "Texture2D negative tests."}, \
Des31fTextureGatherTests.cpp69 using glu::TextureTestUtil::TEXTURETYPE_2D;
859 case TEXTURETYPE_2D: return glu::TYPE_SAMPLER_2D_SHADOW; in getSamplerType()
869 case TEXTURETYPE_2D: return glu::getSampler2DType(format); in getSamplerType()
909 case TEXTURETYPE_2D: return 2; in getNumTextureSamplingDimensions()
920 case TEXTURETYPE_2D: return GL_TEXTURE_2D; in getGLTextureType()
1501 const IVec3 coordBits = m_textureType == TEXTURETYPE_2D ? IVec3(20,20,0) in verify()
1505 const IVec3 uvwBits = m_textureType == TEXTURETYPE_2D ? IVec3(7,7,0) in verify()
1654 …: TextureGatherCase (context, name, description, TEXTURETYPE_2D, gatherType, offsetSize, textureF… in TextureGather2DCase()
2019 case TEXTURETYPE_2D: in makeTextureGatherCase()
2070 { "2d", TEXTURETYPE_2D }, in init()
/external/deqp/modules/glshared/
DglsLongStressTestUtil.cpp170 context.textureSpecs.push_back(gls::TextureSpec(glu::TextureTestUtil::TEXTURETYPE_2D, 0, in generateTextureContext()
238 context.textureSpecs.push_back(gls::TextureSpec(glu::TextureTestUtil::TEXTURETYPE_2D, i, in generateBufferAndTextureContext()
408 context.textureSpecs.push_back(gls::TextureSpec(glu::TextureTestUtil::TEXTURETYPE_2D, 0, in generateFragmentPointLightContext()
582 context.textureSpecs.push_back (gls::TextureSpec(glu::TextureTestUtil::TEXTURETYPE_2D, 0, in generateVertexUniformLoopLightContext()
DglsLongStressCase.cpp79 using glu::TextureTestUtil::TEXTURETYPE_2D;
471 … (void) const { DE_ASSERT(m_type == TEXTURETYPE_2D || m_type == TEXTURETYPE_CUBE); return m_type … in getGLBindTarget()
529 if (m_type == TEXTURETYPE_2D) in setData()
571 if (m_type == TEXTURETYPE_2D) in setSubData()
DglsTextureTestUtil.cpp321 if (params.texType == TEXTURETYPE_2D) in renderQuad()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringAnisotropyTests.cpp224 …AnisotropyParams refParams (TEXTURETYPE_2D, maxAnisotropy[anisotropyNdx] ,minFilters[minFilterNdx]… in createFilteringAnisotropyTests()
257 …AnisotropyParams refParams (TEXTURETYPE_2D, maxAnisotropy[anisotropyNdx] ,minFilters[minFilterNdx]… in createFilteringAnisotropyTests()
DvktTextureCompressedFormatTests.cpp104 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate()
DvktTextureSwizzleTests.cpp102 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate()
/external/deqp/modules/gles3/functional/
Des3fShaderTextureFunctionTests.cpp172 TEXTURETYPE_2D, enumerator
577 case TEXTURETYPE_2D: in initTexture()
750 …bool is2DProj4 = !isShadow && m_textureSpec.type == TEXTURETYPE_2D && (function == FUNCTION_T… in initShaderSources()
753 int texCoordComps = m_textureSpec.type == TEXTURETYPE_2D ? 2 : 3; in initShaderSources()
769 …case TEXTURETYPE_2D: samplerType = isShadow ? glu::TYPE_SAMPLER_2D_SHADOW : glu::getSampler2DTyp… in initShaderSources()
1131 if (m_textureSpec.type == TEXTURETYPE_2D && !is2DLodValid) in testTextureSize()
1175 case TEXTURETYPE_2D: in testTextureSize()
1324 case TEXTURETYPE_2D: return GL_TEXTURE_2D; break; in getGLTextureTarget()
1414 …static const TextureSpec tex2DFixed (TEXTURETYPE_2D, GL_RGBA8, 256, 256, 1, 1, samplerLinea… in init()
1415 …static const TextureSpec tex2DFloat (TEXTURETYPE_2D, GL_RGBA16F, 256, 256, 1, 1, samplerLin… in init()
[all …]
Des3fVertexTextureTests.cpp61 using glu::TextureTestUtil::TEXTURETYPE_2D;
157 template <> struct TexTypeTcuClass<TEXTURETYPE_2D> { typedef tcu::Texture2D t; };
163 template <> struct TexTypeSizeDims<TEXTURETYPE_2D> { enum { V = 2 }; };
169 template <> struct TexTypeCoordDims<TEXTURETYPE_2D> { enum { V = 2 }; };
180 TexTypeCoordParams<TEXTURETYPE_2D>
321 void PosTexCoordQuadGrid<TEXTURETYPE_2D>::initializeTexCoords (const IVec2& textureSize, const TexC… in initializeTexCoords()
496 typedef PosTexCoordQuadGrid<TEXTURETYPE_2D> Grid;
708 … TexTypeCoordParams<TEXTURETYPE_2D>(rend.texCoordScale, rend.texCoordOffset), useSafeTexCoords); in iterate()
Des3fTextureSizeTests.cpp157 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D); in iterate()
161 …Format()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(… in iterate()
Des3fTextureFormatTests.cpp184 ReferenceParams renderParams (TEXTURETYPE_2D); in iterate()
850 ReferenceParams renderParams (TEXTURETYPE_2D); in iterate()
1139 m_renderer.renderQuad(0, &texCoord[0], TEXTURETYPE_2D); in iterate()
1144 ReferenceParams refParams(TEXTURETYPE_2D); in iterate()
Des3fTextureSwizzleTests.cpp154 ReferenceParams renderParams (TEXTURETYPE_2D); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp191 TEXTURETYPE_2D, enumerator
866 case TEXTURETYPE_2D: in initTexture()
1228 …bool is2DProj4 = !isShadow && m_textureSpec.type == TEXTURETYPE_2D && (function == FUNCTION_T… in initShaderSources()
1233 … m_textureSpec.type == TEXTURETYPE_1D_ARRAY || m_textureSpec.type == TEXTURETYPE_2D ? 2 : in initShaderSources()
1254 …case TEXTURETYPE_2D: samplerType = isShadow ? glu::TYPE_SAMPLER_2D_SHADOW : glu::getSampler2DT… in initShaderSources()
1291 case TEXTURETYPE_2D: in initShaderSources()
1547 case TEXTURETYPE_2D: in getMaxTextureSize()
1575 case TEXTURETYPE_2D: in getTextureSizeString()
1643 case TEXTURETYPE_2D: in createEmptyTexture()
1726 case TEXTURETYPE_2D: in getTextureSizeFuncResultType()
[all …]
DvktShaderRenderTextureGatherTests.cpp75 TEXTURETYPE_2D, enumerator
861 case TEXTURETYPE_2D: return glu::TYPE_SAMPLER_2D_SHADOW; in getSamplerType()
871 case TEXTURETYPE_2D: return glu::getSampler2DType(format); in getSamplerType()
911 case TEXTURETYPE_2D: return 2; in getNumTextureSamplingDimensions()
1349 const IVec3 coordBits = m_baseParams.textureType == TEXTURETYPE_2D ? IVec3(20,20,0) in verify()
1353 const IVec3 uvwBits = m_baseParams.textureType == TEXTURETYPE_2D ? IVec3(7,7,0) in verify()
1788 …, m_baseParams (TEXTURETYPE_2D, gatherType, offsetSize, textureFormat, shadowCompareMode, wrapS, w… in TextureGather2DCase()
2284 case TEXTURETYPE_2D: in makeTextureGatherCase()
2328 { "2d", TEXTURETYPE_2D }, in init()
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp48 TEXTURETYPE_2D = 0, enumerator

12