Lines Matching refs:DepthTest
118 class DepthTest : public vkt::TestCase class
130 DepthTest (tcu::TestContext& testContext,
145 virtual ~DepthTest (void);
171 const VkCompareOp depthCompareOps[DepthTest::QUAD_COUNT],
189 VkCompareOp m_depthCompareOps[DepthTest::QUAD_COUNT];
225 GraphicsPipelineWrapper m_graphicsPipelines[DepthTest::QUAD_COUNT];
226 GraphicsPipelineWrapper m_altGraphicsPipelines[DepthTest::QUAD_COUNT];
232 const float DepthTest::quadDepths[QUAD_COUNT] =
241 const float DepthTest::quadDepthsMinusOneToOne[QUAD_COUNT] =
249 const float DepthTest::quadWs[QUAD_COUNT] =
257 DepthTest::DepthTest (tcu::TestContext& testContext, in DepthTest() function in vkt::pipeline::__anon162cf4b50111::DepthTest
288 DepthTest::~DepthTest (void) in ~DepthTest()
292 void DepthTest::checkSupport (Context& context) const in checkSupport()
311 TestInstance* DepthTest::createInstance (Context& context) const in createInstance()
316 void DepthTest::initPrograms (SourceCollections& programCollection) const in initPrograms()
358 const VkCompareOp depthCompareOps[DepthTest::QUAD_COUNT], in DepthTestInstance()
407 deMemcpy(m_depthCompareOps, depthCompareOps, sizeof(VkCompareOp) * DepthTest::QUAD_COUNT);
728 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++)
834 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++)
837 …vertexNdx].position.z() = (hasDepthClipControl ? DepthTest::quadDepthsMinusOneToOne[quadNdx] : Dep…
840 const float w = DepthTest::quadWs[quadNdx];
941 const VkDeviceSize quadOffset = (m_vertices.size() / DepthTest::QUAD_COUNT) * sizeof(Vertex4RGBA);
943 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++)
951 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_altVertices.size() / DepthTest::QUAD_COUNT), 1, 0, 0);
971 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / DepthTest::QUAD_COUNT), 1, 0, 0);
1007 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in verifyImage()
1131 std::string getCompareOpsName (const VkCompareOp quadDepthOps[DepthTest::QUAD_COUNT]) in getCompareOpsName()
1135 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in getCompareOpsName()
1143 if (quadNdx < DepthTest::QUAD_COUNT - 1) in getCompareOpsName()
1150 std::string getCompareOpsDescription (const VkCompareOp quadDepthOps[DepthTest::QUAD_COUNT]) in getCompareOpsDescription()
1153 desc << "Draws " << DepthTest::QUAD_COUNT << " quads with depth compare ops: "; in getCompareOpsDescription()
1155 for (int quadNdx = 0; quadNdx < DepthTest::QUAD_COUNT; quadNdx++) in getCompareOpsDescription()
1157 desc << getCompareOpName(quadDepthOps[quadNdx]) << " at depth " << DepthTest::quadDepths[quadNdx]; in getCompareOpsDescription()
1159 if (quadNdx < DepthTest::QUAD_COUNT - 1) in getCompareOpsDescription()
1182 const VkCompareOp depthOps[][DepthTest::QUAD_COUNT] = in createDepthTests()
1325 compareOpsTests->addChild(new DepthTest(testCtx, in createDepthTests()
1337 compareOpsTests->addChild(new DepthTest(testCtx, in createDepthTests()
1355 …const VkCompareOp depthOpsSpecial[DepthTest::QUAD_COUNT] = { VK_COMPARE_OP_NEVER, VK_COMPARE_OP_NE… in createDepthTests()
1357 compareOpsTests->addChild(new DepthTest(testCtx, in createDepthTests()
1377 …const VkCompareOp depthOpsDepthTestDisabled[DepthTest::QUAD_COUNT] = { VK_COMPARE_OP_NEVER, VK_COM… in createDepthTests()
1378 depthTestDisabled->addChild(new DepthTest(testCtx, in createDepthTests()
1430 const VkCompareOp ops[DepthTest::QUAD_COUNT] = { compareOp, compareOp, compareOp, compareOp }; in createDepthTests()
1431 …depthClipControlTests->addChild(new DepthTest(testCtx, testName, "", pipelineConstructionType, for… in createDepthTests()