Lines Matching defs:depth
21 * \brief Depth & stencil tests.
105 float depth;
113 , depth (0.0f)
125 << " depth fail = " << glu::getStencilOpStr(params.depthFailOp) << "\n"
126 << " depth pass = " << glu::getStencilOpStr(params.depthPassOp) << "\n"
144 log << TestLog::Message << "Depth test: " << (params.depthTestEnabled ? "enabled" : "disabled") << TestLog::EndMessage;
148 " depth value = " << params.depth << "\n"
164 // \note No depth here - don't use clears for setting depth values; use quad rendering instead. Cleared depths are in [0, 1] to begin with,
165 // whereas rendered depths are given in [-1, 1] and then mapped to [0, 1]; this discrepancy could cause precision issues in depth tests.
271 // Compute depth values
298 renderCmd.params.depth = depthValues[y1*numL1CellsX + x1];;
327 cmd.params.depth = depthSteps[ndx]+epsilon;
391 std::fill(DE_ARRAY_BEGIN(dst.quad.depth), DE_ARRAY_END(dst.quad.depth), ((far-near)/2.0f) * src.params.depth + (near+far)/2.0f);
475 std::fill(DE_ARRAY_BEGIN(quad.depth), DE_ARRAY_END(quad.depth), command.params.depth);
633 " BLUE: depth values"
716 : TestCaseGroup(context, "depth_stencil", "Depth and Stencil Op Tests")
776 params.depth = rnd.choose<float>(DE_ARRAY_BEGIN(depthValues), DE_ARRAY_END(depthValues));
824 float depth;
833 // All combinations of depth stencil functions.
835 tcu::TestCaseGroup* functionsGroup = new tcu::TestCaseGroup(m_testCtx, "stencil_depth_funcs", "Combinations of Depth and Stencil Functions");
840 // One extra: depth test disabled.
870 params.depth = functionCases[ndx].depth;
930 params.depth = 0.0f;
972 tcu::TestCaseGroup* writeMaskGroup = new tcu::TestCaseGroup(m_testCtx, "write_mask", "Depth and Stencil Write Masks");
975 // Depth mask
980 params.depth = 0.0f;
1002 // Case 1: front, depth write enabled
1007 // Case 2: front, depth write disabled
1012 // Case 3: back, depth write enabled
1017 // Case 4: back, depth write disabled
1022 writeMaskGroup->addChild(new DepthStencilCase(m_context, "depth", "Depth Write Mask", cases));
1047 params.depth = 0.0f;
1078 // Depth & stencil write masks.
1105 params.depth = 0.0f;
1134 writeMaskGroup->addChild(new DepthStencilCase(m_context, "both", "Depth and Stencil Write Masks", cases));
1140 tcu::TestCaseGroup* randomGroup = new tcu::TestCaseGroup(m_testCtx, "random", "Randomized Depth and Stencil Test Cases");