Home
last modified time | relevance | path

Searched refs:n_layer (Results 1 – 9 of 9) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayColorDepthAttachments.hpp91 void configureNonLayeredFramebufferAttachment(glw::GLuint texture_id, glw::GLuint n_layer,
96 bool verifyColorData(const _texture_size& texture_size, glw::GLuint n_layer);
97 bool verifyDepth16Data(const _texture_size& texture_size, glw::GLuint n_layer);
98 bool verifyDepth24Data(const _texture_size& texture_size, glw::GLuint n_layer);
99 bool verifyDepth32FData(const _texture_size& texture_size, glw::GLuint n_layer);
DesextcTextureCubeMapArrayColorDepthAttachments.cpp259 glw::GLuint texture_id, glw::GLuint n_layer, bool should_use_as_color_attachment, in configureNonLayeredFramebufferAttachment() argument
291 …gl.framebufferTextureLayer(framebuffer_target, attachment_type, texture_id, 0 /* level */, n_layer in configureNonLayeredFramebufferAttachment()
1031 glw::GLuint n_layer) in verifyColorData() argument
1047 glw::GLuint expected[4] = { n_layer, 0, 0, 1 }; in verifyColorData()
1072 glw::GLuint n_layer) in verifyDepth16Data() argument
1075 glw::GLushort expected_value = (glw::GLushort)n_layer; in verifyDepth16Data()
1116 glw::GLuint n_layer) in verifyDepth24Data() argument
1119 glw::GLuint expected_value = n_layer << 8; in verifyDepth24Data()
1156 glw::GLuint n_layer) in verifyDepth32FData() argument
1159 glw::GLfloat expected_value = (glw::GLfloat)n_layer / 256.0f; in verifyDepth32FData()
DesextcTextureCubeMapArrayStencilAttachments.cpp228 for (glw::GLuint n_layer = 0; n_layer < m_cube_map_array_data[test_index].getDepth(); ++n_layer) in iterate() local
232 n_layer); in iterate()
DesextcTextureCubeMapArrayGenerateMipMap.cpp161 void TextureCubeMapArrayGenerateMipMapFilterable::generateTestData(int n_layer, unsigned char* data… in generateTestData() argument
176 *result_ptr = m_layer_face_data[n_layer][n_color][n_component]; in generateTestData()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRendering.cpp441 unsigned int n_layer = 0; in iterate() local
464 for (n_layer = 0; n_layer < m_tests[n_current_test].n_layers; ++n_layer) in iterate()
467 m_layered_rendering_expected_layer_data + TEXTURE_N_COMPONENTS * n_layer; in iterate()
478 texture_target = (n_layer == 0) ? in iterate()
480 (n_layer == 1) ? in iterate()
482 (n_layer == 2) ? GL_TEXTURE_CUBE_MAP_POSITIVE_Y : in iterate()
483 (n_layer == 3) ? GL_TEXTURE_CUBE_MAP_NEGATIVE_Y : in iterate()
484 (n_layer == 4) ? GL_TEXTURE_CUBE_MAP_POSITIVE_Z : in iterate()
526 n_layer); in iterate()
DesextcGeometryShaderLayeredRenderingFBONoAttachment.cpp373 for (int n_layer = 0; n_layer < m_n_layers && !test_failed; ++n_layer) in iterate() local
375 …ramebufferTextureLayer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_to_id, 0 /* level */, n_layer); in iterate()
402 << n_layer << " is set to [" << m_layer_data[nPx * m_n_texture_components + 0] in iterate()
DesextcGeometryShaderLayeredFramebuffer.cpp168 unsigned int n_layer = 0; in iterate() local
311 for (n_layer = 0; n_layer < TEXTURE_DEPTH; ++n_layer) in iterate()
316 (n_layer == 0) ? in iterate()
318 (n_layer == 1) ? ref_buffer_slice2 : (n_layer == 2) ? ref_buffer_slice3 : ref_buffer_slice4; in iterate()
320 …ramebufferTextureLayer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_to_id, 0 /* level */, n_layer); in iterate()
343 m_testCtx.getLog() << tcu::TestLog::Message << "(layer=" << n_layer << " x=" << x << " y=" << y in iterate()
434 int n_layer = 0; in iterate() local
708 for (n_layer = 0; n_layer < TEXTURE_DEPTH; ++n_layer) in iterate()
710 ….framebufferTextureLayer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_id, 0 /* level */, n_layer); in iterate()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureViewTests.cpp4754 tcu::Vec4 TextureViewTestViewSampling::getReferenceColor(unsigned int n_layer, unsigned int n_face, in getReferenceColor() argument
4771 unsigned int temp = n_layer * 6 /* layer-faces per layer */ + n_face; in getReferenceColor()
4773 n_layer = temp; in getReferenceColor()
4779 n_face = n_layer % 6; /* faces per cube-map layer */ in getReferenceColor()
4780 n_layer = n_layer / 6; /* faces per cube-map layer */ in getReferenceColor()
4784 DE_ASSERT(n_layer < m_reference_color_storage->n_layers); in getReferenceColor()
4792 n_layer * (m_reference_color_storage->n_faces * m_reference_color_storage->n_mipmaps * in getReferenceColor()
5549 for (unsigned int n_layer = 0; n_layer < m_iteration_parent_texture_depth; ++n_layer) in initParentTextureContents() local
5553 (m_iteration_parent_texture_n_levels - n_layer) : in initParentTextureContents()
5591 n_mipmap, n_layer); in initParentTextureContents()
[all …]
Dgl4cTextureViewTests.hpp577 tcu::Vec4 getReferenceColor(unsigned int n_layer, unsigned int n_face, unsigned int n_mipmap,
585 …void setReferenceColor(unsigned int n_layer, unsigned int n_face, unsigned int n_mipmap, unsigned …