Home
last modified time | relevance | path

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

123

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp341 const deUint32 numLevels = ImageViewTest::getNumLevels(viewType); in createSubresourceRangeTests() local
366 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
373 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
374 { "array_size", 0.0f, { imageAspectFlags, 0u, numLevels, 0u, 4u } }, in createSubresourceRangeTests()
375 { "array_base_and_size", 0.0f, { imageAspectFlags, 0u, numLevels, 2u, 3u } }, in createSubresourceRangeTests()
381 …{ "lod_base_mip_level_base_array_layer", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 1u, 5u }… in createSubresourceRangeTests()
384 { "lod_base_mip_level_array_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, 4u } }, in createSubresourceRangeTests()
387 …{ "lod_base_mip_level_array_base_and_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 2u, 3… in createSubresourceRangeTests()
395 …{ "base_array_layer_remaining_layers", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, V… in createSubresourceRangeTests()
409 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c59 GLuint numLevels; in compute_num_levels() local
63 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; in compute_num_levels()
64 numLevels = MIN2(numLevels, (GLuint) texObj->MaxLevel + 1); in compute_num_levels()
66 numLevels = MIN2(numLevels, texObj->NumLevels); in compute_num_levels()
67 assert(numLevels >= 1); in compute_num_levels()
69 return numLevels; in compute_num_levels()
/external/deqp/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 …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c153 assert(mt->numLevels <= rmesa->glCtx.Const.MaxTextureLevels); in calculate_miptree_layout()
158 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
193 mt->numLevels = numLevels; in radeon_miptree_create()
314 unsigned numLevels; in radeon_miptree_matches_texture() local
322 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
328 fprintf(stderr, "numLevels %d vs %d\n", mt->numLevels, numLevels); in radeon_miptree_matches_texture()
334 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
346 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
361 GLuint numLevels; in radeon_try_alloc_miptree() local
[all …]
Dradeon_mipmap_tree.h72 GLuint numLevels; /** Number of mip levels stored in this mipmap tree */ member
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c153 assert(mt->numLevels <= rmesa->glCtx.Const.MaxTextureLevels); in calculate_miptree_layout()
158 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
193 mt->numLevels = numLevels; in radeon_miptree_create()
314 unsigned numLevels; in radeon_miptree_matches_texture() local
322 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
328 fprintf(stderr, "numLevels %d vs %d\n", mt->numLevels, numLevels); in radeon_miptree_matches_texture()
334 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
346 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
361 GLuint numLevels; in radeon_try_alloc_miptree() local
[all …]
Dradeon_mipmap_tree.h72 GLuint numLevels; /** Number of mip levels stored in this mipmap tree */ member
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
/external/deqp/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()
Des2fShaderTextureFunctionTests.cpp131 int numLevels; member
140 , numLevels (0) in TextureSpec()
156 , numLevels (numLevels_) in TextureSpec()
333 float cStep = 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture()
339 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
363 float cStep = 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture()
370 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
/external/deqp/framework/common/
DtcuTexture.hpp456 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
457 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
458 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
460 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
461 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
462 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
464 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample…
465 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample…
510 Texture1DView (int numLevels, const ConstPixelBufferAccess* levels);
527 inline Texture1DView::Texture1DView (int numLevels, const ConstPixelBufferAccess* levels) in Texture1DView() argument
[all …]
DtcuTexture.cpp2162 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray1D() argument
2164 …return sampleLevelArray1DOffset(levels, numLevels, sampler, s, lod, IVec2(0, depth)); // y-offset … in sampleLevelArray1D()
2167 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray2D() argument
2169 …return sampleLevelArray2DOffset(levels, numLevels, sampler, s, t, lod, IVec3(0, 0, depth)); // z-o… in sampleLevelArray2D()
2172 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray3D() argument
2174 return sampleLevelArray3DOffset(levels, numLevels, sampler, s, t, r, lod, IVec3(0, 0, 0)); in sampleLevelArray3D()
2177 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray1DOffset() argument
2190 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset()
2200 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset()
2217 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray2DOffset() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp176 const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))+1; in Texture2DMipmapTestInstance() local
179 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DMipmapTestInstance()
181 const deUint32 step = 0xff / (numLevels-1); in Texture2DMipmapTestInstance()
437 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeMipmapTestInstance() local
442 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeMipmapTestInstance()
444 const deUint32 step = 0xff / (numLevels-1); in TextureCubeMipmapTestInstance()
678 …const int numLevels = deLog2Floor32(de::max(de::max(testParameters.width, testParameters.heigh… in Texture3DMipmapTestInstance() local
683 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture3DMipmapTestInstance()
685 const deUint32 step = 0xff / (numLevels-1); in Texture3DMipmapTestInstance()
958 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in Texture2DLodControlTestInstance() local
[all …]
DvktTextureShadowTests.cpp245 const int numLevels = m_textures[0]->getNumLevels(); in Texture2DShadowTestInstance() local
248 for (int levelNdx = 0; levelNdx < numLevels; ++levelNdx) in Texture2DShadowTestInstance()
254 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DShadowTestInstance()
256 const deUint32 step = 0x00ffffff / numLevels; in Texture2DShadowTestInstance()
441 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeShadowTestInstance() local
466 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
475 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
477 const deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in TextureCubeShadowTestInstance()
659 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayShadowTestInstance() local
672 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DArrayShadowTestInstance()
[all …]
DvktTextureFilteringTests.cpp117 …const int numLevels = mipmaps ? deLog2Floor32(de::max(m_testParameters.width, m_testParameter… in Texture2DFilteringTestInstance() local
136 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance()
145 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance()
147 const deUint32 step = 0x00ffffff / numLevels; in Texture2DFilteringTestInstance()
316 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeFilteringTestInstance() local
343 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance()
352 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance()
354 const deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in TextureCubeFilteringTestInstance()
541 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayFilteringTestInstance() local
562 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DArrayFilteringTestInstance()
[all …]
/external/deqp/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.cpp193 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
199 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
209 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
211 deUint32 step = 0x00ffffff / numLevels; in init()
473 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
490 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
500 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
502 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
762 const int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() local
777 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 …]
/external/deqp/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()
Des3aTextureMipmapTests.cpp151 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
154 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
156 deUint32 step = 0xff / (numLevels-1); in init()
444 int numLevels = deLog2Floor32(m_size)+1; in init() local
449 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
451 deUint32 step = 0xff / (numLevels-1); in init()
/external/deqp/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()
Des2aTextureMipmapTests.cpp160 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
163 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
165 deUint32 step = 0xff / (numLevels-1); in init()
457 int numLevels = deLog2Floor32(m_size)+1; in init() local
462 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
464 deUint32 step = 0xff / (numLevels-1); in init()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c276 const int numLevels = texObj->NumLevels; in intel_texture_view() local
282 for (level = 0; level < numLevels; level++) { in intel_texture_view()
293 intel_tex->validated_last_level = numLevels - 1; in intel_texture_view()

123