/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | DepthStencilLoadOpTests.cpp | 99 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() local 102 expectedDepth.data(), expectedDepth.size(), 0.0001)) in CheckMipLevel() 109 std::vector<uint16_t> expectedDepth(mipSize * mipSize, in CheckMipLevel() local 111 EXPECT_TEXTURE_EQ(expectedDepth.data(), texture, {0, 0}, {mipSize, mipSize}, in CheckMipLevel() 115 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() local 116 EXPECT_TEXTURE_EQ(expectedDepth.data(), texture, {0, 0}, {mipSize, mipSize}, in CheckMipLevel() 134 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() local 136 mipLevel, expectedDepth) in CheckMipLevel()
|
D | SubresourceRenderAttachmentTests.cpp | 42 float expectedDepth = 0.3f; in DoSingleTest() local 59 renderPass.cDepthStencilAttachmentInfo.clearDepth = expectedDepth; in DoSingleTest() 87 std::vector<float> expected(renderTargetSize * renderTargetSize, expectedDepth); in DoSingleTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 1112 float expectedDepth = clearValue; in verifyTestResult() local 1120 expectedDepth = 2 * (vertex->position.z() / vertex->position.w()) - 1.0f; in verifyTestResult() 1122 expectedDepth *= m_param.viewportMaxDepth; in verifyTestResult() 1127 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult() 1129 …expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult() 1131 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult() 1134 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult() 1143 …float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth… in verifyTestResult() local 1147 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult() 1149 …expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult() [all …]
|
D | vktPipelineExtendedDynamicStateTests.cpp | 819 float expectedDepth; member 867 , expectedDepth (1.0f) in TestConfig() 2479 const auto minDepth = m_testConfig.expectedDepth - dsFormatInfo->depthThreshold; in iterate() 2480 const auto maxDepth = m_testConfig.expectedDepth + dsFormatInfo->depthThreshold; in iterate() 2957 config.expectedDepth = 0.25f; in createExtendedDynamicStateTests() 2973 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests() 3011 config.expectedDepth = 0.75f; in createExtendedDynamicStateTests() 3049 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests() 3079 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests() 3087 config.expectedDepth = 0.25f; in createExtendedDynamicStateTests() [all …]
|
D | vktPipelineColorWriteEnableTests.cpp | 169 float expectedDepth; member 180 , expectedDepth (1.0f) in TestConfig() 1004 const auto minDepth = m_testConfig.expectedDepth - 1.0e-07f; in iterate() 1005 const auto maxDepth = m_testConfig.expectedDepth + 1.0e-07f; in iterate() 1099 config.expectedDepth = 0.25f; in AddSingleTestCaseStatic() 1143 config.expectedDepth = 0.25f; in AddSingleTestCaseDynamic()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | BuiltinVariableTest.cpp | 250 void CheckDepthWritten(float expectedDepth, float fsDepth) in CheckDepthWritten() argument 259 glClearDepthf(expectedDepth); in CheckDepthWritten()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | BuiltinVariableTest.cpp | 247 void CheckDepthWritten(float expectedDepth, float fsDepth) in CheckDepthWritten() argument 256 glClearDepthf(expectedDepth); in CheckDepthWritten()
|
D | GeometryShaderTest.cpp | 77 const float expectedDepth[], 1064 const float expectedDepth[], in verifyLayeredFramebufferDepthStencil() argument 1110 drawQuad(drawColor, essl1_shaders::PositionAttrib(), expectedDepth[layer] * 2 - 1 - 0.01f); in verifyLayeredFramebufferDepthStencil() 1114 drawQuad(drawColor, essl1_shaders::PositionAttrib(), expectedDepth[layer] * 2 - 1 + 0.01f); in verifyLayeredFramebufferDepthStencil()
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.h | 455 std::vector<float> expectedDepth, 464 std::vector<float> expectedDepth) { in ExpectAttachmentDepthTestData() argument 466 mipLevel, std::move(expectedDepth), nullptr); in ExpectAttachmentDepthTestData()
|
D | DawnTest.cpp | 1284 std::vector<float> expectedDepth, in ExpectAttachmentDepthStencilTestData() argument 1296 if (expectedDepth.size() > 0) { in ExpectAttachmentDepthStencilTestData() 1312 queue.WriteTexture(&imageCopyTexture, expectedDepth.data(), in ExpectAttachmentDepthStencilTestData() 1313 sizeof(float) * expectedDepth.size(), &textureDataLayout, ©Extent); in ExpectAttachmentDepthStencilTestData()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawMultipleClearsWithinRenderPass.cpp | 175 float expectedDepth; member 585 const float difference = m_params.expectedDepth - resultImage.getPixDepth(x,y,z); in iterate() 589 …msg << "Depth value mismatch, expected: " << m_params.expectedDepth << ", got: " << resultImage.ge… in iterate()
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | framework.dart | 2988 final int expectedDepth = parentDepth + 1; 2989 if (_depth < expectedDepth) { 2990 _depth = expectedDepth; 2992 child._updateDepth(expectedDepth);
|