Home
last modified time | relevance | path

Searched refs:numLevels (Results 1 – 25 of 74) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp367 const deUint32 numLevels = ImageViewTest::getNumLevels(viewType); in createSubresourceRangeTests() local
393 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
400 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
401 { "array_size", 0.0f, { imageAspectFlags, 0u, numLevels, 0u, 4u } }, in createSubresourceRangeTests()
402 { "array_base_and_size", 0.0f, { imageAspectFlags, 0u, numLevels, 2u, 3u } }, in createSubresourceRangeTests()
408 …{ "lod_base_mip_level_base_array_layer", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 1u, 5u }… in createSubresourceRangeTests()
411 { "lod_base_mip_level_array_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, 4u } }, in createSubresourceRangeTests()
414 …{ "lod_base_mip_level_array_base_and_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 2u, 3… in createSubresourceRangeTests()
422 …{ "base_array_layer_remaining_layers", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, V… in createSubresourceRangeTests()
436 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineImageViewTests.cpp367 const deUint32 numLevels = ImageViewTest::getNumLevels(viewType); in createSubresourceRangeTests() local
393 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
400 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
401 { "array_size", 0.0f, { imageAspectFlags, 0u, numLevels, 0u, 4u } }, in createSubresourceRangeTests()
402 { "array_base_and_size", 0.0f, { imageAspectFlags, 0u, numLevels, 2u, 3u } }, in createSubresourceRangeTests()
408 …{ "lod_base_mip_level_base_array_layer", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 1u, 5u }… in createSubresourceRangeTests()
411 { "lod_base_mip_level_array_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, 4u } }, in createSubresourceRangeTests()
414 …{ "lod_base_mip_level_array_base_and_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 2u, 3… in createSubresourceRangeTests()
422 …{ "base_array_layer_remaining_layers", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, V… in createSubresourceRangeTests()
436 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
[all …]
/third_party/vk-gl-cts/framework/opengl/
DgluTexture.cpp129 Texture2D::Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, … in Texture2D() argument
146 loadCompressed(numLevels, levels, decompressionParams); in Texture2D()
187 void Texture2D::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::Tex… in loadCompressed() argument
195 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed()
214 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con… in create() argument
216 DE_ASSERT(numLevels > 0); in create()
242 for (int levelNdx = 1; levelNdx < numLevels; levelNdx++) in create()
264 vector<tcu::CompressedTexture> levels(numLevels); in create()
266 for (int ndx = 0; ndx < numLevels; ndx++) in create()
269 return new Texture2D(context, contextInfo, numLevels, &levels[0]); in create()
[all …]
DgluTexture.hpp72 …Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const t…
83 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vect…
84 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con…
100 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDeco…
125 …TextureCube (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const…
136 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vect…
137 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con…
143 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDeco…
163 …ay (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::Comp…
176 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDec…
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp486 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTex2D() local
490 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in verifyTex2D()
524 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTexCube() local
528 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in verifyTexCube()
631 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
643 for (int ndx = 0; ndx < numLevels; ndx++) in createTexture()
676 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
690 for (int ndx = 0; ndx < numLevels; ndx++) in createTexture()
728 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
740 vector<int> levels (numLevels); in createTexture()
[all …]
Des2fTextureCompletenessTests.cpp289 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
291 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
356 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
358 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
407 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
409 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
509 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
511 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
523 …glTexImage2D(GL_TEXTURE_2D, numLevels+1, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, levelData.ge… in createTexture()
609 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
[all …]
Des2fTextureFilteringTests.cpp175 int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
181 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
191 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
193 deUint32 step = 0x00ffffff / numLevels; in init()
438 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
455 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
465 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
467 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
794 const int numLevels = 7; in init() local
796 for (int level = 0; level < numLevels; level++) in init()
/third_party/vk-gl-cts/framework/common/
DtcuTexture.cpp2483 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray1D() argument
2485 …return sampleLevelArray1DOffset(levels, numLevels, sampler, s, lod, IVec2(0, depth)); // y-offset … in sampleLevelArray1D()
2488 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray2D() argument
2490 …return sampleLevelArray2DOffset(levels, numLevels, sampler, s, t, lod, IVec3(0, 0, depth), es2, mi… in sampleLevelArray2D()
2493 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray3D() argument
2495 …return sampleLevelArray3DOffset(levels, numLevels, sampler, s, t, r, lod, IVec3(0, 0, 0), minLodPa… in sampleLevelArray3D()
2498 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray1DOffset() argument
2511 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset()
2521 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset()
2538 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray2DOffset() argument
[all …]
DtcuTexture.hpp499 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
500 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
501 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
503 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
504 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
505 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
507 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample…
508 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample…
553 …Texture2DView (int numLevels, const ConstPixelBufferAccess* levels, bool es2 = false, ImageViewMi…
579 inline Texture2DView::Texture2DView (int numLevels, const ConstPixelBufferAccess* levels, bool es2,… in Texture2DView() argument
[all …]
/third_party/skia/include/gpu/
DGrDirectContext.h528 int numLevels,
550 int numLevels,
556 numLevels,
627 int numLevels,
651 int numLevels, in updateBackendTexture() argument
656 numLevels, in updateBackendTexture()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageSubresourceLayoutTests.cpp74 deUint32 numLevels () const;
147 deUint32 BufferLevels::numLevels () const in numLevels() function in vkt::image::__anon82fc87ca0111::BufferLevels
240 if (imgFormatProperties.maxMipLevels < levels.numLevels()) in checkSupport()
390 const auto numLevels = bufferLevels.numLevels(); in iterateAspect() local
434 numLevels, // deUint32 mipLevels; in iterateAspect()
458 copyRegions.reserve(numLevels); in iterateAspect()
460 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect()
483 …const auto imageSubresourceRange = makeImageSubresourceRange(imageAspect, 0u, numLevels, 0u, numLa… in iterateAspect()
510 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp74 deUint32 numLevels () const;
147 deUint32 BufferLevels::numLevels () const in numLevels() function in vkt::image::__anon0421c94a0111::BufferLevels
240 if (imgFormatProperties.maxMipLevels < levels.numLevels()) in checkSupport()
390 const auto numLevels = bufferLevels.numLevels(); in iterateAspect() local
434 numLevels, // deUint32 mipLevels; in iterateAspect()
458 copyRegions.reserve(numLevels); in iterateAspect()
460 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect()
483 …const auto imageSubresourceRange = makeImageSubresourceRange(imageAspect, 0u, numLevels, 0u, numLa… in iterateAspect()
510 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureMipmapTests.cpp207 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
210 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
212 deUint32 step = 0xff / (numLevels-1); in init()
552 int numLevels = deLog2Floor32(m_size)+1; in init() local
557 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
559 deUint32 step = 0xff / (numLevels-1); in init()
858 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in iterate() local
887 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate()
995 const int numLevels = deLog2Floor32(m_size)+1; in iterate() local
1033 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate()
[all …]
Des3fTextureFilteringTests.cpp196 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
202 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
212 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
214 deUint32 step = 0x00ffffff / numLevels; in init()
476 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
493 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
503 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
505 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
765 const int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() local
780 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
[all …]
Des3fTextureShadowTests.cpp236 int numLevels = m_textures[0]->getRefTexture().getNumLevels(); in init() local
239 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
246 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
248 deUint32 step = 0x00ffffff / numLevels; in init()
486 int numLevels = deLog2Floor32(m_size)+1; in init() local
508 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
518 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
520 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
783 int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() local
790 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
[all …]
/third_party/skia/src/gpu/
DSurfaceContext.cpp282 int numLevels) { in writePixels() argument
288 SkASSERT(numLevels >= 1); in writePixels()
291 if (numLevels == 1) { in writePixels()
302 if (numLevels != SkMipmap::ComputeLevelCount(dims) + 1) { in writePixels()
305 for (int i = 0; i < numLevels; ++i) { in writePixels()
317 return this->internalWritePixels(dContext, src, numLevels, {0, 0}); in writePixels()
322 int numLevels, in internalWritePixels() argument
326 SkASSERT(numLevels >= 1); in internalWritePixels()
330 SkASSERT((src[0].dimensions() == this->dimensions() && pt.isZero()) || numLevels == 1); in internalWritePixels()
331 SkASSERT(numLevels == 1 || in internalWritePixels()
[all …]
DGrDirectContext.cpp581 int numLevels, in update_texture_with_pixmaps() argument
604 SkAutoSTArray<15, GrCPixmap> tmpSrc(numLevels); in update_texture_with_pixmaps()
605 for (int i = 0; i < numLevels; ++i) { in update_texture_with_pixmaps()
608 if (!surfaceContext.writePixels(context, tmpSrc.get(), numLevels)) { in update_texture_with_pixmaps()
767 int numLevels, in updateBackendTexture() argument
777 if (!srcData || numLevels <= 0) { in updateBackendTexture()
787 if (numLevels != numExpectedLevels) { in updateBackendTexture()
792 numLevels, in updateBackendTexture()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureShadowTests.cpp294 const int numLevels = m_textures[0]->getNumLevels(); in Texture2DShadowTestInstance() local
297 for (int levelNdx = 0; levelNdx < numLevels; ++levelNdx) in Texture2DShadowTestInstance()
303 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DShadowTestInstance()
305 const deUint32 step = 0x00ffffff / numLevels; in Texture2DShadowTestInstance()
511 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeShadowTestInstance() local
537 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
546 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
548 const deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in TextureCubeShadowTestInstance()
748 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayShadowTestInstance() local
761 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DArrayShadowTestInstance()
[all …]
DvktTextureMipmapTests.cpp188 const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))+1; in Texture2DMipmapTestInstance() local
191 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DMipmapTestInstance()
193 const deUint32 step = 0xff / (numLevels-1); in Texture2DMipmapTestInstance()
454 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeMipmapTestInstance() local
459 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeMipmapTestInstance()
461 const deUint32 step = 0xff / (numLevels-1); in TextureCubeMipmapTestInstance()
695 …const int numLevels = deLog2Floor32(de::max(de::max(testParameters.width, testParameters.heigh… in Texture3DMipmapTestInstance() local
700 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture3DMipmapTestInstance()
702 const deUint32 step = 0xff / (numLevels-1); in Texture3DMipmapTestInstance()
992 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in Texture2DLodControlTestInstance() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktTextureShadowTests.cpp294 const int numLevels = m_textures[0]->getNumLevels(); in Texture2DShadowTestInstance() local
297 for (int levelNdx = 0; levelNdx < numLevels; ++levelNdx) in Texture2DShadowTestInstance()
303 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DShadowTestInstance()
305 const deUint32 step = 0x00ffffff / numLevels; in Texture2DShadowTestInstance()
511 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeShadowTestInstance() local
537 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
546 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
548 const deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in TextureCubeShadowTestInstance()
748 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayShadowTestInstance() local
761 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DArrayShadowTestInstance()
[all …]
DvktTextureMipmapTests.cpp188 const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))+1; in Texture2DMipmapTestInstance() local
191 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DMipmapTestInstance()
193 const deUint32 step = 0xff / (numLevels-1); in Texture2DMipmapTestInstance()
454 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeMipmapTestInstance() local
459 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeMipmapTestInstance()
461 const deUint32 step = 0xff / (numLevels-1); in TextureCubeMipmapTestInstance()
695 …const int numLevels = deLog2Floor32(de::max(de::max(testParameters.width, testParameters.heigh… in Texture3DMipmapTestInstance() local
700 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture3DMipmapTestInstance()
702 const deUint32 step = 0xff / (numLevels-1); in Texture3DMipmapTestInstance()
992 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in Texture2DLodControlTestInstance() local
[all …]
/third_party/flutter/skia/src/gpu/
DGrContextPriv.cpp342 GrBackendTexture GrContextPriv::createBackendTexture(const SkPixmap srcData[], int numLevels, in createBackendTexture() argument
353 if (!srcData || !numLevels) { in createBackendTexture()
361 if (numLevels > 1) { in createBackendTexture()
362 if (numLevels != SkMipMap::ComputeLevelCount(baseWidth, baseHeight) + 1) { in createBackendTexture()
368 for (int i = 1; i < numLevels; ++i) { in createBackendTexture()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp135 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
141 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
151 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
153 deUint32 step = 0x00ffffff / numLevels; in init()
392 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
409 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
419 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
421 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
440 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/
DesextcTextureShadowLodFunctionsTest.cpp155 int numLevels; member
158 …reSpec(void) : type(TEXTURETYPE_LAST), format(GL_NONE), width(0), height(0), depth(0), numLevels(0) in TextureSpec()
169 , numLevels(numLevels_) in TextureSpec()
485 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)de::max(1, m_textureSpec.numLevels - 1); in initTexture()
491 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
520 isAutoLod ? 0.0f : 1.0f / (float)(de::max(1, m_textureSpec.numLevels - 1) * m_textureSpec.depth); in initTexture()
527 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
560 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)de::max(1, m_textureSpec.numLevels - 1); in initTexture()
568 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
625 isAutoLod ? 0.0f : 1.0f / (float)(de::max(1, m_textureSpec.numLevels - 1) * m_textureSpec.depth); in initTexture()
[all …]
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp145 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
151 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
161 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
163 deUint32 step = 0x00ffffff / numLevels; in init()
406 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
423 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
433 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
435 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()

123