/external/deqp/framework/common/ |
D | tcuTexture.hpp | 497 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } in getWidth() 498 … getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; } in getLevel() 499 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; } in getLevels() 508 const ConstPixelBufferAccess* m_levels; member in tcu::Texture1DView 513 , m_levels (levels) in Texture1DView() 515 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels)); in Texture1DView() 520 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, 0 /* depth */, lod); in sample() 525 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset() 530 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare() 535 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset() [all …]
|
D | tcuTexture.cpp | 3275 m_levels[ndx] = DE_NULL; in TextureCubeView() 3282 m_levels[ndx] = levels[ndx]; in TextureCubeView() 3292 …return sampleLevelArrayCubeSeamless(m_levels, m_numLevels, coords.face, sampler, coords.s, coords.… in sample() 3294 …return sampleLevelArray2D(m_levels[coords.face], m_numLevels, sampler, coords.s, coords.t, 0 /* de… in sample() 3304 …return sampleLevelArrayCubeSeamlessCompare(m_levels, m_numLevels, coords.face, sampler, ref, coord… in sampleCompare() 3306 …return sampleLevelArray2DCompare(m_levels[coords.face], m_numLevels, sampler, ref, coords.s, coord… in sampleCompare() 3315 faceAccesses[i] = m_levels[i][0]; in gather() 3343 …DE_ASSERT(m_levels[0][0].getFormat().order == TextureFormat::D || m_levels[0][0].getFormat().order… in gatherCompare() 3350 const bool isFixedPoint = isFixedPointDepthTextureFormat(m_levels[0][0].getFormat()); in gatherCompare() 3470 , m_levels (levels) in Texture1DArrayView() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.hpp | 147 void clearLevels (void) { m_levels.clear(); } in clearLevels() 149 bool hasLevel (int level) const { return m_levels.hasLevel(level); } in hasLevel() 150 const tcu::ConstPixelBufferAccess& getLevel (int level) const { return m_levels.getLevel(level); } in getLevel() 151 const tcu::PixelBufferAccess& getLevel (int level) { return m_levels.getLevel(level); } in getLevel() 163 TextureLevelArray m_levels; member in sglr::rc::Texture1D 173 void clearLevels (void) { m_levels.clear(); } in clearLevels() 175 bool hasLevel (int level) const { return m_levels.hasLevel(level); } in hasLevel() 176 const tcu::ConstPixelBufferAccess& getLevel (int level) const { return m_levels.getLevel(level); } in getLevel() 177 const tcu::PixelBufferAccess& getLevel (int level) { return m_levels.getLevel(level); } in getLevel() 189 TextureLevelArray m_levels; member in sglr::rc::Texture2D [all …]
|
D | sglrReferenceContext.cpp | 4741 m_levels.allocLevel(level, format, width, 1, 1); in allocLevel() 4819 m_levels.updateSamplerMode(mode); in updateView() 4820 m_view = tcu::Texture2DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView() 4838 m_levels.allocLevel(level, format, width, height, 1); in allocLevel() 4893 m_levels.updateSamplerMode(mode); in updateView() 4894 m_view = tcu::Texture2DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView() 4942 m_levels[face].clear(); in clearLevels() 4947 m_levels[face].allocLevel(level, format, width, height, 1); in allocFace() 5008 m_levels[face].updateSamplerMode(mode); in updateView() 5009 faces[face] = m_levels[face].getEffectiveLevels() + baseLevel; in updateView() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifier.cpp | 81 , m_levels (levels) in SampleVerifier() 90 return coord[compNdx] < 0 || coord[compNdx] >= m_levels[level].getSize()[compNdx]; in coordOutOfRange() 103 pixelPtr = m_levels[level].getPixelPtr(coord[0], layer, 0); in fetchTexelWrapped() 107 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], layer); in fetchTexelWrapped() 111 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], coord[2]); in fetchTexelWrapped() 118 const tcu::ConstPixelBufferAccess& levelAccess = m_levels[level]; in fetchTexelWrapped() 164 m_levels[level].getSize().swizzle(0, 1), in fetchTexel() 180 m_levels[level].getSize().swizzle(0, 1), in fetchTexel() 198 …cornerTexels[ndx] += sRGBToLinear(m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx]… in fetchTexel() 202 …cornerTexels[ndx] += m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx][1], cornerLa… in fetchTexel() [all …]
|
D | vktTextureFilteringExplicitLodTests.cpp | 682 std::vector<ConstPixelBufferAccess> m_levels; member in vkt::texture::__anonb7440a1c0111::TextureFilteringTestInstance 699 , m_levels (testCaseData.pba) in TextureFilteringTestInstance() 712 m_levels = m_gen->getPba(); in runTest() 718 initializeImage(m_context, m_im.get(), &m_levels[0], m_imParams); in runTest() 769 m_levels); in verify()
|
D | vktSampleVerifier.hpp | 243 const std::vector<tcu::ConstPixelBufferAccess>& m_levels; member in vkt::texture::SampleVerifier
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 1833 int m_levels; member in vkt::sr::__anon49edc09a0111::TextureQueryLevelsInstance 1842 , m_levels (0) in TextureQueryLevelsInstance() 1944 m_levels = mipLevels - m_testSize.lodBase; in testTextureLevels() 1945 DE_ASSERT(m_levels > 0); in testTextureLevels() 1947 log << tcu::TestLog::Message << "Expected levels: " << m_levels << tcu::TestLog::EndMessage; in testTextureLevels() 1958 if (output.x() == m_levels) in testTextureLevels()
|