Home
last modified time | relevance | path

Searched refs:m_numLayers (Results 1 – 14 of 14) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTexture.cpp35 DE_ASSERT(m_numLayers >= 1); in checkInvariants()
42 DE_ASSERT(m_numLayers == 1); in checkInvariants()
53 DE_ASSERT(m_numLayers == 1); in checkInvariants()
63 DE_ASSERT(m_numLayers == 6); in checkInvariants()
69 DE_ASSERT(m_numLayers >= 6 && m_numLayers % 6 == 0); in checkInvariants()
75 DE_ASSERT(m_numLayers == 1); in checkInvariants()
87 , m_numLayers (layers) in Texture()
96 , m_numLayers (other.m_numLayers) in Texture()
113 return tcu::IVec3(m_layerSize.x(), m_numLayers, 1); in size()
118 return tcu::IVec3(m_layerSize.x(), m_layerSize.y(), m_numLayers); in size()
DvktImageTexture.hpp43 …int numLayers (void) const { return m_numLayers; } //!< Number of array layers (for array and… in numLayers()
55 const int m_numLayers; member in vkt::image::Texture
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryGridRenderTests.cpp88 const int m_numLayers; member in vkt::tessellation::__anon038a44010111::GridRenderTestCase
97 , m_numLayers ((m_flags & FLAG_GEOMETRY_SCATTER_LAYERS) ? 8 : 1) in GridRenderTestCase()
108 …::TestLog::Message << "Rendering to 2d texture array, numLayers = " << m_numLayers << tcu::TestLog… in GridRenderTestCase()
360 DE_ASSERT(m_numLayers == numInvocations * 2); in initPrograms()
380 << " gl_Layer = ((baseLayer + ndx) * 11) % " << m_numLayers << ";\n" in initPrograms()
385 << " gl_Layer = ((baseLayer + ndx) * 11) % " << m_numLayers << ";\n" in initPrograms()
390 << " gl_Layer = ((baseLayer + ndx) * 11) % " << m_numLayers << ";\n" in initPrograms()
395 << " gl_Layer = ((baseLayer + ndx) * 11) % " << m_numLayers << ";\n" in initPrograms()
479 params.numLayers = m_numLayers; in createInstance()
/external/deqp/modules/gles31/stress/
Des31sTessellationGeometryInteractionTests.cpp95 int m_numLayers; member in deqp::gles31::Stress::__anon5e3403240111::GridRenderCase
102 , m_numLayers (1) in GridRenderCase()
297 std::vector<tcu::Surface> renderedLayers (m_numLayers); in iterate()
300 for (int ndx = 0; ndx < m_numLayers; ++ndx) in iterate()
322 for (int ndx = 0; ndx < m_numLayers; ++ndx) in iterate()
/external/deqp/modules/gles31/functional/
Des31fTessellationGeometryInteractionTests.cpp2146 int m_numLayers; member in deqp::gles31::Functional::__anonb25f9ba60111::GridRenderCase
2154 , m_numLayers (1) in GridRenderCase()
2198 m_numLayers = 8; in init()
2200 …::TestLog::Message << "Rendering to 2d texture array, numLayers = " << m_numLayers << tcu::TestLog… in init()
2204 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA8, RENDER_SIZE, RENDER_SIZE, m_numLayers); in init()
2396 std::vector<tcu::Surface> renderedLayers (m_numLayers); in iterate()
2399 for (int ndx = 0; ndx < m_numLayers; ++ndx) in iterate()
2421 for (int ndx = 0; ndx < m_numLayers; ++ndx) in iterate()
2463 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in renderTo()
2506 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in renderTo()
[all …]
Des31fGeometryShaderTests.cpp2715 const int m_numLayers; member in deqp::gles31::Functional::__anonadf2a0a60111::LayeredRenderCase
2737 , m_numLayers (getTargetLayers(target)) in LayeredRenderCase()
2738 , m_targetLayer (m_numLayers / 2) in LayeredRenderCase()
2878 for (int layerNdx = 2; layerNdx < m_numLayers; ++layerNdx) in iterate()
2904 if (layerNdx < m_numLayers-1) in iterate()
3084 …const int maxVertices = (m_test == TEST_DIFFERENT_LAYERS) ? ((2 + m_numLayers-1) * m_numLayers)… in genGeometrySource()
3085 (m_test == TEST_ALL_LAYERS || m_test == TEST_LAYER_ID) ? (m_numLayers * 4) : in genGeometrySource()
3095 buf << "layout(points, invocations=" << m_numLayers << ") in;\n"; in genGeometrySource()
3143 DE_ASSERT(m_numLayers <= 6); in genGeometrySource()
3152 " for (mediump int layerNdx = 0; layerNdx < " << m_numLayers << "; ++layerNdx)\n" in genGeometrySource()
[all …]
Des31fPrimitiveBoundingBoxTests.cpp3714 const int m_numLayers; member in deqp::gles31::Functional::__anond8dac77b0111::DepthDrawCase
3728 , m_numLayers (14) in DepthDrawCase()
3815 m_layers.resize(m_numLayers); in init()
3816 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in init()
3818 m_layers[layerNdx].zOffset = ((float)layerNdx / (float)m_numLayers) * 2.0f - 1.0f; in init()
3819 m_layers[layerNdx].zScale = (2.0f / (float)m_numLayers); in init()
3873 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawShaderLayerTests.cpp599 , m_numLayers (numLayers) in Renderer()
608 …mage (vk, device, makeImageCreateInfo(m_colorFormat, m_renderSize, m_numLayers, VK_IMAGE_USAGE… in Renderer()
669 …vk.cmdDraw(*m_cmdBuffer, static_cast<deUint32>(m_numLayers * 6), 1u, 0u, 0u); // two triangles per… in draw()
683 const int m_numLayers; member in vkt::Draw::__anon1c59e0310111::Renderer
/external/deqp/modules/gles3/functional/
Des3fTextureFilteringTests.cpp698 const int m_numLayers; member in deqp::gles3::Functional::Texture2DArrayFilteringCase
739 , m_numLayers (numLayers) in Texture2DArrayFilteringCase()
765 …lu::Texture2DArray(m_context.getRenderContext(), m_internalFormat, m_width, m_height, m_numLayers); in init()
766 …lu::Texture2DArray(m_context.getRenderContext(), m_internalFormat, m_width, m_height, m_numLayers); in init()
783 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in init()
800 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in init()
802 const deUint32 step = 0x00ffffff / (numLevels*m_numLayers - 1); in init()
817 …x, tcu::Vec2( 1.5f, 2.8f ), tcu::Vec2(-1.0f, -2.7f), tcu::Vec2(-0.5f, float(m_numLayers)+0.5f))); in init()
818 …, tcu::Vec2( 0.2f, 0.175f), tcu::Vec2(-2.0f, -3.7f), tcu::Vec2(-0.5f, float(m_numLayers)+0.5f))); in init()
819 …, tcu::Vec2(-0.8f, -2.3f ), tcu::Vec2( 0.2f, -0.1f), tcu::Vec2(float(m_numLayers)+0.5f, -0.5f))); in init()
Des3fTextureSpecificationTests.cpp444 int m_numLayers; member in deqp::gles3::Functional::Texture2DArraySpecCase
454 , m_numLayers (numLayers) in Texture2DArraySpecCase()
486 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in verifyTexture()
775 levelData.setSize(levelW, levelH, m_numLayers); in createTexture()
778 …glTexImage3D(GL_TEXTURE_2D_ARRAY, ndx, m_internalFormat, levelW, levelH, m_numLayers, 0, transferF… in createTexture()
2222 …lTexStorage3D (GL_TEXTURE_2D_ARRAY, m_numLevels, m_internalFormat, m_width, m_height, m_numLayers); in createTexture()
2233 levelData.setSize(levelW, levelH, m_numLayers); in createTexture()
2236 …glTexSubImage3D(GL_TEXTURE_2D_ARRAY, ndx, 0, 0, 0, levelW, levelH, m_numLayers, transferFmt.format… in createTexture()
2482 data.resize(slicePitch*(m_numLayers+m_skipImages) + m_offset); in createTexture()
2489 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_numLayers, rowPitch, sl… in createTexture()
[all …]
Des3fTextureShadowTests.cpp717 const int m_numLayers; member in deqp::gles3::Functional::Texture2DArrayShadowCase
761 , m_numLayers (numLayers) in Texture2DArrayShadowCase()
786 … = new glu::Texture2DArray(m_context.getRenderContext(), m_format, m_width, m_height, m_numLayers); in init()
787 … = new glu::Texture2DArray(m_context.getRenderContext(), m_format, m_width, m_height, m_numLayers); in init()
851 const float maxLayer = (float)m_numLayers; in init()
Des3fTextureFormatTests.cpp467 int m_numLayers; member in deqp::gles3::Functional::Texture2DArrayFormatCase
483 , m_numLayers (numLayers) in Texture2DArrayFormatCase()
498 , m_numLayers (numLayers) in Texture2DArrayFormatCase()
515 …? new glu::Texture2DArray(m_renderCtx, m_format, m_dataType, m_width, m_height, m_numLayers) // Im… in init()
516 …: new glu::Texture2DArray(m_renderCtx, m_format, m_width, m_height, m_numLayers); // Explicit i… in init()
/external/deqp/framework/common/
DtcuTexture.hpp945 int getNumLayers (void) const { return m_numLayers; } in getNumLayers()
966 int m_numLayers; member in tcu::Texture1DArray
1002 int getNumLayers (void) const { return m_numLayers; } in getNumLayers()
1027 int m_numLayers; member in tcu::Texture2DArray
DtcuTexture.cpp3620 , m_numLayers (numLayers) in Texture1DArray()
3628 , m_numLayers (other.m_numLayers) in Texture1DArray()
3641 m_numLayers = other.m_numLayers; in operator =()
3657 TextureLevelPyramid::allocLevel(levelNdx, width, m_numLayers, 1); in allocLevel()
3666 , m_numLayers (numLayers) in Texture2DArray()
3675 , m_numLayers (other.m_numLayers) in Texture2DArray()
3689 m_numLayers = other.m_numLayers; in operator =()
3706 TextureLevelPyramid::allocLevel(levelNdx, width, height, m_numLayers); in allocLevel()