Lines Matching refs:textureFormat
916 vector<GatherArgs> generateBasic2DCaseIterations (GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange)
918 const int numComponentCases = isDepthFormat(textureFormat) ? 1 : 4+1; // \note For non-depth textures, test explicit components 0 to 3 and implicit component 0.
993 tcu::TextureFormat textureFormat;
1022 , textureFormat (textureFormat_)
1039 , textureFormat ()
1160 isDepthFormat(baseParams.textureFormat) ? tcu::TextureFormat::UNORM_INT8 : baseParams.textureFormat.type))
1164 DE_ASSERT((m_baseParams.shadowCompareMode != tcu::Sampler::COMPAREMODE_NONE) == isDepthFormat(m_baseParams.textureFormat));
1227 const auto format = vk::mapTextureFormat(m_baseParams.textureFormat);
1346 const bool needNormalizedCoordInShader = m_baseParams.gatherType == GATHERTYPE_OFFSET_DYNAMIC || isDepthFormat(m_baseParams.textureFormat);
1471 if (isDepthFormat(m_baseParams.textureFormat))
1485 if (isUnormFormatType(m_baseParams.textureFormat.type))
1494 else if (isUIntFormatType(m_baseParams.textureFormat.type) || isSIntFormatType(m_baseParams.textureFormat.type))
1502 if (isUIntFormatType(m_baseParams.textureFormat.type))
1504 else if (isSIntFormatType(m_baseParams.textureFormat.type))
1637 const tcu::TextureFormat& textureFormat,
1736 if (isDepthFormat(textureFormat))
1810 const bool useNormalizedCoord = usePixCoord || isDepthFormat(baseParams.textureFormat);
1812 const bool isShadow = isDepthFormat(baseParams.textureFormat);
1813 const glu::DataType samplerType = getSamplerType(baseParams.textureType, baseParams.textureFormat);
1855 const string funcCall = genGatherFuncCall(baseParams.gatherType, baseParams.textureFormat, gatherArgs, baseParams.levelMode, baseParams.baseLevel, refZExpr, offsetRange, 1, baseParams.offsetSize, baseParams.sparseCase);
1917 const tcu::TextureFormatInfo texFmtInfo = tcu::getTextureFormatInfo(m_baseParams.textureFormat);
1918 MovePtr<tcu::Texture2D> texture = MovePtr<tcu::Texture2D>(new tcu::Texture2D(m_baseParams.textureFormat, m_textureSize.x(), m_textureSize.y()));
1958 const tcu::TextureFormat textureFormat,
1985 const tcu::TextureFormat textureFormat,
1998 , m_baseParams (TEXTURETYPE_2D, gatherType, offsetSize, textureFormat, shadowCompareMode, wrapS, wrapT, textureSwizzle, minFilter, magFilter, levelMode, baseLevel, flags, sparseCase)
2011 m_baseParams.textureFormat,
2021 m_baseParams.textureFormat,
2045 const tcu::TextureFormat& textureFormat,
2049 const vector<GatherArgs> basicIterations = generateBasic2DCaseIterations(gatherType, levelMode, textureFormat, offsetRange);
2070 if (isDepthFormat(textureFormat) || basicIterations[basicNdx].componentNdx == (layerNdx + 2) % 4)
2137 const tcu::TextureFormatInfo texFmtInfo = tcu::getTextureFormatInfo(m_baseParams.textureFormat);
2138 MovePtr<tcu::Texture2DArray> texture = MovePtr<tcu::Texture2DArray>(new tcu::Texture2DArray(m_baseParams.textureFormat, m_textureSize.x(), m_textureSize.y(), m_textureSize.z()));
2184 const tcu::TextureFormat textureFormat,
2211 const tcu::TextureFormat textureFormat,
2224 , m_baseParams (TEXTURETYPE_2D_ARRAY, gatherType, offsetSize, textureFormat, shadowCompareMode, wrapS, wrapT, textureSwizzle, minFilter, magFilter, levelMode, baseLevel, flags, sparseCase)
2237 m_baseParams.textureFormat,
2248 m_baseParams.textureFormat,
2271 vector<GatherCubeArgs> generateCubeCaseIterations (GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange)
2273 const vector<GatherArgs> basicIterations = generateBasic2DCaseIterations(gatherType, levelMode, textureFormat, offsetRange);
2295 if (isDepthFormat(textureFormat) || basicIterations[basicNdx].componentNdx == cubeFaceI % 4)
2363 const tcu::TextureFormatInfo texFmtInfo = tcu::getTextureFormatInfo(m_baseParams.textureFormat);
2364 MovePtr<tcu::TextureCube> texture = MovePtr<tcu::TextureCube>(new tcu::TextureCube(m_baseParams.textureFormat, m_textureSize));
2412 const tcu::TextureFormat textureFormat,
2437 const tcu::TextureFormat textureFormat,
2450 , m_baseParams (TEXTURETYPE_CUBE, GATHERTYPE_BASIC, OFFSETSIZE_NONE, textureFormat, shadowCompareMode, wrapS, wrapT, textureSwizzle, minFilter, magFilter, levelMode, baseLevel, flags, sparseCase)
2463 m_baseParams.textureFormat,
2473 m_baseParams.textureFormat,
2511 tcu::TextureFormat textureFormat,
2527 return new TextureGather2DCase(testCtx, name, gatherType, offsetSize, textureFormat, shadowCompareMode,
2531 return new TextureGather2DArrayCase(testCtx, name, gatherType, offsetSize, textureFormat, shadowCompareMode,
2537 return new TextureGatherCubeCase(testCtx, name, textureFormat, shadowCompareMode,