Home
last modified time | relevance | path

Searched refs:quadNdx (Results 1 – 14 of 14) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilTests.cpp726 for (int quadNdx = 0; quadNdx < StencilTest::QUAD_COUNT; quadNdx++) in StencilTestInstance() local
728 const StencilTest::StencilStateConfig& config = StencilTest::s_stencilStateConfigs[quadNdx]; in StencilTestInstance()
740 …m_graphicsPipelines[quadNdx] = createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelinePara… in StencilTestInstance()
766 for (int quadNdx = 0; quadNdx < 4; quadNdx++) in StencilTestInstance() local
768 m_vertices[quadNdx * 6 + vertexNdx].position.z() = StencilTest::s_quadDepths[quadNdx]; in StencilTestInstance()
856 for (int quadNdx = 0; quadNdx < StencilTest::QUAD_COUNT; quadNdx++) in StencilTestInstance() local
858 VkDeviceSize vertexBufferOffset = quadOffset * quadNdx; in StencilTestInstance()
860 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in StencilTestInstance()
944 for (int quadNdx = 0; quadNdx < StencilTest::QUAD_COUNT; quadNdx++) in verifyImage() local
946 refStencilFront.ref = (int)StencilTest::s_stencilStateConfigs[quadNdx].frontRef; in verifyImage()
[all …]
DvktPipelineDepthTests.cpp660 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in DepthTestInstance() local
662 depthStencilStateParams.depthCompareOp = depthCompareOps[quadNdx]; in DepthTestInstance()
663 …m_graphicsPipelines[quadNdx] = createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelinePa… in DepthTestInstance()
688 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in DepthTestInstance() local
690 m_vertices[quadNdx * 6 + vertexNdx].position.z() = DepthTest::quadDepths[quadNdx]; in DepthTestInstance()
768 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in DepthTestInstance() local
770 VkDeviceSize vertexBufferOffset = quadOffset * quadNdx; in DepthTestInstance()
772 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in DepthTestInstance()
826 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in verifyImage() local
831 renderState.fragOps.depthFunc = mapVkCompareOp(m_depthCompareOps[quadNdx]); in verifyImage()
[all …]
DvktPipelineBlendTests.cpp642 for (int quadNdx = 0; quadNdx < BlendTest::QUAD_COUNT; quadNdx++) in BlendTestInstance() local
645 colorBlendStateParams.pAttachments = &m_blendStates[quadNdx]; in BlendTestInstance()
646 …m_graphicsPipelines[quadNdx] = createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelinePa… in BlendTestInstance()
745 for (int quadNdx = 0; quadNdx < BlendTest::QUAD_COUNT; quadNdx++) in BlendTestInstance() local
747 VkDeviceSize vertexBufferOffset = quadOffset * quadNdx; in BlendTestInstance()
749 vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *m_graphicsPipelines[quadNdx]); in BlendTestInstance()
893 for (int quadNdx = 0; quadNdx < BlendTest::QUAD_COUNT; quadNdx++) in verifyImage() local
895 const VkPipelineColorBlendAttachmentState& blendState = m_blendStates[quadNdx]; in verifyImage()
907 …renderState.fragOps.colorMask = mapVkColorComponentFlags(BlendTest::s_colorWriteMasks[quadNdx]); in verifyImage()
911 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
[all …]
DvktPipelineVertexUtil.cpp711 for (int quadNdx = 0; quadNdx < 4; quadNdx++) in createOverlappingQuads() local
713 const Vec2& translation = translations[quadNdx]; in createOverlappingQuads()
714 const Vec4& color = quadColors[quadNdx]; in createOverlappingQuads()
873 for (int quadNdx = 0; quadNdx < 6; quadNdx++) in createQuadMosaicCube() local
877 vertexItr->texCoord.xyz() = texCoordsCube[texCoordCubeIndices[quadNdx][vertexNdx]]; in createQuadMosaicCube()
890 for (int quadNdx = 0; quadNdx < 6; quadNdx++) in createQuadMosaicCubeArray() local
894 vertexItr->texCoord.w() = (float)faceArrayIndices[quadNdx]; in createQuadMosaicCubeArray()
917 for (size_t quadNdx = 0; quadNdx < 6; quadNdx++) in createTestQuadMosaic() local
919 vertices[quadNdx * 6 + vertexNdx].texCoord.y() = (float)quadNdx; in createTestQuadMosaic()
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp343 for (int quadNdx = 0; quadNdx < gridSizeX*gridSizeY; quadNdx++) in computeIndices() local
345 int v00 = quadNdx*4 + 0; in computeIndices()
346 int v01 = quadNdx*4 + 1; in computeIndices()
347 int v10 = quadNdx*4 + 2; in computeIndices()
348 int v11 = quadNdx*4 + 3; in computeIndices()
352 indices[quadNdx*6 + 0] = (deUint16)v10; in computeIndices()
353 indices[quadNdx*6 + 1] = (deUint16)v00; in computeIndices()
354 indices[quadNdx*6 + 2] = (deUint16)v01; in computeIndices()
356 indices[quadNdx*6 + 3] = (deUint16)v10; in computeIndices()
357 indices[quadNdx*6 + 4] = (deUint16)v01; in computeIndices()
[all …]
Des2fMultisampleTests.cpp692 for (int quadNdx = 0; quadNdx < 8; quadNdx++) in iterate() local
694 …Vec2 center = (2.0f-quadDiagLen) * Vec2((float)(quadNdx%3), (float)(quadNdx/3)) / 2.0f - 0.5f*(2.0… in iterate()
696 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
697 corners[(1+quadNdx) % 4] + center, in iterate()
698 corners[(2+quadNdx) % 4] + center, in iterate()
701 if (quadNdx >= 4) in iterate()
703 renderTriangle(corners[(3+quadNdx) % 4] + center, in iterate()
704 corners[(2+quadNdx) % 4] + center, in iterate()
705 corners[(0+quadNdx) % 4] + center, in iterate()
710 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
[all …]
/external/deqp/modules/glshared/
DglsBufferTestUtil.cpp504 for (int quadNdx = 0; quadNdx < gridSizeX*gridSizeY; quadNdx++) in computeIndices() local
506 int v00 = quadNdx*4 + 0; in computeIndices()
507 int v01 = quadNdx*4 + 1; in computeIndices()
508 int v10 = quadNdx*4 + 2; in computeIndices()
509 int v11 = quadNdx*4 + 3; in computeIndices()
513 indices[quadNdx*6 + 0] = (deUint16)v10; in computeIndices()
514 indices[quadNdx*6 + 1] = (deUint16)v00; in computeIndices()
515 indices[quadNdx*6 + 2] = (deUint16)v01; in computeIndices()
517 indices[quadNdx*6 + 3] = (deUint16)v10; in computeIndices()
518 indices[quadNdx*6 + 4] = (deUint16)v01; in computeIndices()
[all …]
DglsRandomShaderCase.cpp208 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in init() local
210 int quadY = quadNdx / (m_gridWidth); in init()
211 int quadX = quadNdx - quadY*m_gridWidth; in init()
213 m_indices[quadNdx*6+0] = (deUint16)(quadX + quadY*(m_gridWidth+1)); in init()
214 m_indices[quadNdx*6+1] = (deUint16)(quadX + (quadY+1)*(m_gridWidth+1)); in init()
215 m_indices[quadNdx*6+2] = (deUint16)(quadX + quadY*(m_gridWidth+1) + 1); in init()
216 m_indices[quadNdx*6+3] = (deUint16)(m_indices[quadNdx*6+2]); in init()
217 m_indices[quadNdx*6+4] = (deUint16)(m_indices[quadNdx*6+1]); in init()
218 m_indices[quadNdx*6+5] = (deUint16)(quadX + (quadY+1)*(m_gridWidth+1) + 1); in init()
DglsVertexArrayTests.cpp1509 for (int quadNdx = 0; quadNdx < count; quadNdx++) in createQuadsPacked() local
1528 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 0]), val1); in createQuadsPacked()
1529 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 1]), val2); in createQuadsPacked()
1530 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 2]), val3); in createQuadsPacked()
1531 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 3]), val4); in createQuadsPacked()
1532 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 4]), val5); in createQuadsPacked()
1533 alignmentSafeAssignment<deUint32>(&(resultData[quadNdx * quadStride + stride * 5]), val6); in createQuadsPacked()
1591 for (int quadNdx = 0; quadNdx < count; ++quadNdx) in createQuads() local
1622 alignmentSafeAssignment<T>(&(resultData[quadNdx * quadStride]), x1); in createQuads()
1623 alignmentSafeAssignment<T>(&(resultData[quadNdx * quadStride + componentStride]), y1); in createQuads()
[all …]
DglsShaderPerformanceMeasurer.cpp108 int quadNdx = y*gridSizeX + x; in generateIndices() local
110 dst[quadNdx*numIndicesPerQuad + 0] = getVtxIndex(x+0, y+0, gridSizeX); in generateIndices()
111 dst[quadNdx*numIndicesPerQuad + 1] = getVtxIndex(x+1, y+0, gridSizeX); in generateIndices()
112 dst[quadNdx*numIndicesPerQuad + 2] = getVtxIndex(x+0, y+1, gridSizeX); in generateIndices()
114 dst[quadNdx*numIndicesPerQuad + 3] = getVtxIndex(x+0, y+1, gridSizeX); in generateIndices()
115 dst[quadNdx*numIndicesPerQuad + 4] = getVtxIndex(x+1, y+0, gridSizeX); in generateIndices()
116 dst[quadNdx*numIndicesPerQuad + 5] = getVtxIndex(x+1, y+1, gridSizeX); in generateIndices()
/external/deqp/modules/gles31/functional/
Des31fAdvancedBlendTests.cpp430 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in iterate() local
432 std::copy(DE_ARRAY_BEGIN(singleQuadPos), DE_ARRAY_END(singleQuadPos), &positions[quadNdx*4]); in iterate()
434 indices[quadNdx*6 + ndx] = (deUint16)(quadNdx*4 + singleQuadIndices[ndx]); in iterate()
478 for (int quadNdx = 1; quadNdx < numQuads; quadNdx++) in iterate() local
480 …gl.drawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, (const void*)(deUintptr)(quadNdx*6*sizeof(deUi… in iterate()
508 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in iterate() local
510 referenceState.blendMode = quadNdx == 0 ? rr::BLENDMODE_NONE : rr::BLENDMODE_ADVANCED; in iterate()
511 std::copy(&colors[4*quadNdx], &colors[4*quadNdx] + 4, &quad.color[0]); in iterate()
/external/deqp/modules/gles3/functional/
Des3fMultisampleTests.cpp854 for (int quadNdx = 0; quadNdx < 8; quadNdx++) in iterate() local
856 …Vec2 center = (2.0f-quadDiagLen) * Vec2((float)(quadNdx%3), (float)(quadNdx/3)) / 2.0f - 0.5f*(2.0… in iterate()
858 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
859 corners[(1+quadNdx) % 4] + center, in iterate()
860 corners[(2+quadNdx) % 4] + center, in iterate()
863 if (quadNdx >= 4) in iterate()
865 renderTriangle(corners[(3+quadNdx) % 4] + center, in iterate()
866 corners[(2+quadNdx) % 4] + center, in iterate()
867 corners[(0+quadNdx) % 4] + center, in iterate()
872 renderTriangle(corners[(0+quadNdx) % 4] + center, in iterate()
[all …]
Des3fFragmentOutputTests.cpp595 for (int quadNdx = 0; quadNdx < numQuads; quadNdx++) in iterate() local
597 int quadY = quadNdx / (gridWidth-1); in iterate()
598 int quadX = quadNdx - quadY*(gridWidth-1); in iterate()
600 indices[quadNdx*6+0] = deUint16(quadX + quadY*gridWidth); in iterate()
601 indices[quadNdx*6+1] = deUint16(quadX + (quadY+1)*gridWidth); in iterate()
602 indices[quadNdx*6+2] = deUint16(quadX + quadY*gridWidth + 1); in iterate()
603 indices[quadNdx*6+3] = indices[quadNdx*6+1]; in iterate()
604 indices[quadNdx*6+4] = deUint16(quadX + (quadY+1)*gridWidth + 1); in iterate()
605 indices[quadNdx*6+5] = indices[quadNdx*6+2]; in iterate()
Des3fShaderBuiltinVarTests.cpp830 const int quadNdx = triNdx/2; in init() local
831 const int quadY = quadNdx/maxQuadsX; in init()
832 const int quadX = quadNdx%maxQuadsX; in init()