Lines Matching defs:n_mipmap
4541 for (unsigned int n_mipmap = m_iteration_view_texture_minlevel;
4542 n_mipmap < (m_iteration_view_texture_minlevel + m_iteration_view_texture_numlevels) && result; n_mipmap++)
4549 gl.uniform1f(m_po_lod_location, (float)(n_mipmap - m_iteration_view_texture_minlevel));
4556 tcu::Vec4 reference_color = getReferenceColor(n_texture_layer, n_texture_face, n_mipmap, n_sample);
4745 * @param n_mipmap Mip-map index to use for the query. A value of 0 should be used for non-mipmapped
4753 unsigned int n_mipmap, unsigned int n_sample)
4783 DE_ASSERT(n_mipmap < m_reference_color_storage->n_mipmaps);
4793 n_mipmap * (m_reference_color_storage->n_samples) + n_sample;
5554 for (unsigned int n_mipmap = 0; n_mipmap < n_mipmaps_for_layer; ++n_mipmap)
5564 n_mipmap);
5580 n_mipmap);
5589 n_mipmap, n_layer);
5605 n_mipmap, 0, /* n_sample */
5654 for (unsigned int n_mipmap = 0; n_mipmap < m_iteration_parent_texture_n_levels; ++n_mipmap)
5662 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_to_id, n_mipmap);
5672 m_iteration_parent_texture_target, m_to_id, n_mipmap);
5690 setReferenceColor(n_layer, n_face, n_mipmap, n_sample, reference_color);
6433 * @param n_mipmap Mip-map index to use for the association. Use a value of 0 for non-mipmapped texture
6439 void TextureViewTestViewSampling::setReferenceColor(unsigned int n_layer, unsigned int n_face, unsigned int n_mipmap,
6447 DE_ASSERT(n_mipmap < m_reference_color_storage->n_mipmaps);
6457 n_mipmap * (m_reference_color_storage->n_samples) + n_sample;
9608 for (unsigned int n_mipmap = 0; n_mipmap < m_texture_n_levels; ++n_mipmap)
9611 float(n_mipmap + 0) / 10.0f, float(n_mipmap + 1) / 10.0f,
9612 float(n_mipmap + 2) / 10.0f, float(n_mipmap + 3) / 10.0f
9614 const float end_rgba[] = { float(10 - (n_mipmap + 0)) / 10.0f, float(10 - (n_mipmap + 1)) / 10.0f,
9615 float(10 - (n_mipmap + 2)) / 10.0f, float(10 - (n_mipmap + 3)) / 10.0f };
9618 const unsigned int mipmap_height = m_texture_height >> n_mipmap;
9619 const unsigned int mipmap_width = m_texture_width >> n_mipmap;
9649 gl.texSubImage2D(GL_TEXTURE_2D, n_mipmap, 0, /* xoffset */
10048 for (unsigned int n_mipmap = 0; n_mipmap < m_mipmap_colors.size(); n_mipmap++)
10050 const _norm_vec4& mipmap_color = m_mipmap_colors[n_mipmap];
10051 const unsigned int mipmap_height = m_texture_height >> n_mipmap;
10052 const unsigned int mipmap_width = m_texture_width >> n_mipmap;
10062 gl.texSubImage2D(GL_TEXTURE_2D, n_mipmap, 0, /* xoffset */
10064 m_texture_width >> n_mipmap, m_texture_height >> n_mipmap, GL_RGBA, GL_UNSIGNED_BYTE,
10223 for (unsigned int n_mipmap = 0; n_mipmap < m_mipmap_colors.size(); ++n_mipmap)
10225 const _norm_vec4& expected_mipmap_color = m_mipmap_colors[n_mipmap];
10234 gl.uniform1i(m_po_lod_uniform_location, n_mipmap);
10261 for (unsigned int n_mipmap = 0; n_mipmap < m_mipmap_colors.size(); ++n_mipmap)
10263 if (run_results_ptr[n_mipmap] != 1)
10269 << n_mipmap << "] and iteration [" << n_iteration << "]"