/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageMultisampleLoadStoreTests.cpp | 205 for (int layerNdx = 0; layerNdx < caseDef.texture.numLayers(); ++layerNdx) in insertImageViews() local 207 (*pOutImageViews)[layerNdx] = makeVkSharedPtr(makeImageView( in insertImageViews() 209 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, layerNdx, 1u))); in insertImageViews() 229 for (int layerNdx = 0; layerNdx < caseDef.texture.numLayers(); ++layerNdx) in insertDescriptorSets() local 230 …(*pOutDescriptorSets)[layerNdx] = makeVkSharedPtr(makeDescriptorSet(vk, device, descriptorPool, de… in insertDescriptorSets() 274 for (int layerNdx = 0; layerNdx < numLayers; ++layerNdx) in test() local 276 deInt32* const valuePtr = reinterpret_cast<deInt32*>(basePtr + layerNdx * bufferChunkSize); in test() 277 *valuePtr = layerNdx; in test() 344 for (int layerNdx = 0; layerNdx < loopNumLayers; ++layerNdx) in test() local 346 const VkDescriptorSet descriptorSet = **allDescriptorSets[layerNdx]; in test() [all …]
|
D | vktImageMisalignedCubeTests.cpp | 226 for (deUint32 layerNdx = 0; layerNdx < numLayers; ++layerNdx) in iterate() local 228 const float componentValue = float(16 * layerNdx) / 255.0f; in iterate() 230 const VkDeviceSize bufferOffset = layerNdx * layerSize; in iterate() 231 …Layers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, 0u, layerNdx, 1u); in iterate() 252 for (deUint32 layerNdx = 0; layerNdx < 6; ++layerNdx) in iterate() local 254 const deUint32 layerUsed = cube0LayerStart + layerNdx; in iterate() 257 const tcu::Vec4 resultColor = readVec4(resultBufferAlloc.getHostPtr(), layerNdx); in iterate() 265 for (deUint32 layerNdx = 0; layerNdx < 6; ++layerNdx) in iterate() local 267 const deUint32 layerUsed = cube1LayerStart + layerNdx; in iterate() 270 const tcu::Vec4 resultColor = readVec4(resultBufferAlloc.getHostPtr(), layerNdx + 6u); in iterate()
|
D | vktImageLoadStoreTests.cpp | 150 for (int layerNdx = 0; layerNdx < numLayersOrSlices; ++layerNdx) in comparePixelBuffers() local 152 const std::string comparisonName = "Comparison" + de::toString(layerNdx); in comparePixelBuffers() 154 …(isCube(texture) ? "face " + de::toString(layerNdx % numCubeFaces) + ", cube " + de::toString(laye… in comparePixelBuffers() 155 …is3d ? "slice " + de::toString(layerNdx) : "layer " + de::toString(layerNdx) + " , level " + de… in comparePixelBuffers() 157 const tcu::ConstPixelBufferAccess refLayer = getLayerOrSlice(texture, reference, layerNdx); in comparePixelBuffers() 158 const tcu::ConstPixelBufferAccess resultLayer = getLayerOrSlice(texture, result, layerNdx); in comparePixelBuffers() 623 const int layerNdx) = 0; 674 for (int layerNdx = 0; layerNdx < loopNumLayers; ++layerNdx) in iterate() local 676 commandBindDescriptorsForLayer(*cmdBuffer, *pipelineLayout, layerNdx); in iterate() 678 if (layerNdx > 0) in iterate() [all …]
|
D | vktImageCompressionTranscodingSupport.cpp | 567 for (deUint32 layerNdx = 0u; layerNdx < getLayerCount(); ++layerNdx) in iterate() local 571 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipNdx, 1u, layerNdx, 1u), in iterate() 641 for (deUint32 layerNdx = 0u; layerNdx < getLayerCount(); ++layerNdx) in iterate() local 643 const deUint32 imageNdx = layerNdx + mipNdx * getLayerCount(); in iterate() 980 for (size_t layerNdx = 0ull; layerNdx < getLayerCount(); ++layerNdx) in createImageInfos() local 1025 for (deUint32 layerNdx = 0u; layerNdx < getLayerCount(); ++layerNdx) in decompressImage() local 1027 const bool layoutShaderReadOnly = (layerNdx % 2u) == 1; in decompressImage() 1028 const deUint32 imageNdx = layerNdx + mipNdx * getLayerCount(); in decompressImage() 1098 …makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipNdx, 1u, layerNdx, 1u), &compressedViewUsa… in decompressImage() 1179 layerNdx, //deUint32 baseArrayLayer in decompressImage() [all …]
|
D | vktImageSubresourceLayoutTests.cpp | 503 for (deUint32 layerNdx = 0; layerNdx < numLayers; ++layerNdx) in iterateAspect() local 505 const auto imageSubresource = makeImageSubresource(imageAspect, levelNdx, layerNdx); in iterateAspect() 519 << " layer " << layerNdx in iterateAspect() 525 …if ((subresourceLayout.offset - levelSubresourceLayout.offset) != (layerNdx * subresourceLayout.ar… in iterateAspect() 530 << " layer " << layerNdx in iterateAspect() 542 << " layer " << layerNdx in iterateAspect() 555 << " layer " << layerNdx in iterateAspect() 567 << " layer " << layerNdx in iterateAspect() 580 << " layer " << layerNdx in iterateAspect() 588 const auto layerBufferOffset = level.offset + layerNdx * numPixels * pixelSize; in iterateAspect() [all …]
|
D | vktImageQualifiersTests.cpp | 129 for (deUint32 layerNdx = 0; layerNdx < getNumLayers(imageType, imageSize); ++layerNdx) in comparePixelBuffers() local 131 const std::string comparisonName = "Comparison" + de::toString(layerNdx); in comparePixelBuffers() 137 comparisonDesc = comparisonDesc + "slice " + de::toString(layerNdx); in comparePixelBuffers() 142 …risonDesc = comparisonDesc + "face " + de::toString(layerNdx % 6) + ", cube " + de::toString(layer… in comparePixelBuffers() 146 comparisonDesc = comparisonDesc + "layer " + de::toString(layerNdx); in comparePixelBuffers() 150 const tcu::ConstPixelBufferAccess refLayer = getLayerOrSlice(imageType, reference, layerNdx); in comparePixelBuffers() 151 const tcu::ConstPixelBufferAccess resultLayer = getLayerOrSlice(imageType, result, layerNdx); in comparePixelBuffers()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 748 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getSize() local 750 const tcu::ConstPixelBufferAccess level = getLevel(levelNdx, layerNdx); in getSize() 772 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getCompressedSize() local 775 textureSize += getCompressedLevel(levelNdx, layerNdx).getDataSize(); in getCompressedSize() 812 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions() local 814 const tcu::CompressedTexture& level = getCompressedLevel(levelNdx, layerNdx); in getBufferCopyRegions() 826 (deUint32)layerNdx, in getBufferCopyRegions() 860 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions() local 862 const tcu::ConstPixelBufferAccess level = getLevel(levelNdx, layerNdx); in getBufferCopyRegions() 876 (deUint32)layerNdx, in getBufferCopyRegions() [all …]
|
D | vktPipelineMultisampleShaderFragmentMaskTests.cpp | 924 for (deUint32 layerNdx = 0u; layerNdx < params.numLayers; ++layerNdx) in draw() local 927 …params.colorFormat, makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, layerNdx, 1u))))); in draw() 941 for (deUint32 layerNdx = 0u; layerNdx < params.numLayers; ++layerNdx) in draw() local 943 attachments.push_back(**imageViews[layerNdx]); in draw() 1001 for (deUint32 layerNdx = 0u; layerNdx < params.numLayers; ++layerNdx) in draw() local 1005 … getVertexInputColorFormat(params.colorFormat), true/*use color attachment*/, layerNdx /*subpass*/, in draw() 1042 for (deUint32 layerNdx = 0u; layerNdx < params.numLayers; ++layerNdx) in draw() local 1044 if (layerNdx != 0u) in draw() 1047 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, **pipelines[layerNdx]); in draw() 1048 …vk.cmdDraw(*cmdBuffer, wd.numVertices, 1u, 0u, layerNdx); // pass instance index to slightly chang… in draw() [all …]
|
D | vktPipelineMultisampleImageTests.cpp | 914 for (int layerNdx = 0; layerNdx < caseDef.numLayers; ++layerNdx) in renderMultisampledImage() local 916 if (layerNdx != 0) in renderMultisampledImage() 919 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, **pipelines[layerNdx]); in renderMultisampledImage() 1392 for (int layerNdx = 0; layerNdx < caseDef.numLayers; ++layerNdx) in compareImages() local 1394 …rAccess referenceImage = tcu::getSubregion(layeredReferenceImage, 0, 0, layerNdx, caseDef.renderSi… in compareImages() 1395 …BufferAccess actualImage = tcu::getSubregion(layeredActualImage, 0, 0, layerNdx, caseDef.renderSi… in compareImages() 1396 const std::string imageName = "color layer " + de::toString(layerNdx); in compareImages() 1777 for (int layerNdx = 0; layerNdx < DE_LENGTH_OF_ARRAY(numLayers); ++layerNdx) in addTestCasesWithFunctions() local 1779 …roup(group->getTestContext(), getSizeLayerString(size[sizeNdx], numLayers[layerNdx]).c_str(), "")); in addTestCasesWithFunctions() 1791 numLayers[layerNdx], // int numLayers; in addTestCasesWithFunctions()
|
D | vktPipelineFramebufferAttachmentTests.cpp | 457 for (deUint32 layerNdx = 0; layerNdx < caseDef.numLayers; ++layerNdx) in test() local 460 imageViewType, COLOR_FORMAT, makeColorSubresourceRange(layerNdx, 1)))); in test() 464 caseDef.renderSize, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, layerNdx, 1u, caseDef.multisample))); in test() 529 for (deUint32 layerNdx = 0; layerNdx < caseDef.numLayers; ++layerNdx) in test() local 531 if (layerNdx != 0) in test() 534 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, **pipeline[layerNdx]); in test() 535 vk.cmdDraw(*cmdBuffer, 4u, 1u, layerNdx*4u, 0u); in test()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiToolingInfoTests.cpp | 246 for (size_t layerNdx = 0; layerNdx < layers.size(); ++layerNdx) in validateInstanceLayers() local 252 if (strcmp(layers[layerNdx], deviceToolPropertiesEXTArray[toolNdx].layer) == 0) in validateInstanceLayers() 281 for (size_t layerNdx = 0; layerNdx < layers.size(); ++layerNdx) in validateInstanceLayers() local 285 if (strcmp(layers[layerNdx], deviceToolPropertiesEXTArray[toolNdx].layer) == 0) in validateInstanceLayers() 288 layerNdx = layers.size(); in validateInstanceLayers()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryLayeredRenderingTests.cpp | 701 …t TestType testType, const tcu::ConstPixelBufferAccess image, const int layerNdx, const int numLay… in verifyLayerContent() argument 705 const float variableBarRatio = static_cast<float>(layerNdx) / static_cast<float>(numLayers); in verifyLayerContent() 710 if (layerNdx == 0) in verifyLayerContent() 716 if (layerNdx == targetLayer) in verifyLayerContent() 723 …return verifyImageSingleColoredRow(log, image, 0.5f, s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colo… in verifyLayerContent() 727 if (layerNdx == 0) in verifyLayerContent() 735 const tcu::Vec4 layerColor( (layerNdx % 2) == 1 ? 1.0f : 0.5f, in verifyLayerContent() 736 ((layerNdx/2) % 2) == 1 ? 1.0f : 0.5f, in verifyLayerContent() 737 layerNdx == 0 ? 1.0f : 0.0f, in verifyLayerContent() 751 …const float pass0depth = static_cast<float>(layerNdx + 1) / static_cast<float>(2 * numLayers… in verifyLayerContent() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderTests.cpp | 293 …rterRefColor (const deUint32 quarterNdx, const int colorNdx, const int layerNdx, const bool backg… 295 …ixelBuffer, const tcu::Vec4& pointColor, const int pointSize, const int layerNdx, const deUint32 q… 296 … tcu::PixelBufferAccess& pixelBuffer, const tcu::Vec4& color, const int layerNdx, const deUint32 q… 297 …r (const tcu::PixelBufferAccess& pixelBuffer, const tcu::Vec4& color, const int layerNdx) const; 298 … tcu::PixelBufferAccess& pixelBuffer, const tcu::Vec4& color, const int layerNdx, const deUint32 q… 1168 for (deUint32 layerNdx = 0u; layerNdx < m_parameters.extent.depth; layerNdx++) in checkImage() local 1170 …nt.width, m_parameters.extent.height, 1u, referenceFrame->getLevel(0).getPixelPtr(0, 0, layerNdx)); in checkImage() 1171 …arameters.extent.width, m_parameters.extent.height, 1u, renderedFrame.getPixelPtr(0 ,0, layerNdx)); in checkImage() 1178 …arterRefColor (const deUint32 quarterNdx, const int colorNdx, const int layerNdx, const bool backg… in getQuarterRefColor() argument 1191 …return m_vertexColor[0] + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.10f, static_cast<float>(… in getQuarterRefColor() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageSparseResidency.cpp | 434 for (deUint32 layerNdx = 0; layerNdx < imageCreateInfo.arrayLayers; ++layerNdx) in iterate() local 438 const VkImageSubresource subresource = { aspect, mipLevelNdx, layerNdx }; in iterate() 449 … y * numSparseBinds.x() + z * numSparseBinds.x() * numSparseBinds.y() + layerNdx * numSparseBinds.… in iterate() 476 …s.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx * aspectRequireme… in iterate() 492 …metadataAspectRequirements.imageMipTailOffset + layerNdx * metadataAspectRequirements.imageMipTail… in iterate() 806 for (deUint32 layerNdx = 0; layerNdx < imageCreateInfo.arrayLayers; ++layerNdx) in iterate() local 815 …offset.depth = z * compatibleImageGranularity.depth + layerNdx * numSparseBinds.z()*compatibleImag… in iterate() 822 … y * numSparseBinds.x() + z * numSparseBinds.x() * numSparseBinds.y() + layerNdx * numSparseBinds.… in iterate()
|
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 583 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate() local 588 const VkImageSubresource subresource = { aspect, mipmapNdx, layerNdx }; in iterate() 612 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate() local 615 …s.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx * aspectRequireme… in iterate()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 278 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate() local 285 const VkImageSubresource subresource = { aspect, mipLevelNdx, layerNdx }; in iterate() 298 …s.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx * aspectRequireme… in iterate() 314 …metadataAspectRequirements.imageMipTailOffset + layerNdx * metadataAspectRequirements.imageMipTail… in iterate()
|
D | vktSparseResourcesImageMemoryAliasing.cpp | 340 for (deUint32 layerNdx = 0; layerNdx < imageSparseInfo.arrayLayers; ++layerNdx) in iterate() local 347 const VkImageSubresource subresource = { aspect, mipLevelNdx, layerNdx }; in iterate() 360 …s.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx * aspectRequireme… in iterate() 367 …s.imageMipTailSize, memoryType, aspectRequirements.imageMipTailOffset + layerNdx * aspectRequireme… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureGatherTests.cpp | 113 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft… in computeQuadTexCoord2DArray() argument 117 dst[0] = bottomLeft.x(); dst[ 1] = bottomLeft.y(); dst[ 2] = (float)layerNdx; in computeQuadTexCoord2DArray() 118 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx; in computeQuadTexCoord2DArray() 119 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx; in computeQuadTexCoord2DArray() 120 dst[9] = topRight.x(); dst[10] = topRight.y(); dst[11] = (float)layerNdx; in computeQuadTexCoord2DArray() 2031 int layerNdx; member 2046 for (int layerNdx = -1; layerNdx < textureSize.z()+1; layerNdx++) in generate2DArrayCaseIterations() local 2049 if (layerNdx == 0) in generate2DArrayCaseIterations() 2055 iterations.back().layerNdx = layerNdx; in generate2DArrayCaseIterations() 2063 … if (isDepthFormat(textureFormat) || basicIterations[basicNdx].componentNdx == (layerNdx + 2) % 4) in generate2DArrayCaseIterations() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 1767 int layerNdx; member 1780 …glu::TextureTestUtil::computeQuadTexCoord2DArray(res, m_iterations[iterationNdx].layerNdx, Vec2(-0… in computeQuadTexCoord() 1791 for (int layerNdx = -1; layerNdx < m_textureSize.z()+1; layerNdx++) in generateIterations() local 1794 if (layerNdx == 0) in generateIterations() 1800 m_iterations.back().layerNdx = layerNdx; in generateIterations() 1808 …if (isDepthFormat(m_textureFormat) || basicIterations[basicNdx].componentNdx == (layerNdx + 2) % 4) in generateIterations() 1812 m_iterations.back().layerNdx = layerNdx; in generateIterations() 1842 for (int layerNdx = 0; layerNdx < m_textureSize.z(); layerNdx++) in createAndUploadTexture() local 1843 …g << TestLog::Image("InputTextureLevel" + de::toString(layerNdx) + "Layer" + de::toString(layerNdx… in createAndUploadTexture() 1844 "Layer " + de::toString(layerNdx), in createAndUploadTexture() [all …]
|
D | es31fTessellationGeometryInteractionTests.cpp | 2152 bool verifyResultLayer (int layerNdx, const tcu::Surface& dst); 2488 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in renderTo() local 2490 gl.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_texture, 0, layerNdx); in renderTo() 2531 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in renderTo() local 2533 gl.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_texture, 0, layerNdx); in renderTo() 2534 glu::readPixels(m_context.getRenderContext(), 0, 0, dst[layerNdx].getAccess()); in renderTo() 2545 bool GridRenderCase::verifyResultLayer (int layerNdx, const tcu::Surface& image) in verifyResultLayer() argument 2552 …m_testCtx.getLog() << tcu::TestLog::Message << "Verifying output layer " << layerNdx << tcu::Test… in verifyResultLayer()
|
D | es31fTextureFormatTests.cpp | 110 bool testLayerFace (int layerNdx); 214 const int layerNdx = layerFaceNdx / 6; in testLayerFace() local 224 …ubeArray(texCoord, face, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f), tcu::Vec2((float)layerNdx)); in testLayerFace()
|
D | es31fPrimitiveBoundingBoxTests.cpp | 3927 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in init() local 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() 3931 …m_layers[layerNdx].color1 = (layerNdx == 0) ? (tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(0.0… in init() 3932 …m_layers[layerNdx].color2 = (layerNdx == 0) ? (tcu::Vec4(1.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(1.0… in init() 3992 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in iterate() local 3994 gl.uniform1f(depthBiasLocation, m_layers[layerNdx].zOffset); in iterate() 3995 gl.uniform1f(depthScaleLocation, m_layers[layerNdx].zScale); in iterate() 3996 gl.uniform4fv(color1Location, 1, m_layers[layerNdx].color1.getPtr()); in iterate() 3997 gl.uniform4fv(color2Location, 1, m_layers[layerNdx].color2.getPtr()); in iterate() [all …]
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 696 for (int layerNdx = 0; layerNdx < m_testParameters.numLayers; layerNdx++) in Texture2DArrayFilteringTestInstance() local 698 const tcu::IVec4 swz = levelSwz[layerNdx%DE_LENGTH_OF_ARRAY(levelSwz)]; in Texture2DArrayFilteringTestInstance() 703 …dients(getEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, layerNdx), tcu::Sampler::M… in Texture2DArrayFilteringTestInstance() 705 tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, layerNdx), gMin, gMax); in Texture2DArrayFilteringTestInstance() 712 for (int layerNdx = 0; layerNdx < m_testParameters.numLayers; layerNdx++) in Texture2DArrayFilteringTestInstance() local 715 const deUint32 rgb = step * (levelNdx + layerNdx*numLevels); in Texture2DArrayFilteringTestInstance() 720 …tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, layerNdx), tcu:… in Texture2DArrayFilteringTestInstance() 722 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, layerNdx), 4, tcu::RGBA(colorA).toVec()*cScale… in Texture2DArrayFilteringTestInstance()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureFilteringTests.cpp | 786 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in init() local 788 const tcu::IVec4 swz = levelSwz[layerNdx%DE_LENGTH_OF_ARRAY(levelSwz)]; in init() 792 …tcu::fillWithComponentGradients(tcu::getSubregion(levelBuf, 0, 0, layerNdx, levelBuf.getWidth(), l… in init() 803 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) in init() local 806 const deUint32 rgb = step * (levelNdx + layerNdx*numLevels); in init() 810 …tcu::fillWithGrid(tcu::getSubregion(levelBuf, 0, 0, layerNdx, levelBuf.getWidth(), levelBuf.getHei… in init()
|