Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/gl/
Dtest_images_1Darray.cpp31 GLint maxTextureLayers = 16, maxTextureSize = 4096; in calc_1D_array_size_descriptors() local
32 glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in calc_1D_array_size_descriptors()
40 sizes[i].height = random_in_range( 2, min(maxTextureLayers, 1<<(i+4)), seed ); in calc_1D_array_size_descriptors()
Dtest_images_2Darray.cpp32 GLint maxTextureLayers = 16, maxTextureSize = 4096; in calc_2D_array_size_descriptors() local
33 glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in calc_2D_array_size_descriptors()
42 sizes[i].depth = random_in_range( 2, min(maxTextureLayers, 1<<(i+4)), seed ); in calc_2D_array_size_descriptors()
Dtest_images_multisample.cpp49 GLint maxTextureLayers = 16, maxTextureSize = 4096; in calc_2D_array_multisample_size_descriptors() local
50 glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in calc_2D_array_multisample_size_descriptors()
59 sizes[i].depth = random_in_range( 2, min(maxTextureLayers, 1<<(i+4)), seed ); in calc_2D_array_multisample_size_descriptors()
Dtest_image_methods.cpp349 GLint maxTextureSize = 4096, maxTextureRectangleSize = 4096, maxTextureLayers = 16, size; in test_image_methods_depth() local
352 glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in test_image_methods_depth()
362 sizes[i].depth = random_in_range( 2, min(maxTextureLayers, 1<<(i+4)), seed ); in test_image_methods_depth()
389 GLint maxTextureLayers = 16, maxTextureSize = 4096; in test_image_methods_multisample() local
390 glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in test_image_methods_multisample()
399 sizes[i].depth = random_in_range( 2, min(maxTextureLayers, 1<<(i+4)), seed ); in test_image_methods_multisample()
Dtest_images_depth.cpp55 GLint maxTextureSize = 4096, maxTextureRectangleSize = 4096, maxTextureLayers = 16, size; in calc_depth_array_size_descriptors() local
58 glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in calc_depth_array_size_descriptors()
68 sizes[i].depth = random_in_range( 2, min(maxTextureLayers, 1<<(i+4)), seed ); in calc_depth_array_size_descriptors()
/external/deqp/modules/gles31/functional/
Des31fShaderTextureSizeTests.cpp177 glw::GLint maxTextureLayers = 0; in init() local
181 gl.getIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in init()
208 << "GL_MAX_ARRAY_TEXTURE_LAYERS = " << maxTextureLayers in init()
228 …xTextureSize && testSizes3D[ndx].y() <= maxTextureSize && testSizes3D[ndx].z() <= maxTextureLayers) in init()
232 const int d = (testSizes3D[ndx].z() < 0) ? (maxTextureLayers) : (testSizes3D[ndx].z()); in init()
Des31fTextureMultisampleTests.cpp1157 GLint maxTextureLayers = 0; in init() local
1158 gl.getIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in init()
1160 if (s_textureArraySize > maxTextureLayers) in init()
Des31fNegativeTextureApiTests.cpp2808 int maxTextureLayers = ctx.getInteger(GL_MAX_ARRAY_TEXTURE_LAYERS) + 1; in teximage3d_max_width_height_depth() local
2826 …ctx.glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, 1, 1, maxTextureLayers, 0, GL_RGBA, GL_UNSIGNED_… in teximage3d_max_width_height_depth()
2828 …ctx.glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, maxTextureSize, maxTextureSize, maxTextureLayers in teximage3d_max_width_height_depth()
3374 int maxTextureLayers = ctx.getInteger(GL_MAX_ARRAY_TEXTURE_LAYERS) + 1; in compressedteximage3d_max_width_height_depth() local
3381 …ARRAY, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, maxTextureLayers, 0, 0, 0); in compressedteximage3d_max_width_height_depth()
3385 …dTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 0, 0, maxTextureLayers, 0, 0, 0); in compressedteximage3d_max_width_height_depth()
/external/angle/src/tests/gl_tests/
DFramebufferMultiviewTest.cpp236 GLint maxTextureLayers = 0; in TEST_P() local
237 glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &maxTextureLayers); in TEST_P()
238 glFramebufferTextureMultiviewOVR(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex, 0, maxTextureLayers, in TEST_P()
/external/deqp/modules/gles3/functional/
Des3fNegativeTextureApiTests.cpp2136 int maxTextureLayers = m_context.getContextInfo().getInt(GL_MAX_ARRAY_TEXTURE_LAYERS) + 1; in init()
2154 …glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, 1, 1, maxTextureLayers, 0, GL_RGBA, GL_UNSIGNED_BYTE… in init()
2156 …glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, maxTextureSize, maxTextureSize, maxTextureLayers, 0,… in init()
2609 int maxTextureLayers = m_context.getContextInfo().getInt(GL_MAX_ARRAY_TEXTURE_LAYERS) + 1; in init()
2616 …dTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, 0, 0, maxTextureLayers, 0, 0, 0); in init()
2618 …ARRAY, 0, GL_COMPRESSED_RGBA8_ETC2_EAC, maxTextureSize, maxTextureSize, maxTextureLayers, 0, 0, 0); in init()