• Home
  • Raw
  • Download

Lines Matching refs:quadNdx

728 		for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++)  local
730 depthStencilStateParams.depthCompareOp = depthCompareOps[quadNdx];
732 m_graphicsPipelines[quadNdx].setDefaultMultisampleState()
757 m_altGraphicsPipelines[quadNdx].setDefaultMultisampleState()
780 m_altGraphicsPipelines[quadNdx].setDefaultMultisampleState()
834 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) local
837 …rtices[quadNdx * 6 + vertexNdx].position.z() = (hasDepthClipControl ? DepthTest::quadDepthsMinusOn…
840 const float w = DepthTest::quadWs[quadNdx];
841 m_vertices[quadNdx * 6 + vertexNdx].position.x() *= w;
842 m_vertices[quadNdx * 6 + vertexNdx].position.y() *= w;
843 m_vertices[quadNdx * 6 + vertexNdx].position.z() *= w;
844 m_vertices[quadNdx * 6 + vertexNdx].position.w() = w;
848 m_altVertices[quadNdx * 6 + vertexNdx].position = m_vertices[quadNdx * 6 + vertexNdx].position;
849 float z = m_altVertices[quadNdx * 6 + vertexNdx].position.z();
850 float w = m_altVertices[quadNdx * 6 + vertexNdx].position.w();
851 if (depthCompareOps[quadNdx] == vk::VK_COMPARE_OP_NOT_EQUAL ||
852 depthCompareOps[quadNdx] == vk::VK_COMPARE_OP_LESS ||
853 depthCompareOps[quadNdx] == vk::VK_COMPARE_OP_LESS_OR_EQUAL)
857 else if (depthCompareOps[quadNdx] == vk::VK_COMPARE_OP_GREATER ||
858 depthCompareOps[quadNdx] == vk::VK_COMPARE_OP_GREATER_OR_EQUAL)
862 m_altVertices[quadNdx * 6 + vertexNdx].position.z() = (z + w) * 0.5f;
943 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) local
945 VkDeviceSize vertexBufferOffset = quadOffset * quadNdx;
947 …if (m_depthClipControl == DepthClipControlCase::NORMAL_W && depthCompareOps[quadNdx] != vk::VK_COM…
949 …line(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, m_altGraphicsPipelines[quadNdx].getPipeline());
962 …line(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, m_altGraphicsPipelines[quadNdx].getPipeline());
963 …vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, m_graphicsPipelines[quadNdx].get…
1007 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in verifyImage() local
1012 renderState.fragOps.depthFunc = mapVkCompareOp(m_depthCompareOps[quadNdx]); in verifyImage()
1022 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
1023 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
1135 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in getCompareOpsName() local
1137 const std::string fullOpName = getCompareOpName(quadDepthOps[quadNdx]); in getCompareOpsName()
1143 if (quadNdx < DepthTest::QUAD_COUNT - 1) in getCompareOpsName()
1155 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in getCompareOpsDescription() local
1157 desc << getCompareOpName(quadDepthOps[quadNdx]) << " at depth " << DepthTest::quadDepths[quadNdx]; in getCompareOpsDescription()
1159 if (quadNdx < DepthTest::QUAD_COUNT - 1) in getCompareOpsDescription()