Home
last modified time | relevance | path

Searched refs:m_levels (Results 1 – 11 of 11) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuTexture.hpp532 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } in getWidth()
533 int getHeight (void) const { return m_numLevels > 0 ? m_levels[0].getHeight() : 0; } in getHeight()
534 … getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; } in getLevel()
535 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; } in getLevels()
548 const ConstPixelBufferAccess* m_levels; member in tcu::Texture2DView
554 , m_levels (levels) in Texture2DView()
557 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels)); in Texture2DView()
562 return sampleLevelArray2D(m_levels, m_numLevels, sampler, s, t, 0 /* depth */, lod, m_es2); in sample()
567 …return sampleLevelArray2DOffset(m_levels, m_numLevels, sampler, s, t, lod, IVec3(offset.x(), offse… in sampleOffset()
572 return sampleLevelArray2DCompare(m_levels, m_numLevels, sampler, ref, s, t, lod, IVec3(0, 0, 0)); in sampleCompare()
[all …]
DtcuTexture.cpp3635 m_levels[ndx] = DE_NULL; in TextureCubeView()
3643 m_levels[ndx] = levels[ndx]; in TextureCubeView()
3653 …return sampleLevelArrayCubeSeamless(m_levels, m_numLevels, coords.face, sampler, coords.s, coords.… in sample()
3655 …return sampleLevelArray2D(m_levels[coords.face], m_numLevels, sampler, coords.s, coords.t, 0 /* de… in sample()
3665 …return sampleLevelArrayCubeSeamlessCompare(m_levels, m_numLevels, coords.face, sampler, ref, coord… in sampleCompare()
3667 …return sampleLevelArray2DCompare(m_levels[coords.face], m_numLevels, sampler, ref, coords.s, coord… in sampleCompare()
3676 faceAccesses[i] = m_levels[i][0]; in gather()
3704 …DE_ASSERT(m_levels[0][0].getFormat().order == TextureFormat::D || m_levels[0][0].getFormat().order… in gatherCompare()
3711 const bool isFixedPoint = isFixedPointDepthTextureFormat(m_levels[0][0].getFormat()); in gatherCompare()
3831 , m_levels (levels) in Texture1DArrayView()
[all …]
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.hpp147 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 …]
DsglrReferenceContext.cpp4778 m_levels.allocLevel(level, format, width, 1, 1); in allocLevel()
4856 m_levels.updateSamplerMode(mode); in updateView()
4857 m_view = tcu::Texture2DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView()
4875 m_levels.allocLevel(level, format, width, height, 1); in allocLevel()
4930 m_levels.updateSamplerMode(mode); in updateView()
4931 m_view = tcu::Texture2DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView()
4979 m_levels[face].clear(); in clearLevels()
4984 m_levels[face].allocLevel(level, format, width, height, 1); in allocFace()
5045 m_levels[face].updateSamplerMode(mode); in updateView()
5046 faces[face] = m_levels[face].getEffectiveLevels() + baseLevel; in updateView()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayGenerateMipMap.cpp227 …storage_config_1.m_levels = getAmountOfLevelsForTexture(storage_config_1.m_width, storage_config_1… in initTest()
236 …storage_config_2.m_levels = getAmountOfLevelsForTexture(storage_config_2.m_width, storage_config_2… in initTest()
245 …storage_config_3.m_levels = getAmountOfLevelsForTexture(storage_config_3.m_width, storage_config_3… in initTest()
254 …storage_config_4.m_levels = getAmountOfLevelsForTexture(storage_config_4.m_width, storage_config_4… in initTest()
288 …gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, config.m_levels, GL_RGBA8, config.m_width, config.m_hei… in initTest()
417 storage_config.m_levels - 1, /* level */ in iterate()
569 …storage_config1.m_levels = getAmountOfLevelsForTexture(storage_config1.m_width, storage_config1.m_… in initTest()
578 …storage_config2.m_levels = getAmountOfLevelsForTexture(storage_config2.m_width, storage_config2.m_… in initTest()
587 …storage_config3.m_levels = getAmountOfLevelsForTexture(storage_config3.m_width, storage_config3.m_… in initTest()
596 …storage_config4.m_levels = getAmountOfLevelsForTexture(storage_config4.m_width, storage_config4.m_… in initTest()
[all …]
DesextcTextureCubeMapArrayGenerateMipMap.hpp42 glw::GLuint m_levels; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp81 , 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 …]
DvktTextureFilteringExplicitLodTests.cpp544 std::vector<ConstPixelBufferAccess> m_levels; member in vkt::texture::__anonb48401fd0111::TextureFilteringTestInstance
562 , m_levels (testCaseData.pba) in TextureFilteringTestInstance()
575 m_levels = m_gen->getPba(); in runTest()
581 initializeImage(m_context, m_im.get(), &m_levels[0], m_imParams); in runTest()
630 m_levels); in verify()
639 m_levels); in verify()
DvktSampleVerifier.hpp244 const std::vector<tcu::ConstPixelBufferAccess>& m_levels; member in vkt::texture::SampleVerifier
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp77 std::vector<Level> m_levels; member in vkt::image::__anonb4dd9e6c0111::BufferLevels
109 while (m_levels.size() < maxLevelsSz) in BufferLevels()
117 m_levels.push_back(level); in BufferLevels()
138 std::for_each(begin(m_levels), end(m_levels), [&total] (const Level& l) { total += l.size; }); in totalSize()
149 return static_cast<deUint32>(m_levels.size()); in numLevels()
154 return m_levels.at(level); in getLevel()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp2430 int m_levels; member in vkt::sr::__anon9d98cd1b0111::TextureQueryLevelsInstance
2439 , m_levels (0) in TextureQueryLevelsInstance()
2541 m_levels = mipLevels - m_testSize.lodBase; in testTextureLevels()
2542 DE_ASSERT(m_levels > 0); in testTextureLevels()
2544 log << tcu::TestLog::Message << "Expected levels: " << m_levels << tcu::TestLog::EndMessage; in testTextureLevels()
2555 if (output.x() == m_levels) in testTextureLevels()