Lines Matching defs:layers
906 * @param [in] layers Number of layers.
911 glw::GLenum internalformat, glw::GLuint levels, glw::GLint layers)
923 // Lower the layers count when multiple levels are requested to limit the amount of memory required
924 layers = deMax32(1, (glw::GLint)((deUint64)layers / (1ull<<(deUint64)(2*(levels-1)))));
927 layers = deMax32(6, (layers / 6) * 6);
933 (glw::GLuint)std::pow((double)2, (double)levels), layers, GL_FALSE);
939 (glw::GLuint)std::pow((double)2, (double)levels), layers);
955 /* 3D textures are mipmapped also in depth directio, so number of layers to be tested must be limited. */
957 (de::min(layers, layers / (glw::GLint)std::pow(2.0, (double)i))) :
958 layers;
960 while (j < layers_at_level) /* Only layers with Fibonacci number index are tested to reduce the test time. */
965 if (!SubTestAttachmentError(attachment, texture_target, i, j, levels, layers))
982 if (!SubTestStatus(attachment, texture_target, i, j, levels, layers))
991 if (!SubTestContent(attachment, texture_target, internalformat, i, j, levels, layers))
1017 * @param [in] layers Number of layers.
1023 glw::GLint layers)
1034 << " and at layer " << layer << " where texture has " << levels << " levels and " << layers
1035 << " layers failed with error value " << glu::getErrorStr(error) << "." << tcu::TestLog::EndMessage;
1050 * @param [in] layers Number of layers.
1055 glw::GLint layer, glw::GLuint levels, glw::GLint layers)
1069 << level << " and texture layer " << layer << " of texture with " << levels << " levels and " << layers
1070 << " layers." << tcu::TestLog::EndMessage;
1086 * @param [in] layers Number of layers.
1092 glw::GLuint levels, glw::GLint layers)
1113 << " and texture layer " << layer << " of texture with " << levels << " levels and " << layers
1114 << " layers. The color content of the framebuffer was [" << color[0] << ", " << color[1] << ", "
1137 << levels << " levels and " << layers << " layers. The depth content of the framebuffer was [" << depth
1158 << levels << " levels and " << layers << " layers. The stencil content of the framebuffer was ["
1228 /** @brief Query maximum number of texture layers.
1230 * @return True if max number of texture layers, false otherwise.