/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 486 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTex2D() 524 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTexCube() 631 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() 676 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() 728 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() 780 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() 845 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() 893 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() 943 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() 1010 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() [all …]
|
D | es2fTextureCompletenessTests.cpp | 289 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 356 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 407 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 509 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 609 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 679 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 746 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 855 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() 936 …ext(), "last_level_missing", "", IVec2(128, 64), de::max(deLog2Floor32(128), deLog2Floor32(64))… in init()
|
D | es2fNegativeTextureApiTests.cpp | 247 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 260 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() 696 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 704 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() 1027 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 1042 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() 1359 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 1367 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() 1659 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 1674 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() [all …]
|
D | es2fTextureSizeTests.cpp | 100 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() 238 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
|
D | es2fTextureUnitTests.cpp | 648 int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init() 857 …int numLevels = mipmaps ? deLog2Floor32(de::max(texture->getWidth(), texture->getHeight()))+1… in render() 879 int numLevels = mipmaps ? deLog2Floor32(texture->getSize())+1 : 1; in render()
|
D | es2fTextureMipmapTests.cpp | 163 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() 513 int numLevels = deLog2Floor32(m_size)+1; in init() 822 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in iterate() 960 const int numLevels = deLog2Floor32(m_size)+1; in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fNegativeTextureApiTests.cpp | 243 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 249 …deUint32 log2MaxCubemapSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() 601 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 607 …deUint32 log2MaxCubemapSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() 893 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 899 …deUint32 log2MaxCubemapSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() 1207 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 1213 …deUint32 log2MaxCubemapSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() 1508 …deUint32 log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_TEXTURE_SIZE)… in init() 1514 …deUint32 log2MaxCubemapSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_CUBE_MAP_TEXT… in init() [all …]
|
D | es3fTextureMipmapTests.cpp | 207 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() 552 int numLevels = deLog2Floor32(m_size)+1; in init() 858 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in iterate() 995 const int numLevels = deLog2Floor32(m_size)+1; in iterate() 1144 int numLevels = deLog2Floor32(de::max(de::max(m_width, m_height), m_depth))+1; in init() 1464 int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in init() 1671 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in getBaseLevel() 1700 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in getMaxLevel() 1764 const int numLevels = deLog2Floor32(m_texSize)+1; in init() 1986 const int numLevels = deLog2Floor32(m_texSize)+1; in getBaseLevel() [all …]
|
D | es3fTextureSizeTests.cpp | 101 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() 239 int numLevels = m_useMipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
|
D | es3fTextureSpecificationTests.cpp | 89 return (int)deLog2Floor32(de::max(width, height))+1; in maxLevelCount() 94 return (int)deLog2Floor32(de::max(width, de::max(height, depth)))+1; in maxLevelCount() 693 …Case (context, name, desc, glu::mapGLTransferFormat(format, dataType), size, deLog2Floor32(size)+1) in BasicTexImageCubeCase() 702 …ecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, deLog2Floor32(size)+1) in BasicTexImageCubeCase() 890 …Case (context, name, desc, glu::mapGLTransferFormat(format, dataType), size, deLog2Floor32(size)+1) in RandomOrderTexImageCubeCase() 898 …ecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, deLog2Floor32(size)+1) in RandomOrderTexImageCubeCase() 1270 …Case (context, name, desc, glu::mapGLTransferFormat(format, dataType), size, deLog2Floor32(size)+1) in BasicTexSubImageCubeCase() 1278 …ecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, deLog2Floor32(size)+1) in BasicTexSubImageCubeCase() 1559 …Case (context, name, desc, glu::mapGLTransferFormat(format, dataType), size, deLog2Floor32(size)+1) in TexSubImageCubeEmptyTexCase() 1567 …ecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, deLog2Floor32(size)+1) in TexSubImageCubeEmptyTexCase() [all …]
|
D | es3fTextureFilteringTests.cpp | 196 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() 476 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() 765 const int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() 1032 const int numLevels = deLog2Floor32(de::max(de::max(m_width, m_height), m_depth)) + 1; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 188 const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))+1; in Texture2DMipmapTestInstance() 454 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeMipmapTestInstance() 695 …const int numLevels = deLog2Floor32(de::max(de::max(testParameters.width, testParameters.heigh… in Texture3DMipmapTestInstance() 992 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in Texture2DLodControlTestInstance() 1038 refParams.maxLevel = deLog2Floor32(de::max(m_texWidth, m_texHeight)); in iterate() 1190 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in getBaseLevel() 1216 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in getMaxLevel() 1264 const int numLevels = deLog2Floor32(m_texSize)+1; in TextureCubeLodControlTestInstance() 1316 refParams.maxLevel = deLog2Floor32(m_texSize); in iterate() 1464 const int numLevels = deLog2Floor32(m_texSize)+1; in getBaseLevel() [all …]
|
D | vktTextureFilteringAnisotropyTests.cpp | 95 m_refParams.maxLevel = deLog2Floor32(ANISOTROPY_TEST_RESOLUTION); in FilteringAnisotropyInstance()
|
D | vktTextureShadowTests.cpp | 511 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeShadowTestInstance() 748 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayShadowTestInstance() 1199 const int numLevels = deLog2Floor32(m_testParameters.width) + 1; in Texture1DArrayShadowTestInstance() 1426 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeArrayShadowTestInstance()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 188 const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))+1; in Texture2DMipmapTestInstance() 454 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeMipmapTestInstance() 695 …const int numLevels = deLog2Floor32(de::max(de::max(testParameters.width, testParameters.heigh… in Texture3DMipmapTestInstance() 992 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in Texture2DLodControlTestInstance() 1038 refParams.maxLevel = deLog2Floor32(de::max(m_texWidth, m_texHeight)); in iterate() 1190 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in getBaseLevel() 1216 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in getMaxLevel() 1264 const int numLevels = deLog2Floor32(m_texSize)+1; in TextureCubeLodControlTestInstance() 1316 refParams.maxLevel = deLog2Floor32(m_texSize); in iterate() 1464 const int numLevels = deLog2Floor32(m_texSize)+1; in getBaseLevel() [all …]
|
D | vktTextureFilteringAnisotropyTests.cpp | 95 m_refParams.maxLevel = deLog2Floor32(ANISOTROPY_TEST_RESOLUTION); in FilteringAnisotropyInstance()
|
D | vktTextureShadowTests.cpp | 511 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeShadowTestInstance() 748 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayShadowTestInstance() 1199 const int numLevels = deLog2Floor32(m_testParameters.width) + 1; in Texture1DArrayShadowTestInstance() 1426 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeArrayShadowTestInstance()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeTextureApiTests.cpp | 244 deUint32 log2MaxTextureSize = deLog2Floor32(ctx.getInteger(GL_MAX_TEXTURE_SIZE)) + 1; in compressedteximage2d_max_level() 250 deUint32 log2MaxCubemapSize = deLog2Floor32(ctx.getInteger(GL_MAX_CUBE_MAP_TEXTURE_SIZE)) + 1; in compressedteximage2d_max_level() 695 deUint32 log2MaxTextureSize = deLog2Floor32(ctx.getInteger(GL_MAX_TEXTURE_SIZE)) + 1; in copyteximage2d_max_level() 701 deUint32 log2MaxCubemapSize = deLog2Floor32(ctx.getInteger(GL_MAX_CUBE_MAP_TEXTURE_SIZE)) + 1; in copyteximage2d_max_level() 1024 deUint32 log2MaxTextureSize = deLog2Floor32(ctx.getInteger(GL_MAX_TEXTURE_SIZE)) + 1; in copytexsubimage2d_max_level() 1030 deUint32 log2MaxCubemapSize = deLog2Floor32(ctx.getInteger(GL_MAX_CUBE_MAP_TEXTURE_SIZE)) + 1; in copytexsubimage2d_max_level() 1345 deUint32 log2MaxTextureSize = deLog2Floor32(ctx.getInteger(GL_MAX_TEXTURE_SIZE)) + 1; in teximage2d_max_level() 1351 deUint32 log2MaxCubemapSize = deLog2Floor32(ctx.getInteger(GL_MAX_CUBE_MAP_TEXTURE_SIZE)) + 1; in teximage2d_max_level() 1652 deUint32 log2MaxTextureSize = deLog2Floor32(ctx.getInteger(GL_MAX_TEXTURE_SIZE)) + 1; in texsubimage2d_max_level() 1658 deUint32 log2MaxCubemapSize = deLog2Floor32(ctx.getInteger(GL_MAX_CUBE_MAP_TEXTURE_SIZE)) + 1; in texsubimage2d_max_level() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 541 const int numLevels = deLog2Floor32(de::max(de::max(width, height), depth)) + 1; in init() 695 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in TexSubImage3DCase() 806 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in CopyTexSubImage3DCase() 933 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in FramebufferTexture3DCase() 1211 GLint log2Max3DTextureSize = deLog2Floor32(max3DTexSize) + 1; in iterate() 1356 GLint log2Max3DTextureSize = deLog2Floor32(maxSize) + 1; in iterate() 1474 deUint32 log2Max3DTextureSize = deLog2Floor32(max3DSize) + 1; in iterate() 1619 GLint maxSize = deLog2Floor32(maxTexSize) + 1; in iterate() 1702 GLint log2MaxTextureSize = deLog2Floor32(maxSize) + 1; in iterate() 1824 …GLint log2MaxTextureSize = deLog2Floor32(m_context.getContextInfo().getInt(GL_MAX_3D_TEXTURE_SIZE)… in iterate()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deInt32.h | 451 DE_INLINE int deLog2Floor32 (deInt32 a) in deLog2Floor32() function 464 int log2floor = deLog2Floor32(a); in deLog2Ceil32()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 99 return deLog2Floor32(size)+1; in getNumMipLevels1D() 104 return deLog2Floor32(de::max(width, height))+1; in getNumMipLevels2D() 109 return deLog2Floor32(de::max(width, de::max(height, depth)))+1; in getNumMipLevels3D() 1066 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D() 1101 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D() 1142 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTextureCubeSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D() 1181 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D() 1220 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture3DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D() 1260 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in texImage3D() 1463 RC_IF_ERROR(level > deLog2Floor32(m_limits.maxTexture2DSize), GL_INVALID_VALUE, RC_RET_VOID); in copyTexImage1D() [all …]
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aTextureMipmapTests.cpp | 160 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() 457 int numLevels = deLog2Floor32(m_size)+1; in init()
|
D | es2aTextureFilteringTests.cpp | 145 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() 406 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aTextureMipmapTests.cpp | 151 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() 444 int numLevels = deLog2Floor32(m_size)+1; in init()
|
D | es3aTextureFilteringTests.cpp | 135 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() 392 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init()
|