/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 555 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getSize() local 557 const tcu::ConstPixelBufferAccess level = getLevel(levelNdx, layerNdx); in getSize() 579 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getCompressedSize() local 582 textureSize += getCompressedLevel(levelNdx, layerNdx).getDataSize(); in getCompressedSize() 619 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions() local 621 const tcu::CompressedTexture& level = getCompressedLevel(levelNdx, layerNdx); in getBufferCopyRegions() 633 (deUint32)layerNdx, in getBufferCopyRegions() 655 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions() local 657 const tcu::ConstPixelBufferAccess level = getLevel(levelNdx, layerNdx); in getBufferCopyRegions() 669 (deUint32)layerNdx, in getBufferCopyRegions() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageLoadStoreTests.cpp | 199 for (int layerNdx = 0; layerNdx < numLayersOrSlices; ++layerNdx) in comparePixelBuffers() local 201 const std::string comparisonName = "Comparison" + de::toString(layerNdx); in comparePixelBuffers() 203 …(isCube(texture) ? "face " + de::toString(layerNdx % numCubeFaces) + ", cube " + de::toString(laye… in comparePixelBuffers() 204 is3d ? "slice " + de::toString(layerNdx) : "layer " + de::toString(layerNdx)); in comparePixelBuffers() 206 const tcu::ConstPixelBufferAccess refLayer = getLayerOrSlice(texture, reference, layerNdx); in comparePixelBuffers() 207 const tcu::ConstPixelBufferAccess resultLayer = getLayerOrSlice(texture, result, layerNdx); in comparePixelBuffers() 531 const int layerNdx) = 0; 569 for (int layerNdx = 0; layerNdx < loopNumLayers; ++layerNdx) in iterate() local 571 commandBindDescriptorsForLayer(*cmdBuffer, *pipelineLayout, layerNdx); in iterate() 573 if (layerNdx > 0) in iterate() [all …]
|
D | vktImageQualifiersTests.cpp | 126 for (deUint32 layerNdx = 0; layerNdx < getNumLayers(imageType, imageSize); ++layerNdx) in comparePixelBuffers() local 128 const std::string comparisonName = "Comparison" + de::toString(layerNdx); in comparePixelBuffers() 134 comparisonDesc = comparisonDesc + "slice " + de::toString(layerNdx); in comparePixelBuffers() 139 …risonDesc = comparisonDesc + "face " + de::toString(layerNdx % 6) + ", cube " + de::toString(layer… in comparePixelBuffers() 143 comparisonDesc = comparisonDesc + "layer " + de::toString(layerNdx); in comparePixelBuffers() 147 const tcu::ConstPixelBufferAccess refLayer = getLayerOrSlice(imageType, reference, layerNdx); in comparePixelBuffers() 148 const tcu::ConstPixelBufferAccess resultLayer = getLayerOrSlice(imageType, result, layerNdx); in comparePixelBuffers()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageSparseResidency.cpp | 386 for (deUint32 layerNdx = 0; layerNdx < imageCreateInfo.arrayLayers; ++layerNdx) in iterate() local 400 … = x + y*numSparseBinds.x() + z*numSparseBinds.x()*numSparseBinds.y() + layerNdx*numSparseBinds.x(… in iterate() 433 imageMemoryBind.subresource.arrayLayer = layerNdx; in iterate() 461 …imageMipTailMemoryBind.resourceOffset = aspectRequirements.imageMipTailOffset + layerNdx * aspectR… in iterate() 657 for (deUint32 layerNdx = 0; layerNdx < imageCreateInfo.arrayLayers; ++layerNdx) in iterate() local 666 offset.depth = z*imageGranularity.depth + layerNdx*numSparseBinds.z()*imageGranularity.depth; in iterate() 673 … = x + y*numSparseBinds.x() + z*numSparseBinds.x()*numSparseBinds.y() + layerNdx*numSparseBinds.x(… in iterate()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 299 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate() local 324 imageMemoryBind.subresource.arrayLayer = layerNdx; in iterate() 351 …imageMipTailMemoryBind.resourceOffset = aspectRequirements.imageMipTailOffset + layerNdx * aspectR… in iterate()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 1742 int layerNdx; member 1755 …gls::TextureTestUtil::computeQuadTexCoord2DArray(res, m_iterations[iterationNdx].layerNdx, Vec2(-0… in computeQuadTexCoord() 1766 for (int layerNdx = -1; layerNdx < m_textureSize.z()+1; layerNdx++) in generateIterations() local 1769 if (layerNdx == 0) in generateIterations() 1775 m_iterations.back().layerNdx = layerNdx; in generateIterations() 1783 …if (isDepthFormat(m_textureFormat) || basicIterations[basicNdx].componentNdx == (layerNdx + 2) % 4) in generateIterations() 1787 m_iterations.back().layerNdx = layerNdx; in generateIterations() 1817 for (int layerNdx = 0; layerNdx < m_textureSize.z(); layerNdx++) in createAndUploadTexture() local 1818 …g << TestLog::Image("InputTextureLevel" + de::toString(layerNdx) + "Layer" + de::toString(layerNdx… in createAndUploadTexture() 1819 "Layer " + de::toString(layerNdx), in createAndUploadTexture() [all …]
|
D | es31fTessellationGeometryInteractionTests.cpp | 2129 bool verifyResultLayer (int layerNdx, const tcu::Surface& dst); 2463 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in renderTo() local 2465 gl.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_texture, 0, layerNdx); in renderTo() 2506 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in renderTo() local 2508 gl.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_texture, 0, layerNdx); in renderTo() 2509 glu::readPixels(m_context.getRenderContext(), 0, 0, dst[layerNdx].getAccess()); in renderTo() 2520 bool GridRenderCase::verifyResultLayer (int layerNdx, const tcu::Surface& image) in verifyResultLayer() argument 2527 …m_testCtx.getLog() << tcu::TestLog::Message << "Verifying output layer " << layerNdx << tcu::Test… in verifyResultLayer()
|
D | es31fTextureFormatTests.cpp | 86 bool testLayerFace (int layerNdx); 183 const int layerNdx = layerFaceNdx / 6; in testLayerFace() local 193 …ubeArray(texCoord, face, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f), tcu::Vec2((float)layerNdx)); in testLayerFace()
|
D | es31fPrimitiveBoundingBoxTests.cpp | 3606 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in init() local 3608 m_layers[layerNdx].zOffset = ((float)layerNdx / (float)m_numLayers) * 2.0f - 1.0f; in init() 3609 m_layers[layerNdx].zScale = (2.0f / (float)m_numLayers); in init() 3610 …m_layers[layerNdx].color1 = (layerNdx == 0) ? (tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(0.0… in init() 3611 …m_layers[layerNdx].color2 = (layerNdx == 0) ? (tcu::Vec4(1.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(1.0… in init() 3663 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in iterate() local 3665 gl.uniform1f(depthBiasLocation, m_layers[layerNdx].zOffset); in iterate() 3666 gl.uniform1f(depthScaleLocation, m_layers[layerNdx].zScale); in iterate() 3667 gl.uniform4fv(color1Location, 1, m_layers[layerNdx].color1.getPtr()); in iterate() 3668 gl.uniform4fv(color2Location, 1, m_layers[layerNdx].color2.getPtr()); in iterate() [all …]
|
D | es31fGeometryShaderTests.cpp | 2703 bool verifyLayerContent (const tcu::Surface& layer, int layerNdx); 2878 for (int layerNdx = 2; layerNdx < m_numLayers; ++layerNdx) in iterate() local 2880 …dLogSection section (m_testCtx.getLog(), "VerifyLayer", "Verify layer " + de::toString(layerNdx)); in iterate() 2884 sampleTextureLayer(layer, layerNdx); in iterate() 2894 const int layerNdx = m_iteration - 2; in iterate() local 2895 …dLogSection section (m_testCtx.getLog(), "VerifyLayer", "Verify layer " + de::toString(layerNdx)); in iterate() 2899 sampleTextureLayer(layer, layerNdx); in iterate() 2902 m_allLayersOk &= verifyLayerContent(layer, layerNdx); in iterate() 2904 if (layerNdx < m_numLayers-1) in iterate() 3437 bool LayeredRenderCase::verifyLayerContent (const tcu::Surface& layer, int layerNdx) in verifyLayerContent() argument [all …]
|
D | es31fShaderImageLoadStoreTests.cpp | 1218 for (int layerNdx = 0; layerNdx < numSlicesOrFaces; layerNdx++) in iterate() local 1220 if (layerNdx > 0) in iterate() 1223 uniforms.assign1i("u_layerNdx", layerNdx); in iterate() 1225 glLog.glBindImageTexture(0, *texture, 0, GL_FALSE, layerNdx, GL_WRITE_ONLY, internalFormatGL); in iterate() 1469 for (int layerNdx = 0; layerNdx < numSlicesOrFaces; layerNdx++) in iterate() local 1471 if (layerNdx > 0) in iterate() 1474 …glLog.glBindImageTexture(0, *texture0, 0, GL_FALSE, layerNdx, GL_READ_ONLY, imageInternalFormatGL); in iterate() 1477 …glLog.glBindImageTexture(1, *texture1, 0, GL_FALSE, layerNdx, GL_WRITE_ONLY, imageInternalFormatGL… in iterate()
|
D | es31fTextureSpecificationTests.cpp | 267 const int layerNdx = layerFaceNdx / 6; in verifyTexture() local 271 shader.setLayer(layerNdx); in verifyTexture()
|
/external/deqp/modules/gles31/stress/ |
D | es31sTessellationGeometryInteractionTests.cpp | 79 bool verifyResultLayer (int layerNdx, const tcu::Surface& dst); 379 bool GridRenderCase::verifyResultLayer (int layerNdx, const tcu::Surface& image) in verifyResultLayer() argument 386 …m_testCtx.getLog() << tcu::TestLog::Message << "Verifying output layer " << layerNdx << tcu::Test… in verifyResultLayer()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureFilteringTests.cpp | 760 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in init() local 762 const tcu::IVec4 swz = levelSwz[layerNdx%DE_LENGTH_OF_ARRAY(levelSwz)]; in init() 766 …tcu::fillWithComponentGradients(tcu::getSubregion(levelBuf, 0, 0, layerNdx, levelBuf.getWidth(), l… in init() 777 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in init() local 780 const deUint32 rgb = step * (levelNdx + layerNdx*numLevels); in init() 784 …tcu::fillWithGrid(tcu::getSubregion(levelBuf, 0, 0, layerNdx, levelBuf.getWidth(), levelBuf.getHei… in init()
|
D | es3fTextureFormatTests.cpp | 431 bool testLayer (int layerNdx); 505 bool Texture2DArrayFormatCase::testLayer (int layerNdx) in testLayer() argument 522 computeQuadTexCoord2DArray(texCoord, layerNdx, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); in testLayer() 550 …areImages(log, (string("Layer" + de::toString(layerNdx))).c_str(), (string("Layer " + de::toString… in testLayer()
|
D | es3fTextureSpecificationTests.cpp | 486 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in verifyTexture() local 490 shader.setLayer(layerNdx); in verifyTexture() 512 string layerStr = de::toString(layerNdx); in verifyTexture() 516 … (levelNdx == 0 && layerNdx == 0) ? tcu::COMPARE_LOG_RESULT : tcu::COMPARE_LOG_ON_ERROR); in verifyTexture()
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.hpp | 363 void computeQuadTexCoord1DArray (std::vector<float>& dst, int layerNdx, float left, float right); 365 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomL…
|
D | glsTextureTestUtil.cpp | 1475 void computeQuadTexCoord1DArray (std::vector<float>& dst, int layerNdx, float left, float right) in computeQuadTexCoord1DArray() argument 1479 dst[0] = left; dst[1] = (float)layerNdx; in computeQuadTexCoord1DArray() 1480 dst[2] = left; dst[3] = (float)layerNdx; in computeQuadTexCoord1DArray() 1481 dst[4] = right; dst[5] = (float)layerNdx; in computeQuadTexCoord1DArray() 1482 dst[6] = right; dst[7] = (float)layerNdx; in computeQuadTexCoord1DArray() 1495 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft… in computeQuadTexCoord2DArray() argument 1499 dst[0] = bottomLeft.x(); dst[ 1] = bottomLeft.y(); dst[ 2] = (float)layerNdx; in computeQuadTexCoord2DArray() 1500 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx; in computeQuadTexCoord2DArray() 1501 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx; in computeQuadTexCoord2DArray() 1502 dst[9] = topRight.x(); dst[10] = topRight.y(); dst[11] = (float)layerNdx; in computeQuadTexCoord2DArray()
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 2001 …ces (const TextureCubeArrayView& texture, const int levelNdx, const int layerNdx, ConstPixelBuffer… in getCubeArrayLevelFaces() argument 2004 const int layerDepth = layerNdx * 6; in getCubeArrayLevelFaces() 2027 for (int layerNdx = layerRange.x(); layerNdx <= layerRange.y(); layerNdx++) in isLookupResultValid() local 2040 getCubeArrayLevelFaces(texture, 0, layerNdx, faces); in isLookupResultValid() 2070 getCubeArrayLevelFaces(texture, levelNdx, layerNdx, faces0); in isLookupResultValid() 2071 getCubeArrayLevelFaces(texture, levelNdx + 1, layerNdx, faces1); in isLookupResultValid() 2089 getCubeArrayLevelFaces(texture, levelNdx, layerNdx, faces); in isLookupResultValid() 2098 getCubeArrayLevelFaces(texture, 0, layerNdx, faces); in isLookupResultValid()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 3286 for (deUint32 layerNdx = 0; layerNdx < arraySize; ++layerNdx) in uploadImage() local 3296 (deUint32)layerNdx, in uploadImage() 3317 for (deUint32 layerNdx = 0; layerNdx < arraySize; ++layerNdx) in uploadImage() local
|