Searched defs:layerNdx (Results 1 - 12 of 12) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationGeometryGridRenderTests.cpp481 bool verifyResultLayer (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& image, const int layerNdx) argument
488 log << tcu::TestLog::Message << "Verifying output layer " << layerNdx << tcu::TestLog::EndMessage;
/external/deqp/modules/gles31/functional/
H A Des31fTextureFormatTests.cpp108 bool testLayerFace (int layerNdx);
207 const int layerNdx = layerFaceNdx / 6; local
217 computeQuadTexCoordCubeArray(texCoord, face, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f), tcu::Vec2((float)layerNdx));
H A Des31fTextureSpecificationTests.cpp269 const int layerNdx = layerFaceNdx / 6; local
273 shader.setLayer(layerNdx);
H A Des31fGeometryShaderTests.cpp2703 bool verifyLayerContent (const tcu::Surface& layer, int layerNdx);
2878 for (int layerNdx = 2; layerNdx < m_numLayers; ++layerNdx)
2880 const tcu::ScopedLogSection section (m_testCtx.getLog(), "VerifyLayer", "Verify layer " + de::toString(layerNdx));
2884 sampleTextureLayer(layer, layerNdx);
2894 const int layerNdx = m_iteration - 2; local
2895 const tcu::ScopedLogSection section (m_testCtx.getLog(), "VerifyLayer", "Verify layer " + de::toString(layerNdx));
2899 sampleTextureLayer(layer, layerNdx);
2902 m_allLayersOk &= verifyLayerContent(layer, layerNdx);
3437 verifyLayerContent(const tcu::Surface& layer, int layerNdx) argument
[all...]
/external/deqp/modules/gles31/stress/
H A Des31sTessellationGeometryInteractionTests.cpp79 bool verifyResultLayer (int layerNdx, const tcu::Surface& dst);
379 bool GridRenderCase::verifyResultLayer (int layerNdx, const tcu::Surface& image) argument
386 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying output layer " << layerNdx << tcu::TestLog::EndMessage;
/external/deqp/modules/gles3/functional/
H A Des3fTextureFormatTests.cpp458 bool testLayer (int layerNdx);
537 bool Texture2DArrayFormatCase::testLayer (int layerNdx) argument
554 computeQuadTexCoord2DArray(texCoord, layerNdx, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
582 return compareImages(log, (string("Layer" + de::toString(layerNdx))).c_str(), (string("Layer " + de::toString(layerNdx))).c_str(), referenceFrame, renderedFrame, threshold);
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryLayeredRenderingTests.cpp548 bool verifyLayerContent (tcu::TestLog& log, const TestType testType, const tcu::ConstPixelBufferAccess image, const int layerNdx, const int numLayers) argument
552 const float variableBarRatio = static_cast<float>(layerNdx) / static_cast<float>(numLayers);
557 if (layerNdx == 0)
563 if (layerNdx == targetLayer)
570 return verifyImageSingleColoredRow(log, image, 0.5f, s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colors)]);
574 if (layerNdx == 0)
582 const tcu::Vec4 layerColor( (layerNdx % 2) == 1 ? 1.0f : 0.5f,
583 ((layerNdx/2) % 2) == 1 ? 1.0f : 0.5f,
584 layerNdx == 0 ? 1.0f : 0.0f,
616 for (int layerNdx
[all...]
/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageLoadStoreTests.cpp109 for (int layerNdx = 0; layerNdx < numLayersOrSlices; ++layerNdx)
111 const std::string comparisonName = "Comparison" + de::toString(layerNdx);
113 (isCube(texture) ? "face " + de::toString(layerNdx % numCubeFaces) + ", cube " + de::toString(layerNdx / numCubeFaces) :
114 is3d ? "slice " + de::toString(layerNdx) : "layer " + de::toString(layerNdx));
116 const tcu::ConstPixelBufferAccess refLayer = getLayerOrSlice(texture, reference, layerNdx);
117 const tcu::ConstPixelBufferAccess resultLayer = getLayerOrSlice(texture, result, layerNdx);
667 commandBindDescriptorsForLayer(const VkCommandBuffer cmdBuffer, const VkPipelineLayout pipelineLayout, const int layerNdx) argument
766 commandBindDescriptorsForLayer(const VkCommandBuffer cmdBuffer, const VkPipelineLayout pipelineLayout, const int layerNdx) argument
1064 commandBindDescriptorsForLayer(const VkCommandBuffer cmdBuffer, const VkPipelineLayout pipelineLayout, const int layerNdx) argument
1200 commandBindDescriptorsForLayer(const VkCommandBuffer cmdBuffer, const VkPipelineLayout pipelineLayout, const int layerNdx) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderTests.cpp867 for (deUint32 layerNdx = 0u; layerNdx < m_parameters.extent.depth; layerNdx++)
869 tcu::ConstPixelBufferAccess ref (mapVkFormat(m_colorFormat), m_parameters.extent.width, m_parameters.extent.height, 1u, referenceFrame->getLevel(0).getPixelPtr(0, 0, layerNdx));
870 tcu::ConstPixelBufferAccess dst (mapVkFormat(m_colorFormat), m_parameters.extent.width, m_parameters.extent.height, 1u, renderedFrame.getPixelPtr(0 ,0, layerNdx));
887 int layerNdx = 0; local
913 ColorDataRGBA* dataSrc = (ColorDataRGBA*)referenceFrame->getLevel(0).getPixelPtr(0, 0, layerNdx);
934 (TEST_TYPE_INSTANCED_RENDERING == m_parameters.viewIndex) ? m_data[0].color + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.10f, 0.10f, 0.0) :
935 (TEST_TYPE_INPUT_RATE_INSTANCE == m_parameters.viewIndex) ? m_data[colorNdx / 4].color + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.10f, 0.10f, 0.0) :
936 m_data[colorNdx].color + tcu::Vec4(0.0, static_cast<float>(layerNdx) * 0.1
[all...]
/external/deqp/framework/opengl/
H A DgluTextureTestUtil.cpp1009 void computeQuadTexCoord1DArray (std::vector<float>& dst, int layerNdx, float left, float right) argument
1013 dst[0] = left; dst[1] = (float)layerNdx;
1014 dst[2] = left; dst[3] = (float)layerNdx;
1015 dst[4] = right; dst[5] = (float)layerNdx;
1016 dst[6] = right; dst[7] = (float)layerNdx;
1029 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument
1033 dst[0] = bottomLeft.x(); dst[ 1] = bottomLeft.y(); dst[ 2] = (float)layerNdx;
1034 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx;
1035 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx;
1036 dst[9] = topRight.x(); dst[10] = topRight.y(); dst[11] = (float)layerNdx;
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp109 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument
113 dst[0] = bottomLeft.x(); dst[ 1] = bottomLeft.y(); dst[ 2] = (float)layerNdx;
114 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx;
115 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx;
116 dst[9] = topRight.x(); dst[10] = topRight.y(); dst[11] = (float)layerNdx;
1819 int layerNdx; member in struct:vkt::sr::__anon4525::Gather2DArrayArgs
1833 for (int layerNdx = -1; layerNdx < textureSize.z()+1; layerNdx++)
1836 if (layerNdx
[all...]
/external/deqp/framework/common/
H A DtcuTexLookupVerifier.cpp2001 static void getCubeArrayLevelFaces (const TextureCubeArrayView& texture, const int levelNdx, const int layerNdx, ConstPixelBufferAccess (&out)[CUBEFACE_LAST]) argument
2004 const int layerDepth = layerNdx * 6;
2027 for (int layerNdx = layerRange.x(); layerNdx <= layerRange.y(); layerNdx++)
2040 getCubeArrayLevelFaces(texture, 0, layerNdx, faces);
2070 getCubeArrayLevelFaces(texture, levelNdx, layerNdx, faces0);
2071 getCubeArrayLevelFaces(texture, levelNdx + 1, layerNdx, faces1);
2089 getCubeArrayLevelFaces(texture, levelNdx, layerNdx, faces);
2098 getCubeArrayLevelFaces(texture, 0, layerNdx, face
[all...]

Completed in 287 milliseconds