/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureGatherTests.cpp | 1742 int layerNdx; 1755 gls::TextureTestUtil::computeQuadTexCoord2DArray(res, m_iterations[iterationNdx].layerNdx, Vec2(-0.3f, -0.4f), Vec2(1.5f, 1.6f)); 1766 for (int layerNdx = -1; layerNdx < m_textureSize.z()+1; layerNdx++) 1769 if (layerNdx == 0) 1775 m_iterations.back().layerNdx = layerNdx; 1783 if (isDepthFormat(m_textureFormat) || basicIterations[basicNdx].componentNdx == (layerNdx + 2) % 4) 1787 m_iterations.back().layerNdx [all...] |
H A D | es31fTessellationGeometryInteractionTests.cpp | 2105 bool verifyResultLayer (int layerNdx, const tcu::Surface& dst); 2437 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) 2439 gl.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_texture, 0, layerNdx); 2480 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) 2482 gl.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_texture, 0, layerNdx); 2483 glu::readPixels(m_context.getRenderContext(), 0, 0, dst[layerNdx] [all...] |
H A D | es31fTextureFormatTests.cpp | 86 bool testLayerFace (int layerNdx); 183 const int layerNdx = layerFaceNdx / 6; local 193 computeQuadTexCoordCubeArray(texCoord, face, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f), tcu::Vec2((float)layerNdx));
|
H A D | es31fPrimitiveBoundingBoxTests.cpp | 3605 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) 3607 m_layers[layerNdx].zOffset = ((float)layerNdx / m_numLayers) * 2.0f - 1.0f; 3608 m_layers[layerNdx].zScale = (2.0f / m_numLayers); 3609 m_layers[layerNdx].color1 = (layerNdx == 0) ? (tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f)); 3610 m_layers[layerNdx].color2 = (layerNdx [all...] |
H A D | es31fGeometryShaderTests.cpp | 2583 bool verifyLayerContent (const tcu::Surface& layer, int layerNdx); 2758 for (int layerNdx = 2; layerNdx < m_numLayers; ++layerNdx) 2760 const tcu::ScopedLogSection section (m_testCtx.getLog(), "VerifyLayer", "Verify layer " + de::toString(layerNdx)); 2764 sampleTextureLayer(layer, layerNdx); 2774 const int layerNdx = m_iteration - 2; local 2775 const tcu::ScopedLogSection section (m_testCtx.getLog(), "VerifyLayer", "Verify layer " + de::toString(layerNdx)); 2779 sampleTextureLayer(layer, layerNdx); 2782 m_allLayersOk &= verifyLayerContent(layer, layerNdx); 3314 verifyLayerContent(const tcu::Surface& layer, int layerNdx) argument [all...] |
H A D | es31fShaderImageLoadStoreTests.cpp | 1206 for (int layerNdx = 0; layerNdx < numSlicesOrFaces; layerNdx++) 1208 if (layerNdx > 0) 1211 uniforms.assign1i("u_layerNdx", layerNdx); 1213 glLog.glBindImageTexture(0, *texture, 0, GL_FALSE, layerNdx, GL_WRITE_ONLY, internalFormatGL); 1456 for (int layerNdx = 0; layerNdx < numSlicesOrFaces; layerNdx++) 1458 if (layerNdx > [all...] |
H A D | es31fTextureSpecificationTests.cpp | 267 const int layerNdx = layerFaceNdx / 6; local 271 shader.setLayer(layerNdx);
|
/external/deqp/modules/gles31/stress/ |
H A D | es31sTessellationGeometryInteractionTests.cpp | 79 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 D | es3fTextureFilteringTests.cpp | 760 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) 762 const tcu::IVec4 swz = levelSwz[layerNdx%DE_LENGTH_OF_ARRAY(levelSwz)]; 766 tcu::fillWithComponentGradients(tcu::getSubregion(levelBuf, 0, 0, layerNdx, levelBuf.getWidth(), levelBuf.getHeight(), 1), gMin, gMax); 777 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) 780 const deUint32 rgb = step * (levelNdx + layerNdx*numLevels); 784 tcu::fillWithGrid(tcu::getSubregion(levelBuf, 0, 0, layerNdx, levelBu [all...] |
H A D | es3fTextureFormatTests.cpp | 431 bool testLayer (int layerNdx); 505 bool Texture2DArrayFormatCase::testLayer (int layerNdx) argument 522 computeQuadTexCoord2DArray(texCoord, layerNdx, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); 550 return compareImages(log, (string("Layer" + de::toString(layerNdx))).c_str(), (string("Layer " + de::toString(layerNdx))).c_str(), referenceFrame, renderedFrame, threshold);
|
H A D | es3fTextureSpecificationTests.cpp | 486 for (int layerNdx = 0; layerNdx < m_numLayers; layerNdx++) 490 shader.setLayer(layerNdx); 512 string layerStr = de::toString(layerNdx); 516 (levelNdx == 0 && layerNdx == 0) ? tcu::COMPARE_LOG_RESULT : tcu::COMPARE_LOG_ON_ERROR);
|
/external/deqp/modules/glshared/ |
H A D | glsTextureTestUtil.hpp | 371 void computeQuadTexCoord1DArray (std::vector<float>& dst, int layerNdx, float left, float right); 373 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
|
H A D | glsTextureTestUtil.cpp | 1480 void computeQuadTexCoord1DArray (std::vector<float>& dst, int layerNdx, float left, float right) argument 1484 dst[0] = left; dst[1] = (float)layerNdx; 1485 dst[2] = left; dst[3] = (float)layerNdx; 1486 dst[4] = right; dst[5] = (float)layerNdx; 1487 dst[6] = right; dst[7] = (float)layerNdx; 1500 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight) argument 1504 dst[0] = bottomLeft.x(); dst[ 1] = bottomLeft.y(); dst[ 2] = (float)layerNdx; 1505 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx; 1506 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx; 1507 dst[9] = topRight.x(); dst[10] = topRight.y(); dst[11] = (float)layerNdx; [all...] |
/external/deqp/framework/common/ |
H A D | tcuTexLookupVerifier.cpp | 1934 static void getCubeArrayLevelFaces (const TextureCubeArrayView& texture, const int levelNdx, const int layerNdx, ConstPixelBufferAccess (&out)[CUBEFACE_LAST]) argument 1937 const int layerDepth = layerNdx * 6; 1960 for (int layerNdx = layerRange.x(); layerNdx <= layerRange.y(); layerNdx++) 1973 getCubeArrayLevelFaces(texture, 0, layerNdx, faces); 2003 getCubeArrayLevelFaces(texture, levelNdx, layerNdx, faces0); 2004 getCubeArrayLevelFaces(texture, levelNdx + 1, layerNdx, faces1); 2022 getCubeArrayLevelFaces(texture, levelNdx, layerNdx, faces); 2031 getCubeArrayLevelFaces(texture, 0, layerNdx, face [all...] |