Home
last modified time | relevance | path

Searched refs:maxLevels (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/tests/
DProgramsTest.cpp163 int minLevels, int maxLevels) { in create_random_proc_tree() argument
165 SkASSERT(minLevels <= maxLevels); in create_random_proc_tree()
172 bool terminate = (1 == maxLevels) || (d->fRandom->nextF() < terminateProbability); in create_random_proc_tree()
193 auto minLevelsChild = create_random_proc_tree(d, minLevels, maxLevels - 1); in create_random_proc_tree()
194 std::unique_ptr<GrFragmentProcessor> otherChild(create_random_proc_tree(d, 1, maxLevels - 1)); in create_random_proc_tree()
241 bool GrDrawingManager::ProgramUnitTest(GrDirectContext* direct, int maxStages, int maxLevels) { in ProgramUnitTest() argument
289 set_random_color_coverage_stages(&paint, &ptd, maxStages, maxLevels); in ProgramUnitTest()
393 int maxLevels = get_programs_max_levels(ctxInfo); in test_programs() local
394 if (maxLevels == 0) { in test_programs()
399 maxLevels)); in test_programs()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayTex3DValidation.cpp169 const glw::GLint maxLevels = (glw::GLint)floor(log(maxTextureSize) / log(2.0f)) + 1; in iterate() local
171 gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, maxLevels + 1, /* levels */ in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp71 …BufferLevels (VkImageType type, VkFormat format, VkExtent3D levelZero, deUint32 maxLevels, VkImage…
82 …vels (VkImageType type, VkFormat format, VkExtent3D levelZero, deUint32 maxLevels, VkImageAspectFl… in BufferLevels() argument
85 DE_ASSERT(maxLevels >= 1u); in BufferLevels()
88 const auto maxLevelsSz = static_cast<size_t>(maxLevels); in BufferLevels()
669 deUint32 maxLevels; in createImageSubresourceLayoutTests() member
843 params.mipLevels = mipLevel.maxLevels; in createImageSubresourceLayoutTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageSubresourceLayoutTests.cpp71 …BufferLevels (VkImageType type, VkFormat format, VkExtent3D levelZero, deUint32 maxLevels, VkImage…
82 …vels (VkImageType type, VkFormat format, VkExtent3D levelZero, deUint32 maxLevels, VkImageAspectFl… in BufferLevels() argument
85 DE_ASSERT(maxLevels >= 1u); in BufferLevels()
88 const auto maxLevelsSz = static_cast<size_t>(maxLevels); in BufferLevels()
669 deUint32 maxLevels; in createImageSubresourceLayoutTests() member
843 params.mipLevels = mipLevel.maxLevels; in createImageSubresourceLayoutTests()
/third_party/mesa3d/src/mesa/main/
Dtexgetimage.c1219 GLint maxLevels; in common_error_check() local
1226 maxLevels = _mesa_max_texture_levels(ctx, target); in common_error_check()
1227 if (level < 0 || level >= maxLevels) { in common_error_check()
1679 GLint maxLevels; in getcompressedteximage_error_check() local
1690 maxLevels = _mesa_max_texture_levels(ctx, target); in getcompressedteximage_error_check()
1691 if (level < 0 || level >= maxLevels) { in getcompressedteximage_error_check()
Dtexobj.c663 GLint maxLevels = 0; in _mesa_test_texobj_completeness() local
721 maxLevels = _mesa_max_texture_levels(ctx, t->Target); in _mesa_test_texobj_completeness()
722 if (maxLevels == 0) { in _mesa_test_texobj_completeness()
727 assert(maxLevels > 0); in _mesa_test_texobj_completeness()
733 maxLevels - 1); in _mesa_test_texobj_completeness()
809 for (i = baseLevel + 1; i < maxLevels; i++) { in _mesa_test_texobj_completeness()
Dtexparam.c2072 GLint maxLevels; in get_tex_level_parameteriv() local
2083 maxLevels = _mesa_max_texture_levels(ctx, target); in get_tex_level_parameteriv()
2084 assert(maxLevels != 0); in get_tex_level_parameteriv()
2086 if (level < 0 || level >= maxLevels) { in get_tex_level_parameteriv()
Dteximage.c2012 const GLint maxLevels = _mesa_max_texture_levels(ctx, target); in compressed_texture_error_check() local
2049 if (level > 0 || level < -maxLevels) { in compressed_texture_error_check()
2079 if (level < 0 || level >= maxLevels) { in compressed_texture_error_check()
/third_party/skia/src/gpu/
DGrDrawingManager.h137 static bool ProgramUnitTest(GrDirectContext*, int maxStages, int maxLevels);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cSparseTextureClampTests.cpp664 int maxLevels = 0; in iterate() local
670 maxLevels = l; in iterate()
674 for (l = 0; l <= maxLevels; ++l) in iterate()