/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTexture.cpp | 35 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() 97 , m_numLayers (other.m_numLayers) in Texture() 153 return tcu::IVec3(size.x(), m_numLayers, 1); in size() 158 return tcu::IVec3(size.x(), size.y(), m_numLayers); in size()
|
D | vktImageTexture.hpp | 43 …int numLayers (void) const { return m_numLayers; } //!< Number of array layers (for array and… in numLayers() 57 const int m_numLayers; member in vkt::image::Texture
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawAhbTests.cpp | 65 : m_numVertices(numVertices), m_numLayers(numLayers) {} in DrawParams() 68 deUint32 m_numLayers; member 217 if (m_data.m_numLayers > properties.limits.maxColorAttachments) in checkSupport() 256 de::Random rnd (SEED ^ m_data.m_numLayers ^ m_data.m_numVertices); in generateDrawData() 282 for (deUint32 i = 0u; i < m_data.m_numLayers; i++) in iterate() 304 …(VK_IMAGE_TYPE_2D, colorAttachmentFormat, targetImageExtent, 1, m_data.m_numLayers, VK_SAMPLE_COUN… in iterate() 376 for (deUint32 i = 0u; i < m_data.m_numLayers; i++) in iterate() 489 for (deUint32 i = 0; i < m_data.m_numLayers; i++) in iterate() 508 …makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0, m_data.m_numLayers) // VkImageSubr… in iterate() 516 …vector<VkClearValue> clearColors (m_data.m_numLayers, makeClearValueColorF32(0.0f, 0.0f, 0.… in iterate() [all …]
|
D | vktDrawShaderLayerTests.cpp | 629 , m_numLayers (numLayers) in Renderer() 638 …mage (vk, device, makeImageCreateInfo(m_colorFormat, m_renderSize, m_numLayers, VK_IMAGE_USAGE… in Renderer() 701 VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, VK_ATTACHMENT_LOAD_OP_CLEAR, 0u, m_numLayers); in draw() 720 … VK_ATTACHMENT_LOAD_OP_CLEAR, VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT, m_numLayers); in draw() 736 VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, VK_ATTACHMENT_LOAD_OP_CLEAR, 0u, m_numLayers); in draw() 803 …vk.cmdDraw(cmdBuffer, static_cast<deUint32>(m_numLayers * 6), 1u, 0u, 0u); // two triangles per la… in drawCommands() 846 const int m_numLayers; member in vkt::Draw::__anonb6650e2b0111::Renderer
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationGeometryGridRenderTests.cpp | 90 const int m_numLayers; member in vkt::tessellation::__anon9318e8bb0111::GridRenderTestCase 99 , m_numLayers ((m_flags & FLAG_GEOMETRY_SCATTER_LAYERS) ? 8 : 1) in GridRenderTestCase() 301 DE_ASSERT(m_numLayers == numInvocations * 2); in initPrograms() 321 << " gl_Layer = ((baseLayer + ndx) * 11) % " << m_numLayers << ";\n" in initPrograms() 326 << " gl_Layer = ((baseLayer + ndx) * 11) % " << m_numLayers << ";\n" in initPrograms() 331 << " gl_Layer = ((baseLayer + ndx) * 11) % " << m_numLayers << ";\n" in initPrograms() 336 << " gl_Layer = ((baseLayer + ndx) * 11) % " << m_numLayers << ";\n" in initPrograms() 529 params.numLayers = m_numLayers; in createInstance()
|
/external/deqp/modules/egl/ |
D | teglAndroidUtil.cpp | 272 …ce (GLenum format, deUint32 numLayers, bool isYUV) : m_format(format), m_numLayers(numLayers), m_i… in AndroidNativeImageSource() 281 deUint32 m_numLayers; member in deqp::egl::Image::__anon8e04f29a0111::AndroidNativeImageSource 291 …tiveClientBuffer> buffer (new AndroidNativeClientBuffer(egl, m_format, m_numLayers, m_isY8Cb8Cr8_4… in createBuffer() 309 if (m_numLayers == 1u && !m_isY8Cb8Cr8_420) in createBuffer()
|
D | teglImageFormatTests.cpp | 186 …mageSource> imgSource, deUint32 numLayers = 1u) : m_imgSource(imgSource), m_numLayers(numLayers) {} in Create() 189 deUint32 getNumLayers (void) const { return m_numLayers; } in getNumLayers() 194 deUint32 m_numLayers; member in deqp::egl::Image::GLESImageApi::Create
|
/external/deqp/modules/gles31/stress/ |
D | es31sTessellationGeometryInteractionTests.cpp | 95 int m_numLayers; member in deqp::gles31::Stress::__anon39a4f05e0111::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/ |
D | es31fTessellationGeometryInteractionTests.cpp | 2169 int m_numLayers; member in deqp::gles31::Functional::__anon8a9895e00111::GridRenderCase 2177 , m_numLayers (1) in GridRenderCase() 2223 m_numLayers = 8; in init() 2225 …::TestLog::Message << "Rendering to 2d texture array, numLayers = " << m_numLayers << tcu::TestLog… in init() 2229 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA8, RENDER_SIZE, RENDER_SIZE, m_numLayers); in init() 2421 std::vector<tcu::Surface> renderedLayers (m_numLayers); in iterate() 2424 for (int ndx = 0; ndx < m_numLayers; ++ndx) in iterate() 2446 for (int ndx = 0; ndx < m_numLayers; ++ndx) in iterate() 2488 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in renderTo() 2531 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in renderTo() [all …]
|
D | es31fGeometryShaderTests.cpp | 2737 const int m_numLayers; member in deqp::gles31::Functional::__anon47a587a00111::LayeredRenderCase 2759 , m_numLayers (getTargetLayers(target)) in LayeredRenderCase() 2760 , m_targetLayer (m_numLayers / 2) in LayeredRenderCase() 2923 for (int layerNdx = 2; layerNdx < m_numLayers; ++layerNdx) in iterate() 2949 if (layerNdx < m_numLayers-1) in iterate() 3129 …const int maxVertices = (m_test == TEST_DIFFERENT_LAYERS) ? ((2 + m_numLayers-1) * m_numLayers)… in genGeometrySource() 3130 (m_test == TEST_ALL_LAYERS || m_test == TEST_LAYER_ID) ? (m_numLayers * 4) : in genGeometrySource() 3140 buf << "layout(points, invocations=" << m_numLayers << ") in;\n"; in genGeometrySource() 3188 DE_ASSERT(m_numLayers <= 6); in genGeometrySource() 3197 " for (mediump int layerNdx = 0; layerNdx < " << m_numLayers << "; ++layerNdx)\n" in genGeometrySource() [all …]
|
D | es31fPrimitiveBoundingBoxTests.cpp | 3817 const int m_numLayers; member in deqp::gles31::Functional::__anon6f0181f50111::DepthDrawCase 3832 , m_numLayers (14) in DepthDrawCase() 3926 m_layers.resize(m_numLayers); in init() 3927 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in init() 3929 m_layers[layerNdx].zOffset = ((float)layerNdx / (float)m_numLayers) * 2.0f - 1.0f; in init() 3930 m_layers[layerNdx].zScale = (2.0f / (float)m_numLayers); in init() 3992 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureFilteringTests.cpp | 701 const int m_numLayers; member in deqp::gles3::Functional::Texture2DArrayFilteringCase 742 , m_numLayers (numLayers) in Texture2DArrayFilteringCase() 768 …lu::Texture2DArray(m_context.getRenderContext(), m_internalFormat, m_width, m_height, m_numLayers); in init() 769 …lu::Texture2DArray(m_context.getRenderContext(), m_internalFormat, m_width, m_height, m_numLayers); in init() 786 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in init() 803 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in init() 805 const deUint32 step = 0x00ffffff / (numLevels*m_numLayers - 1); in init() 820 …x, tcu::Vec2( 1.5f, 2.8f ), tcu::Vec2(-1.0f, -2.7f), tcu::Vec2(-0.5f, float(m_numLayers)+0.5f))); in init() 821 …, tcu::Vec2( 0.2f, 0.175f), tcu::Vec2(-2.0f, -3.7f), tcu::Vec2(-0.5f, float(m_numLayers)+0.5f))); in init() 822 …, tcu::Vec2(-0.8f, -2.3f ), tcu::Vec2( 0.2f, -0.1f), tcu::Vec2(float(m_numLayers)+0.5f, -0.5f))); in init()
|
D | es3fTextureSpecificationTests.cpp | 444 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 …]
|
D | es3fTextureShadowTests.cpp | 717 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()
|
D | es3fTextureFormatTests.cpp | 470 int m_numLayers; member in deqp::gles3::Functional::Texture2DArrayFormatCase 486 , m_numLayers (numLayers) in Texture2DArrayFormatCase() 501 , m_numLayers (numLayers) in Texture2DArrayFormatCase() 518 …? new glu::Texture2DArray(m_renderCtx, m_format, m_dataType, m_width, m_height, m_numLayers) // Im… in init() 519 …: new glu::Texture2DArray(m_renderCtx, m_format, m_width, m_height, m_numLayers); // Explicit i… in init()
|
/external/deqp/framework/common/ |
D | tcuTexture.hpp | 965 int getNumLayers (void) const { return m_numLayers; } in getNumLayers() 986 int m_numLayers; member in tcu::Texture1DArray 1055 int getNumLayers (void) const { return m_numLayers; } in getNumLayers() 1080 int m_numLayers; member in tcu::Texture2DArray
|
D | tcuTexture.cpp | 4031 , m_numLayers (numLayers) in Texture1DArray() 4039 , m_numLayers (other.m_numLayers) in Texture1DArray() 4052 m_numLayers = other.m_numLayers; in operator =() 4068 TextureLevelPyramid::allocLevel(levelNdx, width, m_numLayers, 1); in allocLevel() 4077 , m_numLayers (numLayers) in Texture2DArray() 4086 , m_numLayers (other.m_numLayers) in Texture2DArray() 4100 m_numLayers = other.m_numLayers; in operator =() 4117 TextureLevelPyramid::allocLevel(levelNdx, width, height, m_numLayers); in allocLevel()
|
/external/OpenCL-CTS/test_conformance/vulkan/vulkan_interop_common/ |
D | vulkan_wrapper.cpp | 1546 m_numMipLevels(image.m_numMipLevels), m_numLayers(image.m_numLayers), in VulkanImage() 1558 m_format(format), m_numMipLevels(numMipLevels), m_numLayers(arrayLayers), in VulkanImage() 1626 uint32_t VulkanImage::getNumLayers() const { return m_numLayers; } in getNumLayers()
|
D | vulkan_wrapper.hpp | 437 const uint32_t m_numLayers; member in VulkanImage
|